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:
authorKat Marchán <kzm@sykosomatic.org>2017-06-05 21:17:34 +0300
committerKat Marchán <kzm@sykosomatic.org>2017-06-06 00:20:51 +0300
commit6e12a5cc022cb5a157a37df7283b6d7b3d49bdab (patch)
treebf48d3b7bf1e1ad936936e113e72b594a55cd6f0 /node_modules/cacache
parent0b9fc56a8e451003a613f75b166cfacc49e2d9a9 (diff)
deps: bump cacache, pacote, ssri, readable-stream, safe-buffer
Diffstat (limited to 'node_modules/cacache')
-rw-r--r--node_modules/cacache/CHANGELOG.md20
-rw-r--r--node_modules/cacache/lib/util/move-file.js7
-rw-r--r--node_modules/cacache/package.json28
3 files changed, 40 insertions, 15 deletions
diff --git a/node_modules/cacache/CHANGELOG.md b/node_modules/cacache/CHANGELOG.md
index fad0f4875..802257622 100644
--- a/node_modules/cacache/CHANGELOG.md
+++ b/node_modules/cacache/CHANGELOG.md
@@ -2,6 +2,26 @@
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.8"></a>
+## [9.2.8](https://github.com/zkat/cacache/compare/v9.2.7...v9.2.8) (2017-06-05)
+
+
+### Bug Fixes
+
+* **ssri:** bump ssri for bugfix ([c3232ea](https://github.com/zkat/cacache/commit/c3232ea))
+
+
+
+<a name="9.2.7"></a>
+## [9.2.7](https://github.com/zkat/cacache/compare/v9.2.6...v9.2.7) (2017-06-05)
+
+
+### Bug Fixes
+
+* **content:** make verified content completely read-only (#96) ([4131196](https://github.com/zkat/cacache/commit/4131196))
+
+
+
<a name="9.2.6"></a>
## [9.2.6](https://github.com/zkat/cacache/compare/v9.2.5...v9.2.6) (2017-05-31)
diff --git a/node_modules/cacache/lib/util/move-file.js b/node_modules/cacache/lib/util/move-file.js
index 422c8294e..e12e98188 100644
--- a/node_modules/cacache/lib/util/move-file.js
+++ b/node_modules/cacache/lib/util/move-file.js
@@ -2,6 +2,8 @@
const fs = require('graceful-fs')
const BB = require('bluebird')
+const chmod = BB.promisify(fs.chmod)
+const unlink = BB.promisify(fs.unlink)
let move
let pinflight
@@ -27,8 +29,11 @@ function moveFile (src, dest) {
return cb(err)
}
}
- return fs.unlink(src, cb)
+ return cb()
})
+ }).then(() => {
+ // content should never change for any reason, so make it read-only
+ return BB.join(unlink(src), process.platform !== 'win32' && chmod(dest, '0444'))
}).catch(err => {
if (process.platform !== 'win32') {
throw err
diff --git a/node_modules/cacache/package.json b/node_modules/cacache/package.json
index 16266eb05..b55c3ba68 100644
--- a/node_modules/cacache/package.json
+++ b/node_modules/cacache/package.json
@@ -1,19 +1,19 @@
{
- "_from": "cacache@9.2.6",
- "_id": "cacache@9.2.6",
+ "_from": "cacache@9.2.8",
+ "_id": "cacache@9.2.8",
"_inBundle": false,
- "_integrity": "sha512-YK0Z5Np5t755edPL6gfdCeGxtU0rcW/DBhYhYVDckT+7AFkCCtedf2zru5NRbBLFk6e7Agi/RaqTOAfiaipUfg==",
+ "_integrity": "sha512-nA3gmaDPEsFWqI5eYAe35IfvW54yGJ3ns2wDopWf4iDA3fkhBNsdvnYp4NrL+L7ysMt0/isM84Mwi+b4l8/pMQ==",
"_location": "/cacache",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
- "raw": "cacache@9.2.6",
+ "raw": "cacache@9.2.8",
"name": "cacache",
"escapedName": "cacache",
- "rawSpec": "9.2.6",
+ "rawSpec": "9.2.8",
"saveSpec": null,
- "fetchSpec": "9.2.6"
+ "fetchSpec": "9.2.8"
},
"_requiredBy": [
"#USER",
@@ -21,9 +21,9 @@
"/pacote",
"/pacote/make-fetch-happen"
],
- "_resolved": "https://registry.npmjs.org/cacache/-/cacache-9.2.6.tgz",
- "_shasum": "ea5c7f2b6b514710a22a58a27f857fd972fdfa51",
- "_spec": "cacache@9.2.6",
+ "_resolved": "https://registry.npmjs.org/cacache/-/cacache-9.2.8.tgz",
+ "_shasum": "2e38b51161a3904e3b9fb35c0869b751f7d0bcf4",
+ "_spec": "cacache@9.2.8",
"_where": "/Users/zkat/Documents/code/npm",
"author": {
"name": "Kat Marchán",
@@ -66,7 +66,7 @@
"move-concurrently": "^1.0.1",
"promise-inflight": "^1.0.1",
"rimraf": "^2.6.1",
- "ssri": "^4.1.4",
+ "ssri": "^4.1.5",
"unique-filename": "^1.1.0",
"y18n": "^3.2.1"
},
@@ -76,13 +76,13 @@
"benchmark": "^2.1.4",
"chalk": "^1.1.3",
"cross-env": "^5.0.0",
- "nyc": "^10.3.2",
+ "nyc": "^11.0.2",
"require-inject": "^1.4.0",
- "safe-buffer": "^5.0.1",
+ "safe-buffer": "^5.1.0",
"standard": "^10.0.2",
"standard-version": "^4.0.0",
"tacks": "^1.2.2",
- "tap": "^10.3.2",
+ "tap": "^10.3.3",
"weallbehave": "^1.2.0",
"weallcontribute": "^1.0.8"
},
@@ -125,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.6"
+ "version": "9.2.8"
}