aboutsummaryrefslogtreecommitdiff
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/node_modules/isexe/package.json37
-rw-r--r--deps/npm/node_modules/which/package.json47
2 files changed, 26 insertions, 58 deletions
diff --git a/deps/npm/node_modules/which/node_modules/isexe/package.json b/deps/npm/node_modules/which/node_modules/isexe/package.json
index 647f401775..d9e2abbf8a 100644
--- a/deps/npm/node_modules/which/node_modules/isexe/package.json
+++ b/deps/npm/node_modules/which/node_modules/isexe/package.json
@@ -1,31 +1,18 @@
{
- "_args": [
- [
- {
- "raw": "isexe@^2.0.0",
- "scope": null,
- "escapedName": "isexe",
- "name": "isexe",
- "rawSpec": "^2.0.0",
- "spec": ">=2.0.0 <3.0.0",
- "type": "range"
- },
- "/Users/rebecca/code/npm/node_modules/which"
- ]
- ],
"_from": "isexe@^2.0.0",
- "_hasShrinkwrap": false,
"_id": "isexe@2.0.0",
+ "_integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=",
"_location": "/which/isexe",
"_phantomChildren": {},
"_requested": {
+ "type": "range",
+ "registry": true,
"raw": "isexe@^2.0.0",
- "scope": null,
- "escapedName": "isexe",
"name": "isexe",
+ "escapedName": "isexe",
"rawSpec": "^2.0.0",
- "spec": ">=2.0.0 <3.0.0",
- "type": "range"
+ "saveSpec": null,
+ "fetchSpec": "^2.0.0"
},
"_requiredBy": [
"/which"
@@ -34,16 +21,19 @@
"_shasum": "e8fbf374dc556ff8947a10dcb0572d633f2cfa10",
"_shrinkwrap": null,
"_spec": "isexe@^2.0.0",
- "_where": "/Users/rebecca/code/npm/node_modules/which",
+ "_where": "/Users/zkat/Documents/code/npm/node_modules/which",
"author": {
"name": "Isaac Z. Schlueter",
"email": "i@izs.me",
"url": "http://blog.izs.me/"
},
+ "bin": null,
"bugs": {
"url": "https://github.com/isaacs/isexe/issues"
},
+ "bundleDependencies": false,
"dependencies": {},
+ "deprecated": false,
"description": "Minimal module to check if a file is executable.",
"devDependencies": {
"mkdirp": "^0.5.1",
@@ -53,18 +43,13 @@
"directories": {
"test": "test"
},
- "dist": {
- "shasum": "e8fbf374dc556ff8947a10dcb0572d633f2cfa10",
- "tarball": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz"
- },
"homepage": "https://github.com/isaacs/isexe#readme",
"keywords": [],
"license": "ISC",
"main": "index.js",
"name": "isexe",
"optionalDependencies": {},
- "readme": "# isexe\n\nMinimal module to check if a file is executable, and a normal file.\n\nUses `fs.stat` and tests against the `PATHEXT` environment variable on\nWindows.\n\n## USAGE\n\n```javascript\nvar isexe = require('isexe')\nisexe('some-file-name', function (err, isExe) {\n if (err) {\n console.error('probably file does not exist or something', err)\n } else if (isExe) {\n console.error('this thing can be run')\n } else {\n console.error('cannot be run')\n }\n})\n\n// same thing but synchronous, throws errors\nvar isExe = isexe.sync('some-file-name')\n\n// treat errors as just \"not executable\"\nisexe('maybe-missing-file', { ignoreErrors: true }, callback)\nvar isExe = isexe.sync('maybe-missing-file', { ignoreErrors: true })\n```\n\n## API\n\n### `isexe(path, [options], [callback])`\n\nCheck if the path is executable. If no callback provided, and a\nglobal `Promise` object is available, then a Promise will be returned.\n\nWill raise whatever errors may be raised by `fs.stat`, unless\n`options.ignoreErrors` is set to true.\n\n### `isexe.sync(path, [options])`\n\nSame as `isexe` but returns the value and throws any errors raised.\n\n### Options\n\n* `ignoreErrors` Treat all errors as \"no, this is not executable\", but\n don't raise them.\n* `uid` Number to use as the user id\n* `gid` Number to use as the group id\n* `pathExt` List of path extensions to use instead of `PATHEXT`\n environment variable on Windows.\n",
- "readmeFilename": "README.md",
+ "peerDependencies": {},
"repository": {
"type": "git",
"url": "git+https://github.com/isaacs/isexe.git"
diff --git a/deps/npm/node_modules/which/package.json b/deps/npm/node_modules/which/package.json
index 8107d67899..83bcfabfe9 100644
--- a/deps/npm/node_modules/which/package.json
+++ b/deps/npm/node_modules/which/package.json
@@ -1,44 +1,31 @@
{
- "_args": [
- [
- {
- "raw": "which@1.2.14",
- "scope": null,
- "escapedName": "which",
- "name": "which",
- "rawSpec": "1.2.14",
- "spec": "1.2.14",
- "type": "version"
- },
- "/Users/rebecca/code/npm"
- ]
- ],
- "_from": "which@1.2.14",
- "_hasShrinkwrap": false,
+ "_from": "which@~1.2.14",
"_id": "which@1.2.14",
+ "_integrity": "sha1-mofEN48D6CfOyvGs31bHNsAcFOU=",
"_location": "/which",
"_phantomChildren": {},
"_requested": {
- "raw": "which@1.2.14",
- "scope": null,
- "escapedName": "which",
+ "type": "range",
+ "registry": true,
+ "raw": "which@~1.2.14",
"name": "which",
- "rawSpec": "1.2.14",
- "spec": "1.2.14",
- "type": "version"
+ "escapedName": "which",
+ "rawSpec": "~1.2.14",
+ "saveSpec": null,
+ "fetchSpec": "~1.2.14"
},
"_requiredBy": [
- "#USER",
"/",
"/node-gyp",
+ "/pacote",
"/tap/foreground-child/cross-spawn",
"/update-notifier/boxen/term-size/execa/cross-spawn-async"
],
"_resolved": "https://registry.npmjs.org/which/-/which-1.2.14.tgz",
"_shasum": "9a87c4378f03e827cecaf1acdf56c736c01c14e5",
"_shrinkwrap": null,
- "_spec": "which@1.2.14",
- "_where": "/Users/rebecca/code/npm",
+ "_spec": "which@~1.2.14",
+ "_where": "/Users/zkat/Documents/code/npm",
"author": {
"name": "Isaac Z. Schlueter",
"email": "i@izs.me",
@@ -50,20 +37,17 @@
"bugs": {
"url": "https://github.com/isaacs/node-which/issues"
},
+ "bundleDependencies": false,
"dependencies": {
"isexe": "^2.0.0"
},
+ "deprecated": false,
"description": "Like which(1) unix command. Find the first instance of an executable in the PATH.",
"devDependencies": {
"mkdirp": "^0.5.0",
"rimraf": "^2.3.3",
"tap": "^10.3.0"
},
- "directories": {},
- "dist": {
- "shasum": "9a87c4378f03e827cecaf1acdf56c736c01c14e5",
- "tarball": "https://registry.npmjs.org/which/-/which-1.2.14.tgz"
- },
"files": [
"which.js",
"bin/which"
@@ -73,8 +57,7 @@
"main": "which.js",
"name": "which",
"optionalDependencies": {},
- "readme": "# which\n\nLike the unix `which` utility.\n\nFinds the first instance of a specified executable in the PATH\nenvironment variable. Does not cache the results, so `hash -r` is not\nneeded when the PATH changes.\n\n## USAGE\n\n```javascript\nvar which = require('which')\n\n// async usage\nwhich('node', function (er, resolvedPath) {\n // er is returned if no \"node\" is found on the PATH\n // if it is found, then the absolute path to the exec is returned\n})\n\n// sync usage\n// throws if not found\nvar resolved = which.sync('node')\n\n// Pass options to override the PATH and PATHEXT environment vars.\nwhich('node', { path: someOtherPath }, function (er, resolved) {\n if (er)\n throw er\n console.log('found at %j', resolved)\n})\n```\n\n## CLI USAGE\n\nSame as the BSD `which(1)` binary.\n\n```\nusage: which [-as] program ...\n```\n\n## OPTIONS\n\nYou may pass an options object as the second argument.\n\n- `path`: Use instead of the `PATH` environment variable.\n- `pathExt`: Use instead of the `PATHEXT` environment variable.\n- `all`: Return all matches, instead of just the first one. Note that\n this means the function returns an array of strings instead of a\n single string.\n",
- "readmeFilename": "README.md",
+ "peerDependencies": {},
"repository": {
"type": "git",
"url": "git://github.com/isaacs/node-which.git"