diff options
author | Rebecca Turner <me@re-becca.org> | 2016-11-18 00:12:07 +0300 |
---|---|---|
committer | Rebecca Turner <me@re-becca.org> | 2016-11-18 01:38:50 +0300 |
commit | bfc4a1c0c17ef0a00dfaa09beba3389598a46535 (patch) | |
tree | 9cf48f350673092309e5d9f2323d05beb2dd0f20 /node_modules/which | |
parent | 3e13fea907ee1141506a6de7d26cbc91c28fdb80 (diff) |
which@1.2.12
Remove unused require.
Credit: @isaacs
Diffstat (limited to 'node_modules/which')
-rw-r--r-- | node_modules/which/CHANGELOG.md | 4 | ||||
-rw-r--r-- | node_modules/which/package.json | 38 | ||||
-rw-r--r-- | node_modules/which/which.js | 1 |
3 files changed, 23 insertions, 20 deletions
diff --git a/node_modules/which/CHANGELOG.md b/node_modules/which/CHANGELOG.md index f2c6e4fd3..698e8edb0 100644 --- a/node_modules/which/CHANGELOG.md +++ b/node_modules/which/CHANGELOG.md @@ -1,6 +1,10 @@ # Changes +## v1.2.12 + +* Removed unused require + ## v1.2.11 * Prevent changelog script from being included in package diff --git a/node_modules/which/package.json b/node_modules/which/package.json index dcdb66c9e..0b19be4e3 100644 --- a/node_modules/which/package.json +++ b/node_modules/which/package.json @@ -2,39 +2,39 @@ "_args": [ [ { - "raw": "which@1.2.11", + "raw": "which@1.2.12", "scope": null, "escapedName": "which", "name": "which", - "rawSpec": "1.2.11", - "spec": "1.2.11", + "rawSpec": "1.2.12", + "spec": "1.2.12", "type": "version" }, - "/Users/zkat/Documents/code/npm" + "/Users/rebecca/code/npm-latest" ] ], - "_from": "which@1.2.11", - "_id": "which@1.2.11", + "_from": "which@1.2.12", + "_id": "which@1.2.12", "_inCache": true, "_location": "/which", "_nodeVersion": "6.5.0", "_npmOperationalInternal": { "host": "packages-12-west.internal.npmjs.com", - "tmp": "tmp/which-1.2.11.tgz_1473093398489_0.1032072464004159" + "tmp": "tmp/which-1.2.12.tgz_1478902859933_0.6313941152766347" }, "_npmUser": { "name": "isaacs", "email": "i@izs.me" }, - "_npmVersion": "3.10.7", + "_npmVersion": "3.10.9", "_phantomChildren": {}, "_requested": { - "raw": "which@1.2.11", + "raw": "which@1.2.12", "scope": null, "escapedName": "which", "name": "which", - "rawSpec": "1.2.11", - "spec": "1.2.11", + "rawSpec": "1.2.12", + "spec": "1.2.12", "type": "version" }, "_requiredBy": [ @@ -43,11 +43,11 @@ "/node-gyp", "/tap/foreground-child/cross-spawn" ], - "_resolved": "https://registry.npmjs.org/which/-/which-1.2.11.tgz", - "_shasum": "c8b2eeea6b8c1659fa7c1dd4fdaabe9533dc5e8b", + "_resolved": "https://registry.npmjs.org/which/-/which-1.2.12.tgz", + "_shasum": "de67b5e450269f194909ef23ece4ebe416fa1192", "_shrinkwrap": null, - "_spec": "which@1.2.11", - "_where": "/Users/zkat/Documents/code/npm", + "_spec": "which@1.2.12", + "_where": "/Users/rebecca/code/npm-latest", "author": { "name": "Isaac Z. Schlueter", "email": "i@izs.me", @@ -70,14 +70,14 @@ }, "directories": {}, "dist": { - "shasum": "c8b2eeea6b8c1659fa7c1dd4fdaabe9533dc5e8b", - "tarball": "https://registry.npmjs.org/which/-/which-1.2.11.tgz" + "shasum": "de67b5e450269f194909ef23ece4ebe416fa1192", + "tarball": "https://registry.npmjs.org/which/-/which-1.2.12.tgz" }, "files": [ "which.js", "bin/which" ], - "gitHead": "8a7d0aa1ca10173f9f4d84bf528a3efc1f5d0c6f", + "gitHead": "5db2078bc2ec50d5c5f3d324e1ffcc2348b9cbbd", "homepage": "https://github.com/isaacs/node-which#readme", "license": "ISC", "main": "which.js", @@ -99,5 +99,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.11" + "version": "1.2.12" } diff --git a/node_modules/which/which.js b/node_modules/which/which.js index 5a9b15ca6..70d974c18 100644 --- a/node_modules/which/which.js +++ b/node_modules/which/which.js @@ -8,7 +8,6 @@ var isWindows = process.platform === 'win32' || var path = require('path') var COLON = isWindows ? ';' : ':' var isexe = require('isexe') -var fs = require('fs') function getNotFoundError (cmd) { var er = new Error('not found: ' + cmd) |