careful-downloader
Advanced tools
Comparing version 2.0.2 to 3.0.0
import path from "path"; | ||
import fs from "fs-extra"; | ||
import tempy from "tempy"; | ||
import { temporaryDirectory } from "tempy"; | ||
import decompress from "decompress"; | ||
@@ -50,3 +50,3 @@ import isPathInside from "is-path-inside"; | ||
// initialize temporary directory | ||
const tempDir = tempy.directory(); | ||
const tempDir = temporaryDirectory(); | ||
debug(`Temp dir generated: '${tempDir}'`); | ||
@@ -53,0 +53,0 @@ |
{ | ||
"name": "careful-downloader", | ||
"version": "2.0.2", | ||
"version": "3.0.0", | ||
"description": "🕵️♀️ Downloads a file and its checksums, validates the hash, and optionally extracts it if safe.", | ||
@@ -28,20 +28,20 @@ "license": "MIT", | ||
"dependencies": { | ||
"debug": "^4.3.3", | ||
"debug": "^4.3.4", | ||
"decompress": "^4.2.1", | ||
"fs-extra": "^10.0.0", | ||
"got": "^11.8.3", | ||
"fs-extra": "^11.1.1", | ||
"got": "^12.6.0", | ||
"is-path-inside": "^4.0.0", | ||
"tempy": "^2.0.0" | ||
"tempy": "^3.0.0" | ||
}, | ||
"devDependencies": { | ||
"@jakejarvis/eslint-config": "github:jakejarvis/eslint-config#main", | ||
"@types/debug": "^4.1.7", | ||
"@jakejarvis/eslint-config": "*", | ||
"@types/debug": "^4.1.8", | ||
"@types/decompress": "^4.2.4", | ||
"@types/fs-extra": "^9.0.13", | ||
"chai": "^4.3.6", | ||
"eslint": "^8.9.0", | ||
"mocha": "^9.2.0" | ||
"@types/fs-extra": "^11.0.1", | ||
"chai": "^4.3.7", | ||
"eslint": "^8.41.0", | ||
"mocha": "^10.2.0" | ||
}, | ||
"engines": { | ||
"node": "^12.20.0 || ^14.13.1 || >=16.0.0" | ||
"node": ">=14.14" | ||
}, | ||
@@ -48,0 +48,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17333
+ Added@sindresorhus/is@5.6.0(transitive)
+ Added@szmarczak/http-timer@5.0.1(transitive)
+ Addedcacheable-lookup@7.0.0(transitive)
+ Addedcacheable-request@10.2.14(transitive)
+ Addedform-data-encoder@2.1.4(transitive)
+ Addedfs-extra@11.2.0(transitive)
+ Addedget-stream@6.0.1(transitive)
+ Addedgot@12.6.1(transitive)
+ Addedhttp2-wrapper@2.2.1(transitive)
+ Addedlowercase-keys@3.0.0(transitive)
+ Addedmimic-response@4.0.0(transitive)
+ Addednormalize-url@8.0.1(transitive)
+ Addedp-cancelable@3.0.0(transitive)
+ Addedresponselike@3.0.0(transitive)
+ Addedtemp-dir@3.0.0(transitive)
+ Addedtempy@3.1.0(transitive)
- Removed@nodelib/fs.scandir@2.1.5(transitive)
- Removed@nodelib/fs.stat@2.0.5(transitive)
- Removed@nodelib/fs.walk@1.2.8(transitive)
- Removed@sindresorhus/is@4.6.0(transitive)
- Removed@szmarczak/http-timer@4.0.6(transitive)
- Removed@types/cacheable-request@6.0.3(transitive)
- Removed@types/keyv@3.1.4(transitive)
- Removed@types/node@22.10.2(transitive)
- Removed@types/responselike@1.0.3(transitive)
- Removedaggregate-error@3.1.0(transitive)
- Removedarray-union@2.1.0(transitive)
- Removedbalanced-match@1.0.2(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedbraces@3.0.3(transitive)
- Removedcacheable-lookup@5.0.4(transitive)
- Removedcacheable-request@7.0.4(transitive)
- Removedclean-stack@2.2.0(transitive)
- Removedclone-response@1.0.3(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removeddel@6.1.1(transitive)
- Removeddir-glob@3.0.1(transitive)
- Removedfast-glob@3.3.2(transitive)
- Removedfastq@1.17.1(transitive)
- Removedfill-range@7.1.1(transitive)
- Removedfs-extra@10.1.0(transitive)
- Removedfs.realpath@1.0.0(transitive)
- Removedget-stream@5.2.0(transitive)
- Removedglob@7.2.3(transitive)
- Removedglob-parent@5.1.2(transitive)
- Removedglobby@11.1.0(transitive)
- Removedgot@11.8.6(transitive)
- Removedhttp2-wrapper@1.0.3(transitive)
- Removedignore@5.3.2(transitive)
- Removedindent-string@4.0.0(transitive)
- Removedinflight@1.0.6(transitive)
- Removedis-extglob@2.1.1(transitive)
- Removedis-glob@4.0.3(transitive)
- Removedis-number@7.0.0(transitive)
- Removedis-path-cwd@2.2.0(transitive)
- Removedis-path-inside@3.0.3(transitive)
- Removedlowercase-keys@2.0.0(transitive)
- Removedmerge2@1.4.1(transitive)
- Removedmicromatch@4.0.8(transitive)
- Removedmimic-response@1.0.1(transitive)
- Removedminimatch@3.1.2(transitive)
- Removednormalize-url@6.1.0(transitive)
- Removedp-cancelable@2.1.1(transitive)
- Removedp-map@4.0.0(transitive)
- Removedpath-is-absolute@1.0.1(transitive)
- Removedpath-type@4.0.0(transitive)
- Removedpicomatch@2.3.1(transitive)
- Removedpump@3.0.2(transitive)
- Removedqueue-microtask@1.2.3(transitive)
- Removedresponselike@2.0.1(transitive)
- Removedreusify@1.0.4(transitive)
- Removedrimraf@3.0.2(transitive)
- Removedrun-parallel@1.2.0(transitive)
- Removedslash@3.0.0(transitive)
- Removedtemp-dir@2.0.0(transitive)
- Removedtempy@2.0.0(transitive)
- Removedto-regex-range@5.0.1(transitive)
- Removedundici-types@6.20.0(transitive)
Updateddebug@^4.3.4
Updatedfs-extra@^11.1.1
Updatedgot@^12.6.0
Updatedtempy@^3.0.0