summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/which
diff options
context:
space:
mode:
authorForrest L Norvell <forrest@npmjs.com>2015-03-06 02:57:32 -0600
committercjihrig <cjihrig@gmail.com>2015-03-06 11:20:05 -0500
commitfe14802fb700c5fea08b7c54f4298c3ac44a5c15 (patch)
tree74b43bf61e98f366089a416e4fe36b2f1256cd5d /deps/npm/node_modules/which
parentc09c90c1a9e74ee4f29a051daf10bc4c5d5f7755 (diff)
downloadnode-new-fe14802fb700c5fea08b7c54f4298c3ac44a5c15.tar.gz
deps: upgrade npm to 2.7.0
PR-URL: https://github.com/iojs/io.js/pull/1080 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'deps/npm/node_modules/which')
-rw-r--r--deps/npm/node_modules/which/package.json21
-rw-r--r--deps/npm/node_modules/which/which.js2
2 files changed, 13 insertions, 10 deletions
diff --git a/deps/npm/node_modules/which/package.json b/deps/npm/node_modules/which/package.json
index 079989abc0..d2b7b166fc 100644
--- a/deps/npm/node_modules/which/package.json
+++ b/deps/npm/node_modules/which/package.json
@@ -6,7 +6,7 @@
},
"name": "which",
"description": "Like which(1) unix command. Find the first instance of an executable in the PATH.",
- "version": "1.0.8",
+ "version": "1.0.9",
"repository": {
"type": "git",
"url": "git://github.com/isaacs/node-which.git"
@@ -16,17 +16,17 @@
"which": "./bin/which"
},
"license": "ISC",
- "gitHead": "681a9ebbc447cb428232ddf6c0983006d89e7755",
+ "gitHead": "df3d52a0ecd5f366d550e0f14d67ca4d5e621bad",
"bugs": {
"url": "https://github.com/isaacs/node-which/issues"
},
"homepage": "https://github.com/isaacs/node-which",
- "_id": "which@1.0.8",
+ "_id": "which@1.0.9",
"scripts": {},
- "_shasum": "c2ff319534ac4a1fa45df2221b56c36279903ded",
- "_from": "which@>=1.0.8 <1.1.0",
- "_npmVersion": "2.1.11",
- "_nodeVersion": "0.10.16",
+ "_shasum": "460c1da0f810103d0321a9b633af9e575e64486f",
+ "_from": "which@>=1.0.9 <1.1.0",
+ "_npmVersion": "2.6.0",
+ "_nodeVersion": "1.1.0",
"_npmUser": {
"name": "isaacs",
"email": "i@izs.me"
@@ -38,9 +38,10 @@
}
],
"dist": {
- "shasum": "c2ff319534ac4a1fa45df2221b56c36279903ded",
- "tarball": "http://registry.npmjs.org/which/-/which-1.0.8.tgz"
+ "shasum": "460c1da0f810103d0321a9b633af9e575e64486f",
+ "tarball": "http://registry.npmjs.org/which/-/which-1.0.9.tgz"
},
"directories": {},
- "_resolved": "https://registry.npmjs.org/which/-/which-1.0.8.tgz"
+ "_resolved": "https://registry.npmjs.org/which/-/which-1.0.9.tgz",
+ "readme": "ERROR: No README data found!"
}
diff --git a/deps/npm/node_modules/which/which.js b/deps/npm/node_modules/which/which.js
index f19dd335bc..2a45417dac 100644
--- a/deps/npm/node_modules/which/which.js
+++ b/deps/npm/node_modules/which/which.js
@@ -16,7 +16,9 @@ if (process.platform == "win32") {
//console.error("isExe?", (mod & 0111).toString(8))
var ret = (mod & 0001)
|| (mod & 0010) && process.getgid && gid === process.getgid()
+ || (mod & 0010) && process.getuid && 0 === process.getuid()
|| (mod & 0100) && process.getuid && uid === process.getuid()
+ || (mod & 0100) && process.getuid && 0 === process.getuid()
//console.error("isExe?", ret)
return ret
}