Releases: hgouveia/node-downloader-helper
Releases · hgouveia/node-downloader-helper
v2.0.1
Major Update
- Upgraded package to node 14.x
Fixes
v1.0.19
- #40 when timeouts will abort the request instead of freezing for forever
- PR #51 fileName {ext} type now also optional and boolean by @SrBrahma
- #57 Fixed error emitting when retry
- PR #59 Fixed leading dots beign removed @Chaphasilor
- #61 Crashing instead of catching errors.
- #62 dl.pause() and dl.stop() not working properly on Node 16
v1.0.18
- PR #41, fix for issue #27. trailing dots in filenames by @Chaphasilor
- PR #43: Stronger Typescript Typings by @nathanbarrett
- Fixed: should close the file when paused #44
- Fixed: promised been resolved when pause #45
- Added custom 'progress.throttled' event interval #50
Fixed github action to avoid npm publish without build
v1.0.17 is exactly the same as v1.0,16, but due some misconfiguration on github actions, the package was published incomplete, v1.0.17 attempt to fix this
v1.0.16
Security fix for prevent path traversal
v1.0.14
v1.0.13
v1.0.12
- Added a simple CLI option
- Added
getStats
method, to request it outside progress event - Fixed start promise not resolving when pause/stop
- Fixed pipe function and supporting resume
- Added download info at the 'download' event
- Added response status and body attributes to the error object
v1.0.11: Added additional params to fileName opts #10 #12
- Added pipes support
- Added retry option ( #4 )
- Added return filename on end event , and new event called 'renamed' (#10)
- Added additional params to fileName opts , you can pass a function callback or an object making possible to change the filename with a custom function by the user or proving an object to only change the name and keep the extension (#10 #12)
- Improve progress event to emit for every downloaded chunk instead of every second (PR #9)