Releases: F4RAN/cuimp-ts
v2.0.2
What's Changed
- chore: Increase version (78850f0)
Installation Methods
Recommended: Install directly from GitHub
npm will automatically build from source (via prepare script):
npm install github:F4RAN/cuimp-ts#v2.0.2Or in package.json:
{
"dependencies": {
"cuimp": "github:F4RAN/cuimp-ts#v2.0.2"
}
}Alternative: Manual installation (pre-built)
If you don't want automatic building, download cuimp-ts-v2.0.2.tar.gz (includes dist):
wget https://github.com/F4RAN/cuimp-ts/releases/download/v2.0.2/cuimp-ts-v2.0.2.tar.gz
tar -xzf cuimp-ts-v2.0.2.tar.gz -C ./cuimp
npm install ./cuimpv2.0.1
What's Changed
- Update README.md (6f9dd5c)
Installation Methods
Recommended: Install directly from GitHub
npm will automatically build from source (via prepare script):
npm install github:F4RAN/cuimp-ts#v2.0.1Or in package.json:
{
"dependencies": {
"cuimp": "github:F4RAN/cuimp-ts#v2.0.1"
}
}Alternative: Manual installation (pre-built)
If you don't want automatic building, download cuimp-ts-v2.0.1.tar.gz (includes dist):
wget https://github.com/F4RAN/cuimp-ts/releases/download/v2.0.1/cuimp-ts-v2.0.1.tar.gz
tar -xzf cuimp-ts-v2.0.1.tar.gz -C ./cuimp
npm install ./cuimpv2.0.0
What's Changed
- Merge pull request #42 from taina0407/main (fca8336)
- iOS and Android support #40 #45
- curl-impersonate Alpha version predicted problem #43
Installation Methods
Recommended: Install directly from GitHub
npm will automatically build from source (via prepare script):
npm install github:F4RAN/cuimp-ts#v2.0.0Or in package.json:
{
"dependencies": {
"cuimp": "github:F4RAN/cuimp-ts#v2.0.0"
}
}Alternative: Manual installation (pre-built)
If you don't want automatic building, download cuimp-ts-v2.0.0.tar.gz (includes dist):
wget https://github.com/F4RAN/cuimp-ts/releases/download/v2.0.0/cuimp-ts-v2.0.0.tar.gz
tar -xzf cuimp-ts-v2.0.0.tar.gz -C ./cuimp
npm install ./cuimpv1.10.0
What's Changed
- release: proxy, and linux problem solved (076da1a)
Proxy in CuimpOptions: You can set a default proxy when creating the client with createCuimpHttp({ proxy: '...' }); all requests use it unless overridden per request. Thanks @hexiro for the suggestion (#38).
Linux musl detection: Binary downloads on Linux now detect musl libc so the correct binary is chosen. Thanks @vinikjkkj for the fix (#37).
Installation Methods
Recommended: Install directly from GitHub
npm will automatically build from source (via prepare script):
npm install github:F4RAN/cuimp-ts#v1.10.0Or in package.json:
{
"dependencies": {
"cuimp": "github:F4RAN/cuimp-ts#v1.10.0"
}
}Alternative: Manual installation (pre-built)
If you don't want automatic building, download cuimp-ts-v1.10.0.tar.gz (includes dist):
wget https://github.com/F4RAN/cuimp-ts/releases/download/v1.10.0/cuimp-ts-v1.10.0.tar.gz
tar -xzf cuimp-ts-v1.10.0.tar.gz -C ./cuimp
npm install ./cuimpv1.9.0
What's Changed
- Added Raspberry Pi (ARM/Linux) support (validated by running all examples on Raspberry Pi).
- Merge pull request #36 from pirasalbe/feature/raspberry-pi-support-squash (0e53091). Thanks @pirasalbe.
Installation Methods
Recommended: Install directly from GitHub
npm will automatically build from source (via prepare script):
npm install github:F4RAN/cuimp-ts#v1.9.0Or in package.json:
{
"dependencies": {
"cuimp": "github:F4RAN/cuimp-ts#v1.9.0"
}
}Alternative: Manual installation (pre-built)
If you don't want automatic building, download cuimp-ts-v1.9.0.tar.gz (includes dist):
wget https://github.com/F4RAN/cuimp-ts/releases/download/v1.9.0/cuimp-ts-v1.9.0.tar.gz
tar -xzf cuimp-ts-v1.9.0.tar.gz -C ./cuimp
npm install ./cuimpv1.8.0
What's Changed
Features
- Added streaming request API:
requestStream(config, handlers)withonHeaders,onData,onEnd,onError, and optional body collection. (PR #33, @niallo) - Added
runBinaryStreamwith stdout backpressure handling +RunStreamResult. (PR #33, @niallo) - Added incremental parser
createHttpResponseStreamParserforcurl -i(early headers, streamed body, redirects/100-continue), with lowercase header normalization. (PR #33, @niallo) - Refactored request arg building into
buildRequestPartsfor reuse across request modes. (PR #33, @niallo) - Updated exports + README docs for streaming usage and
--no-buffer(SSE/immediate flush). (PR #33, @niallo)
Fixes
- Fixed Node.js v25 ESM crash related to
minizlibmissingZstdDecompress(enforced compatibleminizlibvia npm overrides). (#31, @2dragonly) - Streaming hardening: avoid treating a body starting with
HTTP/as a new header block; reduced buffering/allocations by streaming chunks directly. (PR #33)
Enhancements
- Moved diagnostic logs to
debug()so they can be suppressed by omittingdebugin custom logger. (#29, @kenmadev) - Added
autoDownload: falseto prevent automatic binary downloads when missing. (#29, @kenmadev)
Tests / Examples
- Added tests for streaming edge cases and header-case normalization.
- Added examples:
examples/10-custom-logger.jsexamples/07-binary-management.js
v1.7.0
cuimp-ts v1.7.0
What’s Changed
- Fixed a Windows-specific issue where
.batwrappers fromlibcurl-impersonatecaused duplicate headers when users explicitly overrode headers (e.g.Accept). - Implemented safe parsing of
.batarguments so user-provided headers correctly override defaults without breaking browser impersonation behavior. - Preserved original argument order and all non-header options (TLS, HTTP/2, ciphers, etc.).
- Added comprehensive Windows-focused tests and runnable examples.
- Version bump to v1.7.0.
Special thanks to @DoveAz for the clear report and thorough testing.
Note: This is a Windows-only workaround due to limitations of
.batwrappers. Iflibcurl-impersonatechanges its approach in the future, this logic can be simplified and aligned upstream.
Installation Methods
Recommended: Install directly from GitHub
npm will automatically build from source (via the prepare script):
npm install github:F4RAN/cuimp-ts#v1.7.0Or in package.json:
{
"dependencies": {
"cuimp": "github:F4RAN/cuimp-ts#v1.7.0"
}
}Alternative: Manual installation (pre-built)
If you prefer not to build locally, download the pre-built archive (includes dist):
wget https://github.com/F4RAN/cuimp-ts/releases/download/v1.7.0/cuimp-ts-v1.7.0.tar.gz
tar -xzf cuimp-ts-v1.7.0.tar.gz -C ./cuimp
npm install ./cuimpv1.6.3
What's Changed
- fix(windows): handle
.batpaths with spaces and harden argument quoting for CMD special characters - fix(post): send JSON body via stdin on Windows to prevent
UNSUPPORTED_PROTOCOL/URL_MALFORMATwith&/"in--data-binary
Special thanks to @kenmadev for the detailed repro cases and for testing multiple iterations of the fix.
v1.6.2
Release v1.6.2 - HttpOnly Cookie Support
🎉 What's New
This release adds full support for HttpOnly cookies in the Netscape cookie format. HttpOnly cookies are now properly parsed and accessible through all CookieJar methods.
✨ Features
HttpOnly Cookie Support
- Parse HttpOnly cookies - Cookies prefixed with
#HttpOnly_are now correctly identified and parsed (previously skipped as comments) - Domain cleaning - The
#HttpOnly_prefix is automatically stripped from cookie domains during parsing - Full API support - HttpOnly cookies work with all CookieJar methods:
getCookies()- Returns HttpOnly cookies along with regular cookiesgetCookiesForDomain()- Includes HttpOnly cookies when filtering by domaindeleteCookie()- Can delete HttpOnly cookies by name
🔧 Technical Changes
- Added
isLineComment()method to distinguish HttpOnly cookies from comments - Added
domainCleaner()method to strip#HttpOnly_prefix from domains - Updated
getCookies()to parse HttpOnly cookies correctly - Updated
deleteCookie()to handle HttpOnly cookies - Added comprehensive test coverage for HttpOnly cookie functionality
📝 Example
import { CookieJar } from 'cuimp'
const cookieJar = new CookieJar('/path/to/cookies.txt')
// HttpOnly cookies in Netscape format are now parsed:
// #HttpOnly_.example.com TRUE / TRUE 1797236218 session_id abc123
const cookies = cookieJar.getCookies()
// Returns both regular and HttpOnly cookies🐛 Bug Fixes
- Fixed issue where HttpOnly cookies were incorrectly skipped as comments (#23)
🙏 Credits
Special thanks to @kenmadev for reporting this issue and providing the sample cookie format!
📚 Documentation
- See
examples/14-httponly-cookies.jsfor a complete example - All existing functionality remains unchanged (backward compatible)
🔗 Related
Full Changelog: v1.6.1...v1.6.2
v1.6.1
What's Changed
- chore: example (5acc06f)
Installation Methods
Recommended: Install directly from GitHub
npm will automatically build from source (via prepare script):
npm install github:F4RAN/cuimp-ts#v1.6.1Or in package.json:
{
"dependencies": {
"cuimp": "github:F4RAN/cuimp-ts#v1.6.1"
}
}Alternative: Manual installation (pre-built)
If you don't want automatic building, download cuimp-ts-v1.6.1.tar.gz (includes dist):
wget https://github.com/F4RAN/cuimp-ts/releases/download/v1.6.1/cuimp-ts-v1.6.1.tar.gz
tar -xzf cuimp-ts-v1.6.1.tar.gz -C ./cuimp
npm install ./cuimp