diff options
author | Kat Marchán <kzm@sykosomatic.org> | 2017-03-10 01:03:56 +0300 |
---|---|---|
committer | Kat Marchán <kzm@sykosomatic.org> | 2017-03-10 03:08:28 +0300 |
commit | c40a1164b981d4ebf4aa765e51a810db825b7497 (patch) | |
tree | b2c6a516c2e61498fc16135334df9910ad2c2022 /node_modules/rimraf | |
parent | c37abac72670ea6376ff81337d1ef3bd207ea6a0 (diff) |
rimraf@2.6.1
Diffstat (limited to 'node_modules/rimraf')
-rw-r--r-- | node_modules/rimraf/package.json | 48 | ||||
-rw-r--r-- | node_modules/rimraf/rimraf.js | 7 |
2 files changed, 29 insertions, 26 deletions
diff --git a/node_modules/rimraf/package.json b/node_modules/rimraf/package.json index 0543429f9..7efb7ea28 100644 --- a/node_modules/rimraf/package.json +++ b/node_modules/rimraf/package.json @@ -2,25 +2,25 @@ "_args": [ [ { - "raw": "rimraf@2.6.0", + "raw": "rimraf@latest", "scope": null, "escapedName": "rimraf", "name": "rimraf", - "rawSpec": "2.6.0", - "spec": "2.6.0", - "type": "version" + "rawSpec": "latest", + "spec": "latest", + "type": "tag" }, - "/Users/rebecca/code/npm" + "/Users/zkat/Documents/code/npm" ] ], - "_from": "rimraf@2.6.0", - "_id": "rimraf@2.6.0", + "_from": "rimraf@latest", + "_id": "rimraf@2.6.1", "_inCache": true, "_location": "/rimraf", "_nodeVersion": "8.0.0-pre", "_npmOperationalInternal": { - "host": "packages-12-west.internal.npmjs.com", - "tmp": "tmp/rimraf-2.6.0.tgz_1487455299128_0.33092148951254785" + "host": "packages-18-east.internal.npmjs.com", + "tmp": "tmp/rimraf-2.6.1.tgz_1487908074285_0.8205490333493799" }, "_npmUser": { "name": "isaacs", @@ -29,28 +29,28 @@ "_npmVersion": "4.3.0", "_phantomChildren": {}, "_requested": { - "raw": "rimraf@2.6.0", + "raw": "rimraf@latest", "scope": null, "escapedName": "rimraf", "name": "rimraf", - "rawSpec": "2.6.0", - "spec": "2.6.0", - "type": "version" + "rawSpec": "latest", + "spec": "latest", + "type": "tag" }, "_requiredBy": [ "#USER", "/", + "/@npmcorp/move", + "/@npmcorp/move/@npmcorp/copy", "/fs-vacuum", "/fstream", - "/node-gyp", - "/standard/eslint/file-entry-cache/flat-cache/del", - "/tacks" + "/node-gyp" ], - "_resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.0.tgz", - "_shasum": "89b8a0fe432b9ff9ec9a925a00b6cdb3a91bbada", + "_resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.1.tgz", + "_shasum": "c2338ec643df7a1b7fe5c54fa86f57428a55f33d", "_shrinkwrap": null, - "_spec": "rimraf@2.6.0", - "_where": "/Users/rebecca/code/npm", + "_spec": "rimraf@latest", + "_where": "/Users/zkat/Documents/code/npm", "author": { "name": "Isaac Z. Schlueter", "email": "i@izs.me", @@ -72,8 +72,8 @@ }, "directories": {}, "dist": { - "shasum": "89b8a0fe432b9ff9ec9a925a00b6cdb3a91bbada", - "tarball": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.0.tgz" + "shasum": "c2338ec643df7a1b7fe5c54fa86f57428a55f33d", + "tarball": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.1.tgz" }, "files": [ "LICENSE", @@ -81,7 +81,7 @@ "bin.js", "rimraf.js" ], - "gitHead": "5b661e45ff409d42251890cb1b993c9315803bbf", + "gitHead": "d84fe2cc6646d30a401baadcee22ae105a2d4909", "homepage": "https://github.com/isaacs/rimraf#readme", "license": "ISC", "main": "rimraf.js", @@ -101,5 +101,5 @@ "scripts": { "test": "tap test/*.js" }, - "version": "2.6.0" + "version": "2.6.1" } diff --git a/node_modules/rimraf/rimraf.js b/node_modules/rimraf/rimraf.js index e63321938..c26331265 100644 --- a/node_modules/rimraf/rimraf.js +++ b/node_modules/rimraf/rimraf.js @@ -350,10 +350,13 @@ function rmkidsSync (p, options) { var retries = isWindows ? 100 : 1 var i = 0 do { + var threw = true try { - return options.rmdirSync(p, options) + var ret = options.rmdirSync(p, options) + threw = false + return ret } finally { - if (++i < retries) + if (++i < retries && threw) continue } } while (true) |