Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRebecca Turner <me@re-becca.org>2017-04-13 02:07:09 +0300
committerKat Marchán <kzm@sykosomatic.org>2017-04-28 01:02:12 +0300
commitf7cf4e4bb3f063b43e2220a8a37dcc4dcce7c4cf (patch)
treec53fb0a6f09346ade39855c9bb687eb06d5e337e /node_modules/npm-package-arg/package.json
parent887d9e84eab1e0107f748444376355356684e075 (diff)
npm-package-arg@5.0.1
Diffstat (limited to 'node_modules/npm-package-arg/package.json')
-rw-r--r--node_modules/npm-package-arg/package.json64
1 files changed, 34 insertions, 30 deletions
diff --git a/node_modules/npm-package-arg/package.json b/node_modules/npm-package-arg/package.json
index 61475cad0..2078c2ef5 100644
--- a/node_modules/npm-package-arg/package.json
+++ b/node_modules/npm-package-arg/package.json
@@ -2,53 +2,54 @@
"_args": [
[
{
+ "type": "tag",
+ "registry": true,
"raw": "npm-package-arg@latest",
- "scope": null,
- "escapedName": "npm-package-arg",
"name": "npm-package-arg",
+ "escapedName": "npm-package-arg",
"rawSpec": "latest",
- "spec": "latest",
- "type": "tag"
+ "saveSpec": null,
+ "fetchSpec": "latest"
},
- "/Users/zkat/Documents/code/npm"
+ "/Users/rebecca/code/npm"
]
],
"_from": "npm-package-arg@latest",
- "_id": "npm-package-arg@4.2.1",
+ "_id": "npm-package-arg@5.0.1",
"_inCache": true,
"_location": "/npm-package-arg",
- "_nodeVersion": "7.7.1",
+ "_nodeVersion": "7.7.4",
"_npmOperationalInternal": {
"host": "packages-18-east.internal.npmjs.com",
- "tmp": "tmp/npm-package-arg-4.2.1.tgz_1488928211600_0.17898930050432682"
+ "tmp": "tmp/npm-package-arg-5.0.1.tgz_1492211885788_0.7383633449207991"
},
"_npmUser": {
- "name": "zkat",
- "email": "kat@sykosomatic.org"
+ "name": "iarna",
+ "email": "me@re-becca.org"
},
- "_npmVersion": "4.1.2",
+ "_npmVersion": "4.5.0",
"_phantomChildren": {},
"_requested": {
+ "type": "tag",
+ "registry": true,
"raw": "npm-package-arg@latest",
- "scope": null,
- "escapedName": "npm-package-arg",
"name": "npm-package-arg",
+ "escapedName": "npm-package-arg",
"rawSpec": "latest",
- "spec": "latest",
- "type": "tag"
+ "saveSpec": null,
+ "fetchSpec": "latest"
},
"_requiredBy": [
"#USER",
"/",
"/init-package-json",
- "/npm-registry-client",
- "/realize-package-specifier"
+ "/npm-registry-client"
],
- "_resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-4.2.1.tgz",
- "_shasum": "593303fdea85f7c422775f17f9eb7670f680e3ec",
+ "_resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-5.0.1.tgz",
+ "_shasum": "09a816e3f45a549e3ddaf33e9bae5e7b31077872",
"_shrinkwrap": null,
"_spec": "npm-package-arg@latest",
- "_where": "/Users/zkat/Documents/code/npm",
+ "_where": "/Users/rebecca/code/npm",
"author": {
"name": "Isaac Z. Schlueter",
"email": "i@izs.me",
@@ -58,25 +59,27 @@
"url": "https://github.com/npm/npm-package-arg/issues"
},
"dependencies": {
- "hosted-git-info": "^2.1.5",
- "semver": "^5.1.0"
+ "hosted-git-info": "^2.4.2",
+ "osenv": "^0.1.4",
+ "semver": "^5.1.0",
+ "validate-npm-package-name": "^3.0.0"
},
"description": "Parse the things that can be arguments to `npm install`",
"devDependencies": {
- "standard": "^7.1.2",
- "tap": "^5.7.2"
+ "standard": "9.0.2",
+ "tap": "^10.3.0"
},
"directories": {
"test": "test"
},
"dist": {
- "shasum": "593303fdea85f7c422775f17f9eb7670f680e3ec",
- "tarball": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-4.2.1.tgz"
+ "shasum": "09a816e3f45a549e3ddaf33e9bae5e7b31077872",
+ "tarball": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-5.0.1.tgz"
},
"files": [
"npa.js"
],
- "gitHead": "2fa53ce9c3a000626e58c115205d4049c5b1ef42",
+ "gitHead": "c85a786857bcc51a6587bf980d724b82d3d4151d",
"homepage": "https://github.com/npm/npm-package-arg",
"license": "ISC",
"main": "npa.js",
@@ -100,13 +103,14 @@
],
"name": "npm-package-arg",
"optionalDependencies": {},
- "readme": "ERROR: No README data found!",
+ "readme": "# npm-package-arg\n\nParses package name and specifier passed to commands like `npm install` or\n`npm cache add`, or as found in `package.json` dependency sections.\n\n## EXAMPLES\n\n```javascript\nvar assert = require(\"assert\")\nvar npa = require(\"npm-package-arg\")\n\n// Pass in the descriptor, and it'll return an object\ntry {\n var parsed = npa(\"@bar/foo@1.2\")\n} catch (ex) {\n …\n}\n```\n\n## USING\n\n`var npa = require('npm-package-arg')`\n\n### var result = npa(*arg*[, *where*])\n\n* *arg* - a string that you might pass to `npm install`, like:\n`foo@1.2`, `@bar/foo@1.2`, `foo@user/foo`, `http://x.com/foo.tgz`,\n`git+https://github.com/user/foo`, `bitbucket:user/foo`, `foo.tar.gz`,\n`../foo/bar/` or `bar`. If the *arg* you provide doesn't have a specifier\npart, eg `foo` then the specifier will default to `latest`.\n* *where* - Optionally the path to resolve file paths relative to. Defaults to `process.cwd()`\n\n**Throws** if the package name is invalid, a dist-tag is invalid or a URL's protocol is not supported.\n\n### var result = npa.resolve(*name*, *spec*[, *where*])\n\n* *name* - The name of the module you want to install. For example: `foo` or `@bar/foo`.\n* *spec* - The specifier indicating where and how you can get this module. Something like:\n`1.2`, `^1.7.17`, `http://x.com/foo.tgz`, `git+https://github.com/user/foo`,\n`bitbucket:user/foo`, `file:foo.tar.gz` or `file:../foo/bar/`. If not\nincluded then the default is `latest`.\n* *where* - Optionally the path to resolve file paths relative to. Defaults to `process.cwd()`\n\n**Throws** if the package name is invalid, a dist-tag is invalid or a URL's protocol is not supported.\n\n## RESULT OBJECT\n\nThe objects that are returned by npm-package-arg contain the following\nkeys:\n\n* `type` - One of the following strings:\n * `git` - A git repo\n * `tag` - A tagged version, like `\"foo@latest\"`\n * `version` - A specific version number, like `\"foo@1.2.3\"`\n * `range` - A version range, like `\"foo@2.x\"`\n * `file` - A local `.tar.gz`, `.tar` or `.tgz` file.\n * `directory` - A local directory.\n * `remote` - An http url (presumably to a tgz)\n* `registry` - If true this specifier refers to a resource hosted on a\n registry. This is true for `tag`, `version` and `range` types.\n* `name` - If known, the `name` field expected in the resulting pkg.\n* `scope` - If a name is something like `@org/module` then the `scope`\n field will be set to `@org`. If it doesn't have a scoped name, then\n scope is `null`.\n* `escapedName` - A version of `name` escaped to match the npm scoped packages\n specification. Mostly used when making requests against a registry. When\n `name` is `null`, `escapedName` will also be `null`.\n* `rawSpec` - The specifier part that was parsed out in calls to `npa(arg)`,\n or the value of `spec` in calls to `npa.resolve(name, spec).\n* `saveSpec` - The normalized specifier, for saving to package.json files.\n `null` for registry dependencies.\n* `fetchSpec` - The version of the specifier to be used to fetch this\n resource. `null` for shortcuts to hosted git dependencies as there isn't\n just one URL to try with them.\n* `gitRange` - If set, this is a semver specifier to match against git tags with\n* `gitCommittish` - If set, this is the specific committish to use with a git dependency.\n* `hosted` - If `from === 'hosted'` then this will be a `hosted-git-info`\n object. This property is not included when serializing the object as\n JSON.\n* `raw` - The original un-modified string that was provided. If called as\n `npa.resolve(name, spec)` then this will be `name + '@' + spec`.\n",
+ "readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/npm/npm-package-arg.git"
},
"scripts": {
- "test": "standard && tap --coverage test/*.js"
+ "test": "standard && tap -J --coverage test/*.js"
},
- "version": "4.2.1"
+ "version": "5.0.1"
}