careful-downloader

🕵️‍♀️ Downloads a file and its checksums, validates the hash, and optionally extracts it if safe.

MIT License

Downloads
26.5K
Stars
3
Committers
2

Bot releases are hidden (Show)

careful-downloader - Latest Release

Published by jakejarvis over 1 year ago

  • bump deps and require node 14 0b51c8b
  • 📦 npm: Bump http-cache-semantics from 4.1.0 to 4.1.1 caf7571

https://github.com/jakejarvis/careful-downloader/compare/v2.0.2...v3.0.0

careful-downloader -

Published by jakejarvis over 2 years ago

  • bump all deps (and fix security warning from devDependencies) 51e8e01
  • run tests on node 17.x b181818

https://github.com/jakejarvis/careful-downloader/compare/v2.0.1...v2.0.2

careful-downloader -

Published by jakejarvis about 3 years ago

  • fs.exists() (deprecated) -> fs.access() 9454810
  • correct an irrelevant detail in mocha tests efbca27

https://github.com/jakejarvis/careful-downloader/compare/v2.0.0...v2.0.1

careful-downloader -

Published by jakejarvis about 3 years ago

Breaking change!

You can now provide either a URL to a checksums file or a straight hash as a string. This means the old checksum file URL argument has moved to the options object as options.checksumUrl.


  • "simplify" the checksum file regex pattern 1f7f290
  • update the types file with new options 5d3410f
  • remove @types/url-parse a5fade6
  • go back to simultaneously downloading the desired file and its checksums 9731522
  • Update README 249b060
  • BREAKING: allow hashes provided as a URL to a text file or a string 4d3134a
  • fixes for eslint 8.0.0 bcd2e89

https://github.com/jakejarvis/careful-downloader/compare/v1.4.0...v2.0.0

careful-downloader -

Published by jakejarvis about 3 years ago

  • sprinkled in some debug logging 2e06647

Note: set DEBUG=careful-downloader in environment to enable detailed logging!

https://github.com/jakejarvis/careful-downloader/compare/v1.3.2...v1.4.0

careful-downloader -

Published by jakejarvis about 3 years ago

  • test/index.js -> test/index.spec.js e45a253
  • add test for zero options passed in 349258d

https://github.com/jakejarvis/careful-downloader/compare/v1.3.1...v1.3.2

careful-downloader -

Published by jakejarvis about 3 years ago

  • use more reliable is-path-in-cwd to prevent directory traversal a652d3b

https://github.com/jakejarvis/careful-downloader/compare/v1.3.0...v1.3.1

careful-downloader -

Published by jakejarvis about 3 years ago

  • Stricter paths to prevent traversal & remove custom tempDir option 8e89d84

https://github.com/jakejarvis/careful-downloader/compare/v1.2.0...v1.3.0

careful-downloader -

Published by jakejarvis about 3 years ago

careful-downloader -

Published by jakejarvis about 3 years ago

  • update tempDir in readme a0b10f0
  • don't delete the temp dir if set manually and dir exists (fixes #3) 8567cfc

https://github.com/jakejarvis/careful-downloader/compare/v1.0.1...v1.1.0

careful-downloader -

Published by jakejarvis about 3 years ago

  • increase timeout to an excessive 30 seconds for CI c2bc25f

https://github.com/jakejarvis/careful-downloader/compare/v1.0.0...v1.0.1