summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/which
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/node_modules/which')
-rw-r--r--deps/npm/node_modules/which/CHANGELOG.md4
-rw-r--r--deps/npm/node_modules/which/package.json64
-rw-r--r--deps/npm/node_modules/which/which.js2
3 files changed, 37 insertions, 33 deletions
diff --git a/deps/npm/node_modules/which/CHANGELOG.md b/deps/npm/node_modules/which/CHANGELOG.md
index 8309580424..56106119e9 100644
--- a/deps/npm/node_modules/which/CHANGELOG.md
+++ b/deps/npm/node_modules/which/CHANGELOG.md
@@ -1,6 +1,10 @@
# Changes
+## v1.2.10
+
+* Use env.PATH only, not env.Path
+
## v1.2.9
* fix for paths starting with ../
diff --git a/deps/npm/node_modules/which/package.json b/deps/npm/node_modules/which/package.json
index 9f1f7a9fcd..27071d747a 100644
--- a/deps/npm/node_modules/which/package.json
+++ b/deps/npm/node_modules/which/package.json
@@ -2,56 +2,56 @@
"_args": [
[
{
- "name": "which",
- "raw": "which@1.2.9",
- "rawSpec": "1.2.9",
+ "raw": "which@latest",
"scope": null,
- "spec": "1.2.9",
- "type": "version"
+ "escapedName": "which",
+ "name": "which",
+ "rawSpec": "latest",
+ "spec": "latest",
+ "type": "tag"
},
- "/Users/zkat/Documents/code/npm"
+ "/Users/rebecca/code/npm"
]
],
- "_from": "which@1.2.9",
- "_id": "which@1.2.9",
+ "_from": "which@latest",
+ "_id": "which@1.2.10",
"_inCache": true,
"_installable": true,
"_location": "/which",
"_nodeVersion": "4.4.4",
"_npmOperationalInternal": {
- "host": "packages-16-east.internal.npmjs.com",
- "tmp": "tmp/which-1.2.9.tgz_1463603459182_0.9633393425028771"
+ "host": "packages-12-west.internal.npmjs.com",
+ "tmp": "tmp/which-1.2.10.tgz_1465116744337_0.4818702598568052"
},
"_npmUser": {
- "email": "i@izs.me",
- "name": "isaacs"
+ "name": "isaacs",
+ "email": "i@izs.me"
},
"_npmVersion": "3.9.1",
"_phantomChildren": {},
"_requested": {
- "name": "which",
- "raw": "which@1.2.9",
- "rawSpec": "1.2.9",
+ "raw": "which@latest",
"scope": null,
- "spec": "1.2.9",
- "type": "version"
+ "escapedName": "which",
+ "name": "which",
+ "rawSpec": "latest",
+ "spec": "latest",
+ "type": "tag"
},
"_requiredBy": [
+ "#USER",
"/",
"/node-gyp",
- "/tap/foreground-child",
- "/tap/foreground-child/cross-spawn-async",
- "/tap/nyc/istanbul",
- "/tap/nyc/spawn-wrap"
+ "/tap/foreground-child/cross-spawn"
],
- "_resolved": "https://registry.npmjs.org/which/-/which-1.2.9.tgz",
- "_shasum": "0b3a0e5c073bc10ca7b9ec13534eeef8a71ab61f",
+ "_resolved": "https://registry.npmjs.org/which/-/which-1.2.10.tgz",
+ "_shasum": "91cd9bd0751322411b659b40f054b21de957ab2d",
"_shrinkwrap": null,
- "_spec": "which@1.2.9",
- "_where": "/Users/zkat/Documents/code/npm",
+ "_spec": "which@latest",
+ "_where": "/Users/rebecca/code/npm",
"author": {
- "email": "i@izs.me",
"name": "Isaac Z. Schlueter",
+ "email": "i@izs.me",
"url": "http://blog.izs.me"
},
"bin": {
@@ -71,21 +71,21 @@
},
"directories": {},
"dist": {
- "shasum": "0b3a0e5c073bc10ca7b9ec13534eeef8a71ab61f",
- "tarball": "https://registry.npmjs.org/which/-/which-1.2.9.tgz"
+ "shasum": "91cd9bd0751322411b659b40f054b21de957ab2d",
+ "tarball": "https://registry.npmjs.org/which/-/which-1.2.10.tgz"
},
"files": [
"which.js",
"bin/which"
],
- "gitHead": "34aac93a4c4ee9e3c7a49fe09778ca942e636cce",
+ "gitHead": "3f590834623ee940d922e12b1c8b9cbf24bd5012",
"homepage": "https://github.com/isaacs/node-which#readme",
"license": "ISC",
"main": "which.js",
"maintainers": [
{
- "email": "i@izs.me",
- "name": "isaacs"
+ "name": "isaacs",
+ "email": "i@izs.me"
}
],
"name": "which",
@@ -100,5 +100,5 @@
"postversion": "npm run changelog && git add CHANGELOG.md && git commit -m 'update changelog - '${npm_package_version}",
"test": "tap test/*.js --cov"
},
- "version": "1.2.9"
+ "version": "1.2.10"
}
diff --git a/deps/npm/node_modules/which/which.js b/deps/npm/node_modules/which/which.js
index b61da894ff..5a9b15ca60 100644
--- a/deps/npm/node_modules/which/which.js
+++ b/deps/npm/node_modules/which/which.js
@@ -19,7 +19,7 @@ function getNotFoundError (cmd) {
function getPathInfo (cmd, opt) {
var colon = opt.colon || COLON
- var pathEnv = opt.path || process.env.Path || process.env.PATH || ''
+ var pathEnv = opt.path || process.env.PATH || ''
var pathExt = ['']
pathEnv = pathEnv.split(colon)