Skip to content
Merged
Show file tree
Hide file tree
Changes from 29 commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
9daddf4
feat: v4
ido-pluto May 22, 2025
7296216
fix(multiDownload): update status when skipping download
ido-pluto May 22, 2025
5ad092d
fix(multiDownload): events & cli progress
ido-pluto May 24, 2025
2504676
pref(microtask): optimize timers
ido-pluto May 24, 2025
9826396
fix(transferStatistics): 0 when download size is unknown
ido-pluto May 25, 2025
fc48e3b
pref(downloadInfo): optimize requests
ido-pluto May 25, 2025
a6b98f5
docs(README): typo
ido-pluto May 25, 2025
6954781
fix(build): no source map in prod
ido-pluto May 28, 2025
dee3ad5
feat(downloadURL): regenerate download url when token expires
ido-pluto Jun 11, 2025
872c309
fix(cli): save flag does not save to directory
ido-pluto Feb 20, 2026
6228d28
fix: tests
ido-pluto Feb 20, 2026
c3347cc
Merge branch 'main' into feat/speed-ipull
ido-pluto Feb 20, 2026
bcd1870
fix: release
ido-pluto Feb 20, 2026
d8cd69a
fix(write-stream): finalization close file handler
ido-pluto Feb 20, 2026
a4ca68c
feat(GlobalCLI): cache engine order generation
ido-pluto Mar 8, 2026
64de83d
feat(write-stream): parallel write queue
ido-pluto Mar 14, 2026
4ff195e
feat(cli): faster event creation
ido-pluto Mar 15, 2026
264f918
fix(download-stream): event cleanup
ido-pluto Mar 15, 2026
6b1a994
fix(progress): dedup engine on progress building
ido-pluto Mar 15, 2026
9fc3cc8
fix(write-queue): close fd
ido-pluto Mar 15, 2026
696c8c7
fix: format
ido-pluto Mar 15, 2026
2b648e7
fix: remove unused var
ido-pluto Mar 15, 2026
6212325
Merge branch 'beta' into feat/speed-ipull
ido-pluto Mar 15, 2026
18ef713
fix: remove unused file
ido-pluto Mar 15, 2026
31c4a7e
fix(multi-engine): close before throw
ido-pluto Mar 15, 2026
cd641ad
fix(cli): file indexing
ido-pluto Mar 15, 2026
1143ae5
fix(download-size): get range request to fetch size
ido-pluto Mar 15, 2026
a94bd9b
fix(write-queue): default buffer size
ido-pluto Mar 15, 2026
26e3a4d
fix(write-stream): catch close errors
ido-pluto Mar 15, 2026
df7a24d
fix(write-queue): prevent flashing the same region twice
ido-pluto Mar 16, 2026
f009e31
fix(pretty-bytes-fast): large numbers
ido-pluto Mar 16, 2026
011a8bc
fix(cli): check if path is directory by fs
ido-pluto Mar 16, 2026
b265372
fix(pretty-bytes-fast): bigint division
ido-pluto Mar 16, 2026
81bb92e
fix(pretty-bytes-fast): export formatTrunc
ido-pluto Mar 16, 2026
b9faef4
format
ido-pluto Mar 16, 2026
4c1ae53
fix(name): content disposition parsing
ido-pluto Mar 16, 2026
57a0762
bump: deps
ido-pluto Mar 16, 2026
1c95ee1
fix(write-queue): better merging
ido-pluto Mar 16, 2026
fab19ee
feat: parts range download
ido-pluto Apr 4, 2026
d3c3f34
fix(chores): typedoc
ido-pluto Apr 4, 2026
b5d25a8
fix(bump): docs generation
ido-pluto Apr 4, 2026
9a0b455
fix: format
ido-pluto Apr 5, 2026
6c1b75a
refactor: replace fs-extra with native fs/promises and improve file h…
ido-pluto Apr 21, 2026
8db3812
chore: update package dependencies and Node.js version; remove unused…
ido-pluto Apr 21, 2026
4292ff0
fix: format
ido-pluto Apr 21, 2026
48f4205
feat: enhance range validation and error handling in download engine
ido-pluto Apr 21, 2026
b06823f
feat: improve download engine performance and error handling with asy…
ido-pluto Apr 21, 2026
1fb7cfa
feat: increase progress throttle for download engine to improve perfo…
ido-pluto Apr 21, 2026
a718684
feat: replace eventemitter3 with custom EventEmitter to optimize perf…
ido-pluto Apr 21, 2026
d5771d4
feat: enhance performance and error handling in download engine with …
ido-pluto Apr 22, 2026
80a1186
feat: update write methods to include totalLength parameter for impro…
ido-pluto Apr 22, 2026
cf9a78b
fix: format
ido-pluto Apr 22, 2026
dd4775c
feat: remove totalLength parameter from DownloadEngineWriteStreamBrow…
ido-pluto Apr 22, 2026
7da883b
fix: correct assignment of watchDog in BaseDownloadEngineFetchStream
ido-pluto Apr 22, 2026
8d7d2dd
fix: update streamCheckInterval description for clarity
ido-pluto Apr 22, 2026
d8f0a48
feat: implement RenewFetchError for improved fetch handling and updat…
ido-pluto Apr 22, 2026
e5cc673
feat: add progressThrottleMs to default options and handle abort even…
ido-pluto Apr 22, 2026
086babc
feat: remove progressThrottleMs and refactor chunkGenerator for impro…
ido-pluto Apr 22, 2026
80661df
feat: remove unused import of BaseDownloadEngineFetchStreamOptions fo…
ido-pluto Apr 22, 2026
36f7699
feat: update progress handling in DownloadEngineFile and DownloadEngi…
ido-pluto Apr 22, 2026
01e4ade
feat: enhance EventEmitter typing and remove unused index signatures …
ido-pluto Apr 22, 2026
80e530e
feat: refine SuggestedEventName type for better type inference and re…
ido-pluto Apr 22, 2026
f7bc9ca
feat: update close method documentation in DownloadEngineNodejs for c…
ido-pluto Apr 22, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Install modules
run: npm ci --ignore-scripts
- name: Build
run: npm run build
run: npm run build:prod
- name: Test
run: npm run test
- name: Generate docs
Expand Down Expand Up @@ -66,7 +66,6 @@ jobs:
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Comment thread
ido-pluto marked this conversation as resolved.
Comment thread
ido-pluto marked this conversation as resolved.
Comment thread
ido-pluto marked this conversation as resolved.
Comment thread
ido-pluto marked this conversation as resolved.
Comment thread
ido-pluto marked this conversation as resolved.
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release

- name: Set npm package url to GITHUB_OUTPUT
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ jobs:
- name: ESLint
run: npm run lint
- name: TypeScript validity
run: npm run build
run: npm run build:prod
- name: Run Tests
run: npm run test
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,11 @@ import {downloadFileBrowser} from "ipull/dist/browser.js";

const downloader = await downloadFileBrowser({
url: 'https://example.com/file.large',
acceptRangeIsKnown: true // cors origin request will not return the range header, but we can force it to be true (multi-connection download)
acceptRangeIsKnown: true, // overcome CORS, force multi-connection download (use only if you know the server supports range requests)
// defaultFetchDownloadInfo: { // set download info manually to overcome CORS issues && prevent multiple requests
// acceptRange: true,
// length: 40789822,
// }
});

await downloader.download();
Expand Down
Loading
Loading