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-10-04 11:31:04 +0300
committerRebecca Turner <me@re-becca.org>2017-10-04 11:31:06 +0300
commitb81fff808ee269361d3dcf38c1b6019f1708ae02 (patch)
treeb0f3a638dc27b7ba32b922f60816c6b91300f210 /node_modules/rimraf
parent2b02e86c06cf2a5fe7146404f5bfd27f190ee4f4 (diff)
rimraf@2.6.2
Fixes a long standing bug in rimraf's attempts to work around Windows limitations where it owns a file and can change its perms but can't remove it without first changing its perms.
Diffstat (limited to 'node_modules/rimraf')
-rw-r--r--node_modules/rimraf/package.json32
-rw-r--r--node_modules/rimraf/rimraf.js5
2 files changed, 19 insertions, 18 deletions
diff --git a/node_modules/rimraf/package.json b/node_modules/rimraf/package.json
index 89123a178..52dc0f254 100644
--- a/node_modules/rimraf/package.json
+++ b/node_modules/rimraf/package.json
@@ -1,35 +1,37 @@
{
- "_from": "rimraf@~2.6.1",
- "_id": "rimraf@2.6.1",
- "_integrity": "sha1-wjOOxkPfeht/5cVPqG9XQopV8z0=",
+ "_from": "rimraf@2.6.2",
+ "_id": "rimraf@2.6.2",
+ "_inBundle": false,
+ "_integrity": "sha512-lreewLK/BlghmxtfH36YYVg1i8IAce4TI7oao75I1g245+6BctqTVQiBP3YUJ9C6DQOXJmkYR9X9fCLtCOJc5w==",
"_location": "/rimraf",
"_phantomChildren": {},
"_requested": {
- "type": "range",
+ "type": "version",
"registry": true,
- "raw": "rimraf@~2.6.1",
+ "raw": "rimraf@2.6.2",
"name": "rimraf",
"escapedName": "rimraf",
- "rawSpec": "~2.6.1",
+ "rawSpec": "2.6.2",
"saveSpec": null,
- "fetchSpec": "~2.6.1"
+ "fetchSpec": "2.6.2"
},
"_requiredBy": [
+ "#USER",
"/",
"/cacache",
"/fs-vacuum",
- "/fstream",
+ "/libnpx",
"/move-concurrently",
"/move-concurrently/copy-concurrently",
"/node-gyp",
+ "/node-gyp/fstream",
"/standard/eslint/file-entry-cache/flat-cache/del",
"/tacks"
],
- "_resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.1.tgz",
- "_shasum": "c2338ec643df7a1b7fe5c54fa86f57428a55f33d",
- "_shrinkwrap": null,
- "_spec": "rimraf@~2.6.1",
- "_where": "/Users/zkat/Documents/code/npm",
+ "_resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.2.tgz",
+ "_shasum": "2ed8150d24a16ea8651e6d6ef0f47c4158ce7a36",
+ "_spec": "rimraf@2.6.2",
+ "_where": "/Users/rebecca/code/npm",
"author": {
"name": "Isaac Z. Schlueter",
"email": "i@izs.me",
@@ -61,8 +63,6 @@
"license": "ISC",
"main": "rimraf.js",
"name": "rimraf",
- "optionalDependencies": {},
- "peerDependencies": {},
"repository": {
"type": "git",
"url": "git://github.com/isaacs/rimraf.git"
@@ -70,5 +70,5 @@
"scripts": {
"test": "tap test/*.js"
},
- "version": "2.6.1"
+ "version": "2.6.2"
}
diff --git a/node_modules/rimraf/rimraf.js b/node_modules/rimraf/rimraf.js
index c26331265..e80dd1069 100644
--- a/node_modules/rimraf/rimraf.js
+++ b/node_modules/rimraf/rimraf.js
@@ -5,6 +5,7 @@ var assert = require("assert")
var path = require("path")
var fs = require("fs")
var glob = require("glob")
+var _0666 = parseInt('666', 8)
var defaultGlobOpts = {
nosort: true,
@@ -165,7 +166,7 @@ function fixWinEPERM (p, options, er, cb) {
if (er)
assert(er instanceof Error)
- options.chmod(p, 666, function (er2) {
+ options.chmod(p, _0666, function (er2) {
if (er2)
cb(er2.code === "ENOENT" ? null : er)
else
@@ -187,7 +188,7 @@ function fixWinEPERMSync (p, options, er) {
assert(er instanceof Error)
try {
- options.chmodSync(p, 666)
+ options.chmodSync(p, _0666)
} catch (er2) {
if (er2.code === "ENOENT")
return