Comparing version 15.0.0 to 15.0.1
@@ -8,3 +8,3 @@ 'use strict' | ||
const stat = util.promisify(fs.stat) | ||
const move = require('move-concurrently') | ||
const move = require('move-file') | ||
const pinflight = require('promise-inflight') | ||
@@ -65,3 +65,4 @@ | ||
// file doesn't already exist! let's try a rename -> copy fallback | ||
return move(src, dest, { Promise, fs }) | ||
// only delete if it successfully copies | ||
return move(src, dest) | ||
}) | ||
@@ -68,0 +69,0 @@ }) |
{ | ||
"name": "cacache", | ||
"version": "15.0.0", | ||
"version": "15.0.1", | ||
"cache-version": { | ||
@@ -61,3 +61,3 @@ "content": "2", | ||
"dependencies": { | ||
"chownr": "^1.1.2", | ||
"chownr": "^2.0.0", | ||
"fs-minipass": "^2.0.0", | ||
@@ -73,7 +73,9 @@ "glob": "^7.1.4", | ||
"move-concurrently": "^1.0.1", | ||
"p-map": "^3.0.0", | ||
"move-file": "^2.0.0", | ||
"p-map": "^4.0.0", | ||
"promise-inflight": "^1.0.1", | ||
"rimraf": "^2.7.1", | ||
"rimraf": "^3.0.2", | ||
"ssri": "^8.0.0", | ||
"tar": "^6.0.1", | ||
"tacks": "^1.3.0", | ||
"tar": "^6.0.2", | ||
"unique-filename": "^1.1.1" | ||
@@ -83,7 +85,6 @@ }, | ||
"benchmark": "^2.1.4", | ||
"chalk": "^2.4.2", | ||
"chalk": "^4.0.0", | ||
"require-inject": "^1.4.4", | ||
"standard": "^14.3.1", | ||
"standard-version": "^7.1.0", | ||
"tacks": "^1.3.0", | ||
"tap": "^14.10.6" | ||
@@ -90,0 +91,0 @@ }, |
Sorry, the diff of this file is not supported yet
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
128823
6
24
1632
19
+ Addedmove-file@^2.0.0
+ Addedtacks@^1.3.0
+ Addedmove-file@2.1.0(transitive)
+ Addedp-map@4.0.0(transitive)
+ Addedpath-exists@4.0.0(transitive)
+ Addedrimraf@3.0.2(transitive)
+ Addedtacks@1.3.0(transitive)
- Removedchownr@1.1.4(transitive)
- Removedp-map@3.0.0(transitive)
Updatedchownr@^2.0.0
Updatedp-map@^4.0.0
Updatedrimraf@^3.0.2
Updatedtar@^6.0.2