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:37:05 +0300
committerRebecca Turner <me@re-becca.org>2017-05-26 04:55:27 +0300
commit7f78c5b8add3f3d11ed71a57d0dd448d11388a42 (patch)
tree2eec885e13279bf626979bd11091fd8a2e9e9d44 /node_modules/cacache
parent7ab6830e7484ab466e5bdb11bd17f8babcb79256 (diff)
glob@7.1.2
Diffstat (limited to 'node_modules/cacache')
-rw-r--r--node_modules/cacache/CHANGELOG.md20
-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.json32
4 files changed, 19 insertions, 47 deletions
diff --git a/node_modules/cacache/CHANGELOG.md b/node_modules/cacache/CHANGELOG.md
index 5551ff47a..cf8f8f8db 100644
--- a/node_modules/cacache/CHANGELOG.md
+++ b/node_modules/cacache/CHANGELOG.md
@@ -2,26 +2,6 @@
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.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 12cf15823..a8903dc0e 100644
--- a/node_modules/cacache/lib/content/rm.js
+++ b/node_modules/cacache/lib/content/rm.js
@@ -9,13 +9,9 @@ const rimraf = BB.promisify(require('rimraf'))
module.exports = rm
function rm (cache, integrity) {
return hasContent(cache, integrity).then(content => {
- if (content) {
- const sri = content.sri
- if (sri) {
- return rimraf(contentPath(cache, sri)).then(() => true)
- }
- } else {
- return false
+ const sri = content.sri
+ if (sri) {
+ return rimraf(contentPath(cache, sri))
}
})
}
diff --git a/node_modules/cacache/lib/entry-index.js b/node_modules/cacache/lib/entry-index.js
index face0fe79..1e3f9121a 100644
--- a/node_modules/cacache/lib/entry-index.js
+++ b/node_modules/cacache/lib/entry-index.js
@@ -215,9 +215,7 @@ function formatEntry (cache, entry) {
}
function readdirOrEmpty (dir) {
- return readdirAsync(dir)
- .catch({code: 'ENOENT'}, () => [])
- .catch({code: 'ENOTDIR'}, () => [])
+ return readdirAsync(dir).catch({code: 'ENOENT'}, () => [])
}
function nop () {
diff --git a/node_modules/cacache/package.json b/node_modules/cacache/package.json
index a3cf9eec5..74caad6f7 100644
--- a/node_modules/cacache/package.json
+++ b/node_modules/cacache/package.json
@@ -1,29 +1,27 @@
{
- "_from": "cacache@9.2.4",
- "_id": "cacache@9.2.4",
+ "_from": "cacache@latest",
+ "_id": "cacache@9.2.2",
"_inBundle": false,
- "_integrity": "sha512-DkEucrb5TwM6yCLgDfyHWMH3QECt9g0pMGNtuGBrALo/B0FcQSnt8B+DyyuPFqOvSOwSPZgqYD4TK9IKJBUoKg==",
+ "_integrity": "sha512-KchIh0VVk0zpYKtztqFQDYc2ZnQAqwOO3Z5bsuxYfTJuNGvUgEVEBlEVmb/Rf3t3CKgd/8U7x2RC+lgJe0kz2Q==",
"_location": "/cacache",
"_phantomChildren": {},
"_requested": {
- "type": "version",
+ "type": "tag",
"registry": true,
- "raw": "cacache@9.2.4",
+ "raw": "cacache@latest",
"name": "cacache",
"escapedName": "cacache",
- "rawSpec": "9.2.4",
+ "rawSpec": "latest",
"saveSpec": null,
- "fetchSpec": "9.2.4"
+ "fetchSpec": "latest"
},
"_requiredBy": [
"#USER",
- "/",
- "/pacote",
- "/pacote/make-fetch-happen"
+ "/"
],
- "_resolved": "https://registry.npmjs.org/cacache/-/cacache-9.2.4.tgz",
- "_shasum": "f222f569e6d3e1415ad1ae66969c69ca0fc25955",
- "_spec": "cacache@9.2.4",
+ "_resolved": "https://registry.npmjs.org/cacache/-/cacache-9.2.2.tgz",
+ "_shasum": "cb67e5c3497d474f6b6d889a90ebfc969f2d83fa",
+ "_spec": "cacache@latest",
"_where": "/Users/zkat/Documents/code/npm",
"author": {
"name": "Kat Marchán",
@@ -58,7 +56,7 @@
"dependencies": {
"bluebird": "^3.4.7",
"chownr": "^1.0.1",
- "glob": "^7.1.2",
+ "glob": "^7.1.1",
"graceful-fs": "^4.1.10",
"lru-cache": "^4.0.2",
"mississippi": "^1.2.0",
@@ -76,14 +74,14 @@
"benchmark": "^2.1.4",
"chalk": "^1.1.3",
"cross-env": "^5.0.0",
- "nyc": "^10.3.2",
+ "nyc": "^10.2.0",
"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.2.0",
+ "weallbehave": "^1.0.0",
"weallcontribute": "^1.0.8"
},
"files": [
@@ -125,5 +123,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.4"
+ "version": "9.2.2"
}