cacache 15.0.0 → 15.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,31 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [15.0.4](https://github.com/npm/cacache/compare/v15.0.3...v15.0.4) (2020-06-03)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * replace move-file dep with @npmcli/move-file ([bf88af0](https://github.com/npm/cacache/commit/bf88af04e50cca9b54041151139ffc1fd415e2dc)), closes [#37](https://github.com/npm/cacache/issues/37)
11
+
12
+ ### [15.0.3](https://github.com/npm/cacache/compare/v15.0.2...v15.0.3) (2020-04-28)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * actually remove move-concurrently dep ([29e6eec](https://github.com/npm/cacache/commit/29e6eec9fee73444ee09daf1c1be06ddd5fe57f6))
18
+
19
+ ### [15.0.2](https://github.com/npm/cacache/compare/v15.0.1...v15.0.2) (2020-04-28)
20
+
21
+
22
+ ### Bug Fixes
23
+
24
+ * tacks should be a dev dependency ([93ec158](https://github.com/npm/cacache/commit/93ec15852f0fdf1753ea7f75b4b8926daf8a7565))
25
+
26
+ ## [15.0.1](https://github.com/npm/cacache/compare/v15.0.0...v15.0.1) (2020-04-27)
27
+
28
+ * **deps:** Use move-file instead of move-file-concurrently. ([92b125](https://github.com/npm/cacache/commit/92b1251a11b9848878b6c0d101b18bd8845acaa6))
29
+
5
30
  ## [15.0.0](https://github.com/npm/cacache/compare/v14.0.0...v15.0.0) (2020-02-18)
6
31
 
7
32
 
@@ -5,7 +5,7 @@ const util = require('util')
5
5
  const chmod = util.promisify(fs.chmod)
6
6
  const unlink = util.promisify(fs.unlink)
7
7
  const stat = util.promisify(fs.stat)
8
- const move = require('move-concurrently')
8
+ const move = require('@npmcli/move-file')
9
9
  const pinflight = require('promise-inflight')
10
10
 
11
11
  module.exports = moveFile
@@ -61,7 +61,8 @@ function moveFile (src, dest) {
61
61
  throw err
62
62
  }
63
63
  // file doesn't already exist! let's try a rename -> copy fallback
64
- return move(src, dest, { Promise, fs })
64
+ // only delete if it successfully copies
65
+ return move(src, dest)
65
66
  })
66
67
  })
67
68
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cacache",
3
- "version": "15.0.0",
3
+ "version": "15.0.4",
4
4
  "cache-version": {
5
5
  "content": "2",
6
6
  "index": "5"
@@ -58,7 +58,8 @@
58
58
  ],
59
59
  "license": "ISC",
60
60
  "dependencies": {
61
- "chownr": "^1.1.2",
61
+ "@npmcli/move-file": "^1.0.1",
62
+ "chownr": "^2.0.0",
62
63
  "fs-minipass": "^2.0.0",
63
64
  "glob": "^7.1.4",
64
65
  "infer-owner": "^1.0.4",
@@ -68,17 +69,16 @@
68
69
  "minipass-flush": "^1.0.5",
69
70
  "minipass-pipeline": "^1.2.2",
70
71
  "mkdirp": "^1.0.3",
71
- "move-concurrently": "^1.0.1",
72
- "p-map": "^3.0.0",
72
+ "p-map": "^4.0.0",
73
73
  "promise-inflight": "^1.0.1",
74
- "rimraf": "^2.7.1",
74
+ "rimraf": "^3.0.2",
75
75
  "ssri": "^8.0.0",
76
- "tar": "^6.0.1",
76
+ "tar": "^6.0.2",
77
77
  "unique-filename": "^1.1.1"
78
78
  },
79
79
  "devDependencies": {
80
80
  "benchmark": "^2.1.4",
81
- "chalk": "^2.4.2",
81
+ "chalk": "^4.0.0",
82
82
  "require-inject": "^1.4.4",
83
83
  "standard": "^14.3.1",
84
84
  "standard-version": "^7.1.0",
Binary file