diff options
author | Kat Marchán <kzm@sykosomatic.org> | 2017-04-29 01:11:18 +0300 |
---|---|---|
committer | Rebecca Turner <me@re-becca.org> | 2017-05-26 02:13:33 +0300 |
commit | c8b66854adef8d91c4ad2b058db6f1ca48031b58 (patch) | |
tree | 5e34a1bc728c551d5fa1cbf6bd50d53a04c634f3 /node_modules/normalize-package-data | |
parent | cbaf1c914036bc8ac1f9ea965ccba4fd690c8c45 (diff) |
pacote@2.7.4
Diffstat (limited to 'node_modules/normalize-package-data')
3 files changed, 84 insertions, 148 deletions
diff --git a/node_modules/normalize-package-data/node_modules/is-builtin-module/node_modules/builtin-modules/package.json b/node_modules/normalize-package-data/node_modules/is-builtin-module/node_modules/builtin-modules/package.json index a1288015d..413d03e94 100644 --- a/node_modules/normalize-package-data/node_modules/is-builtin-module/node_modules/builtin-modules/package.json +++ b/node_modules/normalize-package-data/node_modules/is-builtin-module/node_modules/builtin-modules/package.json @@ -1,29 +1,18 @@ { - "_args": [ - [ - "builtin-modules@^1.0.0", - "/Users/rebecca/code/npm/node_modules/normalize-package-data/node_modules/is-builtin-module" - ] - ], - "_from": "builtin-modules@>=1.0.0 <2.0.0", + "_from": "builtin-modules@^1.0.0", "_id": "builtin-modules@1.1.1", - "_inCache": true, - "_installable": true, + "_integrity": "sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8=", "_location": "/normalize-package-data/is-builtin-module/builtin-modules", - "_nodeVersion": "5.3.0", - "_npmUser": { - "email": "sindresorhus@gmail.com", - "name": "sindresorhus" - }, - "_npmVersion": "3.3.12", "_phantomChildren": {}, "_requested": { - "name": "builtin-modules", + "type": "range", + "registry": true, "raw": "builtin-modules@^1.0.0", + "name": "builtin-modules", + "escapedName": "builtin-modules", "rawSpec": "^1.0.0", - "scope": null, - "spec": ">=1.0.0 <2.0.0", - "type": "range" + "saveSpec": null, + "fetchSpec": "^1.0.0" }, "_requiredBy": [ "/normalize-package-data/is-builtin-module" @@ -32,58 +21,49 @@ "_shasum": "270f076c5a72c02f5b65a47df94c5fe3a278892f", "_shrinkwrap": null, "_spec": "builtin-modules@^1.0.0", - "_where": "/Users/rebecca/code/npm/node_modules/normalize-package-data/node_modules/is-builtin-module", + "_where": "/Users/zkat/Documents/code/npm/node_modules/normalize-package-data/node_modules/is-builtin-module", "author": { - "email": "sindresorhus@gmail.com", "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, + "bin": null, "bugs": { "url": "https://github.com/sindresorhus/builtin-modules/issues" }, + "bundleDependencies": false, "dependencies": {}, + "deprecated": false, "description": "List of the Node.js builtin modules", "devDependencies": { "ava": "*", "xo": "*" }, - "directories": {}, - "dist": { - "shasum": "270f076c5a72c02f5b65a47df94c5fe3a278892f", - "tarball": "http://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz" - }, "engines": { "node": ">=0.10.0" }, "files": [ - "builtin-modules.json", "index.js", - "static.js" + "static.js", + "builtin-modules.json" ], - "gitHead": "0ea253452b1d8cb3a70d16464f909dbc0bc370fe", "homepage": "https://github.com/sindresorhus/builtin-modules#readme", "keywords": [ - "array", - "built-in", "builtin", + "built-in", "builtins", - "bundled", + "node", + "modules", "core", + "bundled", "list", - "modules", - "names", - "node" + "array", + "names" ], "license": "MIT", - "maintainers": [ - { - "name": "sindresorhus", - "email": "sindresorhus@gmail.com" - } - ], "name": "builtin-modules", "optionalDependencies": {}, - "readme": "ERROR: No README data found!", + "peerDependencies": {}, "repository": { "type": "git", "url": "git+https://github.com/sindresorhus/builtin-modules.git" diff --git a/node_modules/normalize-package-data/node_modules/is-builtin-module/package.json b/node_modules/normalize-package-data/node_modules/is-builtin-module/package.json index 3e0bf21f8..f4a98a833 100644 --- a/node_modules/normalize-package-data/node_modules/is-builtin-module/package.json +++ b/node_modules/normalize-package-data/node_modules/is-builtin-module/package.json @@ -1,26 +1,52 @@ { - "name": "is-builtin-module", - "version": "1.0.0", - "description": "Check if a string matches the name of a Node.js builtin module", - "license": "MIT", - "repository": { - "type": "git", - "url": "git+https://github.com/sindresorhus/is-builtin-module.git" + "_from": "is-builtin-module@^1.0.0", + "_id": "is-builtin-module@1.0.0", + "_integrity": "sha1-VAVy0096wxGfj3bDDLwbHgN6/74=", + "_location": "/normalize-package-data/is-builtin-module", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "is-builtin-module@^1.0.0", + "name": "is-builtin-module", + "escapedName": "is-builtin-module", + "rawSpec": "^1.0.0", + "saveSpec": null, + "fetchSpec": "^1.0.0" }, + "_requiredBy": [ + "/normalize-package-data" + ], + "_resolved": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-1.0.0.tgz", + "_shasum": "540572d34f7ac3119f8f76c30cbc1b1e037affbe", + "_shrinkwrap": null, + "_spec": "is-builtin-module@^1.0.0", + "_where": "/Users/zkat/Documents/code/npm/node_modules/normalize-package-data", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, + "bin": null, + "bugs": { + "url": "https://github.com/sindresorhus/is-builtin-module/issues" + }, + "bundleDependencies": false, + "dependencies": { + "builtin-modules": "^1.0.0" + }, + "deprecated": false, + "description": "Check if a string matches the name of a Node.js builtin module", + "devDependencies": { + "ava": "0.0.4" + }, "engines": { "node": ">=0.10.0" }, - "scripts": { - "test": "node test.js" - }, "files": [ "index.js" ], + "homepage": "https://github.com/sindresorhus/is-builtin-module#readme", "keywords": [ "builtin", "built-in", @@ -37,37 +63,16 @@ "check", "match" ], - "dependencies": { - "builtin-modules": "^1.0.0" - }, - "devDependencies": { - "ava": "0.0.4" - }, - "gitHead": "da55ebf031f3864c5d309e25e49ed816957d70a2", - "bugs": { - "url": "https://github.com/sindresorhus/is-builtin-module/issues" - }, - "homepage": "https://github.com/sindresorhus/is-builtin-module", - "_id": "is-builtin-module@1.0.0", - "_shasum": "540572d34f7ac3119f8f76c30cbc1b1e037affbe", - "_from": "is-builtin-module@>=1.0.0 <2.0.0", - "_npmVersion": "2.7.4", - "_nodeVersion": "0.12.2", - "_npmUser": { - "name": "sindresorhus", - "email": "sindresorhus@gmail.com" + "license": "MIT", + "name": "is-builtin-module", + "optionalDependencies": {}, + "peerDependencies": {}, + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/is-builtin-module.git" }, - "dist": { - "shasum": "540572d34f7ac3119f8f76c30cbc1b1e037affbe", - "tarball": "http://registry.npmjs.org/is-builtin-module/-/is-builtin-module-1.0.0.tgz" + "scripts": { + "test": "node test.js" }, - "maintainers": [ - { - "name": "sindresorhus", - "email": "sindresorhus@gmail.com" - } - ], - "directories": {}, - "_resolved": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-1.0.0.tgz", - "readme": "ERROR: No README data found!" + "version": "1.0.0" } diff --git a/node_modules/normalize-package-data/package.json b/node_modules/normalize-package-data/package.json index 2ab8dd3a0..121d7947e 100644 --- a/node_modules/normalize-package-data/package.json +++ b/node_modules/normalize-package-data/package.json @@ -1,60 +1,39 @@ { - "_args": [ - [ - { - "raw": "normalize-package-data@2.3.8", - "scope": null, - "escapedName": "normalize-package-data", - "name": "normalize-package-data", - "rawSpec": "2.3.8", - "spec": "2.3.8", - "type": "version" - }, - "/Users/rebecca/code/npm" - ] - ], - "_from": "normalize-package-data@2.3.8", + "_from": "normalize-package-data@~2.3.8", "_id": "normalize-package-data@2.3.8", - "_inCache": true, + "_integrity": "sha1-2Bntoqne29H/pWPqQHHZNngilbs=", "_location": "/normalize-package-data", - "_nodeVersion": "4.6.1", - "_npmOperationalInternal": { - "host": "packages-12-west.internal.npmjs.com", - "tmp": "tmp/normalize-package-data-2.3.8.tgz_1492736191668_0.44064528262242675" - }, - "_npmUser": { - "name": "iarna", - "email": "me@re-becca.org" - }, - "_npmVersion": "4.5.0", "_phantomChildren": {}, "_requested": { - "raw": "normalize-package-data@2.3.8", - "scope": null, - "escapedName": "normalize-package-data", + "type": "range", + "registry": true, + "raw": "normalize-package-data@~2.3.8", "name": "normalize-package-data", - "rawSpec": "2.3.8", - "spec": "2.3.8", - "type": "version" + "escapedName": "normalize-package-data", + "rawSpec": "~2.3.8", + "saveSpec": null, + "fetchSpec": "~2.3.8" }, "_requiredBy": [ - "#USER", "/", "/npm-registry-client", + "/pacote", "/read-package-json" ], "_resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.3.8.tgz", "_shasum": "d819eda2a9dedbd1ffa563ea4071d936782295bb", "_shrinkwrap": null, - "_spec": "normalize-package-data@2.3.8", - "_where": "/Users/rebecca/code/npm", + "_spec": "normalize-package-data@~2.3.8", + "_where": "/Users/zkat/Documents/code/npm", "author": { "name": "Meryn Stol", "email": "merynstol@gmail.com" }, + "bin": null, "bugs": { "url": "https://github.com/npm/normalize-package-data/issues" }, + "bundleDependencies": false, "contributors": [ { "name": "Isaac Z. Schlueter", @@ -75,52 +54,24 @@ "semver": "2 || 3 || 4 || 5", "validate-npm-package-license": "^3.0.1" }, + "deprecated": false, "description": "Normalizes data that can be found in package.json files.", "devDependencies": { "async": "^1.5.0", "tap": "^2.2.0", "underscore": "^1.8.3" }, - "directories": {}, - "dist": { - "shasum": "d819eda2a9dedbd1ffa563ea4071d936782295bb", - "tarball": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.3.8.tgz" - }, "files": [ "lib/*.js", "lib/*.json", "AUTHORS" ], - "gitHead": "6ba494919aa5f8aa7bb2881a136eefbd04b9d141", "homepage": "https://github.com/npm/normalize-package-data#readme", "license": "BSD-2-Clause", "main": "lib/normalize.js", - "maintainers": [ - { - "name": "iarna", - "email": "me@re-becca.org" - }, - { - "name": "isaacs", - "email": "isaacs@npmjs.com" - }, - { - "name": "meryn", - "email": "merynstol@gmail.com" - }, - { - "name": "othiym23", - "email": "ogd@aoaioxxysz.net" - }, - { - "name": "zkat", - "email": "kat@sykosomatic.org" - } - ], "name": "normalize-package-data", "optionalDependencies": {}, - "readme": "# normalize-package-data [![Build Status](https://travis-ci.org/npm/normalize-package-data.png?branch=master)](https://travis-ci.org/npm/normalize-package-data)\n\nnormalize-package-data exports a function that normalizes package metadata. This data is typically found in a package.json file, but in principle could come from any source - for example the npm registry.\n\nnormalize-package-data is used by [read-package-json](https://npmjs.org/package/read-package-json) to normalize the data it reads from a package.json file. In turn, read-package-json is used by [npm](https://npmjs.org/package/npm) and various npm-related tools.\n\n## Installation\n\n```\nnpm install normalize-package-data\n```\n\n## Usage\n\nBasic usage is really simple. You call the function that normalize-package-data exports. Let's call it `normalizeData`.\n\n```javascript\nnormalizeData = require('normalize-package-data')\npackageData = require(\"./package.json\")\nnormalizeData(packageData)\n// packageData is now normalized\n```\n\n#### Strict mode\n\nYou may activate strict validation by passing true as the second argument.\n\n```javascript\nnormalizeData = require('normalize-package-data')\npackageData = require(\"./package.json\")\nnormalizeData(packageData, true)\n// packageData is now normalized\n```\n\nIf strict mode is activated, only Semver 2.0 version strings are accepted. Otherwise, Semver 1.0 strings are accepted as well. Packages must have a name, and the name field must not have contain leading or trailing whitespace.\n\n#### Warnings\n\nOptionally, you may pass a \"warning\" function. It gets called whenever the `normalizeData` function encounters something that doesn't look right. It indicates less than perfect input data.\n\n```javascript\nnormalizeData = require('normalize-package-data')\npackageData = require(\"./package.json\")\nwarnFn = function(msg) { console.error(msg) }\nnormalizeData(packageData, warnFn)\n// packageData is now normalized. Any number of warnings may have been logged.\n```\n\nYou may combine strict validation with warnings by passing `true` as the second argument, and `warnFn` as third.\n\nWhen `private` field is set to `true`, warnings will be suppressed.\n\n### Potential exceptions\n\nIf the supplied data has an invalid name or version vield, `normalizeData` will throw an error. Depending on where you call `normalizeData`, you may want to catch these errors so can pass them to a callback.\n\n## What normalization (currently) entails\n\n* The value of `name` field gets trimmed (unless in strict mode).\n* The value of the `version` field gets cleaned by `semver.clean`. See [documentation for the semver module](https://github.com/isaacs/node-semver).\n* If `name` and/or `version` fields are missing, they are set to empty strings.\n* If `files` field is not an array, it will be removed.\n* If `bin` field is a string, then `bin` field will become an object with `name` set to the value of the `name` field, and `bin` set to the original string value.\n* If `man` field is a string, it will become an array with the original string as its sole member.\n* If `keywords` field is string, it is considered to be a list of keywords separated by one or more white-space characters. It gets converted to an array by splitting on `\\s+`.\n* All people fields (`author`, `maintainers`, `contributors`) get converted into objects with name, email and url properties.\n* If `bundledDependencies` field (a typo) exists and `bundleDependencies` field does not, `bundledDependencies` will get renamed to `bundleDependencies`.\n* If the value of any of the dependencies fields (`dependencies`, `devDependencies`, `optionalDependencies`) is a string, it gets converted into an object with familiar `name=>value` pairs.\n* The values in `optionalDependencies` get added to `dependencies`. The `optionalDependencies` array is left untouched.\n* As of v2: Dependencies that point at known hosted git providers (currently: github, bitbucket, gitlab) will have their URLs canonicalized, but protocols will be preserved.\n* As of v2: Dependencies that use shortcuts for hosted git providers (`org/proj`, `github:org/proj`, `bitbucket:org/proj`, `gitlab:org/proj`, `gist:docid`) will have the shortcut left in place. (In the case of github, the `org/proj` form will be expanded to `github:org/proj`.) THIS MARKS A BREAKING CHANGE FROM V1, where the shorcut was previously expanded to a URL.\n* If `description` field does not exist, but `readme` field does, then (more or less) the first paragraph of text that's found in the readme is taken as value for `description`.\n* If `repository` field is a string, it will become an object with `url` set to the original string value, and `type` set to `\"git\"`.\n* If `repository.url` is not a valid url, but in the style of \"[owner-name]/[repo-name]\", `repository.url` will be set to git+https://github.com/[owner-name]/[repo-name].git\n* If `bugs` field is a string, the value of `bugs` field is changed into an object with `url` set to the original string value.\n* If `bugs` field does not exist, but `repository` field points to a repository hosted on GitHub, the value of the `bugs` field gets set to an url in the form of https://github.com/[owner-name]/[repo-name]/issues . If the repository field points to a GitHub Gist repo url, the associated http url is chosen.\n* If `bugs` field is an object, the resulting value only has email and url properties. If email and url properties are not strings, they are ignored. If no valid values for either email or url is found, bugs field will be removed.\n* If `homepage` field is not a string, it will be removed.\n* If the url in the `homepage` field does not specify a protocol, then http is assumed. For example, `myproject.org` will be changed to `http://myproject.org`.\n* If `homepage` field does not exist, but `repository` field points to a repository hosted on GitHub, the value of the `homepage` field gets set to an url in the form of https://github.com/[owner-name]/[repo-name]#readme . If the repository field points to a GitHub Gist repo url, the associated http url is chosen.\n\n### Rules for name field\n\nIf `name` field is given, the value of the name field must be a string. The string may not:\n\n* start with a period.\n* contain the following characters: `/@\\s+%`\n* contain any characters that would need to be encoded for use in urls.\n* resemble the word `node_modules` or `favicon.ico` (case doesn't matter).\n\n### Rules for version field\n\nIf `version` field is given, the value of the version field must be a valid *semver* string, as determined by the `semver.valid` method. See [documentation for the semver module](https://github.com/isaacs/node-semver).\n\n### Rules for license field\n\nThe `license` field should be a valid *SPDX license expression* or one of the special values allowed by [validate-npm-package-license](https://npmjs.com/packages/validate-npm-package-license). See [documentation for the license field in package.json](https://docs.npmjs.com/files/package.json#license).\n\n## Credits\n\nThis package contains code based on read-package-json written by Isaac Z. Schlueter. Used with permisson.\n\n## License\n\nnormalize-package-data is released under the [BSD 2-Clause License](http://opensource.org/licenses/MIT). \nCopyright (c) 2013 Meryn Stol \n", - "readmeFilename": "README.md", + "peerDependencies": {}, "repository": { "type": "git", "url": "git://github.com/npm/normalize-package-data.git" |