Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRebecca Turner <me@re-becca.org>2017-05-26 03:43:24 +0300
committerRebecca Turner <me@re-becca.org>2017-05-26 04:55:34 +0300
commitdb766320bcb8a1012d1f7b9d005718b83d8163c3 (patch)
treeeee653b1c5584aae4cf0f842ee20dd797032d148 /node_modules
parent0d35975ea13dc4bd50a36f1af45dc0c58df8e826 (diff)
cacache@9.2.5
Diffstat (limited to 'node_modules')
-rw-r--r--node_modules/cacache/CHANGELOG.md30
-rw-r--r--node_modules/cacache/lib/content/rm.js10
-rw-r--r--node_modules/cacache/lib/entry-index.js4
-rw-r--r--node_modules/cacache/package.json44
4 files changed, 63 insertions, 25 deletions
diff --git a/node_modules/cacache/CHANGELOG.md b/node_modules/cacache/CHANGELOG.md
index cf8f8f8db..8235212ad 100644
--- a/node_modules/cacache/CHANGELOG.md
+++ b/node_modules/cacache/CHANGELOG.md
@@ -2,6 +2,36 @@
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.
+<a name="9.2.5"></a>
+## [9.2.5](https://github.com/zkat/cacache/compare/v9.2.4...v9.2.5) (2017-05-25)
+
+
+### Bug Fixes
+
+* **deps:** fix lockfile issues and bump ssri ([84e1d7e](https://github.com/zkat/cacache/commit/84e1d7e))
+
+
+
+<a name="9.2.4"></a>
+## [9.2.4](https://github.com/zkat/cacache/compare/v9.2.3...v9.2.4) (2017-05-24)
+
+
+### Bug Fixes
+
+* **deps:** bumping deps ([bbccb12](https://github.com/zkat/cacache/commit/bbccb12))
+
+
+
+<a name="9.2.3"></a>
+## [9.2.3](https://github.com/zkat/cacache/compare/v9.2.2...v9.2.3) (2017-05-24)
+
+
+### Bug Fixes
+
+* **rm:** stop crashing if content is missing on rm ([ac90bc0](https://github.com/zkat/cacache/commit/ac90bc0))
+
+
+
<a name="9.2.2"></a>
## [9.2.2](https://github.com/zkat/cacache/compare/v9.2.1...v9.2.2) (2017-05-14)
diff --git a/node_modules/cacache/lib/content/rm.js b/node_modules/cacache/lib/content/rm.js
index a8903dc0e..12cf15823 100644
--- a/node_modules/cacache/lib/content/rm.js
+++ b/node_modules/cacache/lib/content/rm.js
@@ -9,9 +9,13 @@ const rimraf = BB.promisify(require('rimraf'))
module.exports = rm
function rm (cache, integrity) {
return hasContent(cache, integrity).then(content => {
- const sri = content.sri
- if (sri) {
- return rimraf(contentPath(cache, sri))
+ if (content) {
+ const sri = content.sri
+ if (sri) {
+ return rimraf(contentPath(cache, sri)).then(() => true)
+ }
+ } else {
+ return false
}
})
}
diff --git a/node_modules/cacache/lib/entry-index.js b/node_modules/cacache/lib/entry-index.js
index 1e3f9121a..face0fe79 100644
--- a/node_modules/cacache/lib/entry-index.js
+++ b/node_modules/cacache/lib/entry-index.js
@@ -215,7 +215,9 @@ function formatEntry (cache, entry) {
}
function readdirOrEmpty (dir) {
- return readdirAsync(dir).catch({code: 'ENOENT'}, () => [])
+ return readdirAsync(dir)
+ .catch({code: 'ENOENT'}, () => [])
+ .catch({code: 'ENOTDIR'}, () => [])
}
function nop () {
diff --git a/node_modules/cacache/package.json b/node_modules/cacache/package.json
index 74caad6f7..26b8e826f 100644
--- a/node_modules/cacache/package.json
+++ b/node_modules/cacache/package.json
@@ -1,28 +1,30 @@
{
- "_from": "cacache@latest",
- "_id": "cacache@9.2.2",
+ "_from": "cacache@9.2.5",
+ "_id": "cacache@9.2.5",
"_inBundle": false,
- "_integrity": "sha512-KchIh0VVk0zpYKtztqFQDYc2ZnQAqwOO3Z5bsuxYfTJuNGvUgEVEBlEVmb/Rf3t3CKgd/8U7x2RC+lgJe0kz2Q==",
+ "_integrity": "sha512-mURsTvkjbCSFRTdkuPhHUp9sbEHn3AVrvM4mveg/bhlKKYolfRm23TsFUVAssC9p622lwmh7pgpb+H5mSVpYcA==",
"_location": "/cacache",
"_phantomChildren": {},
"_requested": {
- "type": "tag",
+ "type": "version",
"registry": true,
- "raw": "cacache@latest",
+ "raw": "cacache@9.2.5",
"name": "cacache",
"escapedName": "cacache",
- "rawSpec": "latest",
+ "rawSpec": "9.2.5",
"saveSpec": null,
- "fetchSpec": "latest"
+ "fetchSpec": "9.2.5"
},
"_requiredBy": [
"#USER",
- "/"
+ "/",
+ "/pacote",
+ "/pacote/make-fetch-happen"
],
- "_resolved": "https://registry.npmjs.org/cacache/-/cacache-9.2.2.tgz",
- "_shasum": "cb67e5c3497d474f6b6d889a90ebfc969f2d83fa",
- "_spec": "cacache@latest",
- "_where": "/Users/zkat/Documents/code/npm",
+ "_resolved": "https://registry.npmjs.org/cacache/-/cacache-9.2.5.tgz",
+ "_shasum": "cb401d0e59858532062de1f104097cb40c71c3bf",
+ "_spec": "cacache@9.2.5",
+ "_where": "/Users/rebecca/code/npm",
"author": {
"name": "Kat Marchán",
"email": "kzm@sykosomatic.org"
@@ -54,17 +56,17 @@
}
],
"dependencies": {
- "bluebird": "^3.4.7",
+ "bluebird": "^3.5.0",
"chownr": "^1.0.1",
- "glob": "^7.1.1",
- "graceful-fs": "^4.1.10",
+ "glob": "^7.1.2",
+ "graceful-fs": "^4.1.11",
"lru-cache": "^4.0.2",
- "mississippi": "^1.2.0",
+ "mississippi": "^1.3.0",
"mkdirp": "^0.5.1",
- "move-concurrently": "^1.0.0",
+ "move-concurrently": "^1.0.1",
"promise-inflight": "^1.0.1",
"rimraf": "^2.6.1",
- "ssri": "^4.1.2",
+ "ssri": "^4.1.3",
"unique-filename": "^1.1.0",
"y18n": "^3.2.1"
},
@@ -74,14 +76,14 @@
"benchmark": "^2.1.4",
"chalk": "^1.1.3",
"cross-env": "^5.0.0",
- "nyc": "^10.2.0",
+ "nyc": "^10.3.2",
"require-inject": "^1.4.0",
"safe-buffer": "^5.0.1",
"standard": "^10.0.2",
"standard-version": "^4.0.0",
"tacks": "^1.2.2",
"tap": "^10.3.2",
- "weallbehave": "^1.0.0",
+ "weallbehave": "^1.2.0",
"weallcontribute": "^1.0.8"
},
"files": [
@@ -123,5 +125,5 @@
"update-coc": "weallbehave -o . && git add CODE_OF_CONDUCT.md && git commit -m 'docs(coc): updated CODE_OF_CONDUCT.md'",
"update-contrib": "weallcontribute -o . && git add CONTRIBUTING.md && git commit -m 'docs(contributing): updated CONTRIBUTING.md'"
},
- "version": "9.2.2"
+ "version": "9.2.5"
}