1
mirror of https://github.com/jakejarvis/careful-downloader.git synced 2025-04-26 07:45:23 -04:00

16 Commits

Author SHA1 Message Date
9454810eab
fs.exists() (deprecated) -> fs.access() 2021-10-16 09:53:32 -04:00
1f7f290c90
"simplify" the checksum file regex pattern 2021-10-16 06:53:45 -04:00
97315225c1
go back to simultaneously downloading the desired file and its checksums 2021-10-16 06:19:20 -04:00
4d3134afb8
BREAKING: allow hashes provided as a URL to a text file or a string
(closes #1)
2021-10-16 06:10:36 -04:00
2e06647726
sprinkled in some debug logging 2021-10-09 17:43:26 -04:00
349258df92
add test for zero options passed in 2021-10-09 09:22:39 -04:00
a652d3b660
use more reliable is-path-in-cwd to prevent directory traversal 2021-10-07 19:05:42 -04:00
8e89d84eda Stricter paths to prevent traversal & remove custom tempDir option 2021-10-07 11:10:29 -04:00
609d4ed5ea
fix incorrect checksum test 2021-10-06 12:16:01 -04:00
8567cfc76a
don't delete the temp dir if set manually and dir exists (fixes #3) 2021-10-06 11:30:01 -04:00
3325d61b62
fix node 12.x 2021-10-06 09:57:34 -04:00
2a682c76be
refactor checkChecksum() 2021-10-06 09:49:06 -04:00
aa68c18246
use process.cwd() instead of __dirname for expected relative paths 2021-10-05 11:27:43 -04:00
5d87ac13d9
documentation! 2021-10-05 11:26:23 -04:00
5008874502
add cleanDestDir option 2021-10-05 11:07:02 -04:00
bd8b8047d7
initial commit 🎉 2021-10-05 10:42:41 -04:00