diff options
author | Rebecca Turner <me@re-becca.org> | 2015-09-17 00:15:25 +0300 |
---|---|---|
committer | Rebecca Turner <me@re-becca.org> | 2015-09-18 01:20:21 +0300 |
commit | 55f12856b69cf132ac46ec9922e80c9657d66492 (patch) | |
tree | e6f305e082e8a86b71d530bc38609d9426d26571 /node_modules/normalize-package-data | |
parent | 2c7dc29374c13a3e05da1c32894ff72630924ad7 (diff) |
normalize-package-data@2.3.4
Diffstat (limited to 'node_modules/normalize-package-data')
4 files changed, 33 insertions, 59 deletions
diff --git a/node_modules/normalize-package-data/README.md b/node_modules/normalize-package-data/README.md index da4d9f651..9f412a0ac 100644 --- a/node_modules/normalize-package-data/README.md +++ b/node_modules/normalize-package-data/README.md @@ -72,7 +72,7 @@ If the supplied data has an invalid name or version vield, `normalizeData` will * 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. * 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`. * If `repository` field is a string, it will become an object with `url` set to the original string value, and `type` set to `"git"`. -* If `repository.url` is not a valid url, but in the style of "[owner-name]/[repo-name]", `repository.url` will be set to https://github.com/[owner-name]/[repo-name] +* 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 * If `bugs` field is a string, the value of `bugs` field is changed into an object with `url` set to the original string value. * 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. * 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. diff --git a/node_modules/normalize-package-data/lib/core_module_names.json b/node_modules/normalize-package-data/lib/core_module_names.json deleted file mode 100644 index 637c2f073..000000000 --- a/node_modules/normalize-package-data/lib/core_module_names.json +++ /dev/null @@ -1,29 +0,0 @@ -[ -"http", -"events", -"util", -"domain", -"cluster", -"buffer", -"stream", -"crypto", -"tls", -"fs", -"string_decoder", -"path", -"net", -"dgram", -"dns", -"https", -"url", -"punycode", -"readline", -"repl", -"vm", -"child_process", -"assert", -"zlib", -"tty", -"os", -"querystring" -] diff --git a/node_modules/normalize-package-data/lib/fixer.js b/node_modules/normalize-package-data/lib/fixer.js index c96f0bcc4..5f64f01d7 100644 --- a/node_modules/normalize-package-data/lib/fixer.js +++ b/node_modules/normalize-package-data/lib/fixer.js @@ -1,11 +1,11 @@ var semver = require("semver") var validateLicense = require('validate-npm-package-license'); var hostedGitInfo = require("hosted-git-info") +var isBuiltinModule = require("is-builtin-module") var depTypes = ["dependencies","devDependencies","optionalDependencies"] var extractDescription = require("./extract_description") var url = require("url") var typos = require("./typos") -var coreModuleNames = require("./core_module_names") var fixer = module.exports = { // default warning function @@ -208,7 +208,7 @@ var fixer = module.exports = { if (!strict) data.name = data.name.trim() ensureValidName(data.name, strict, options.allowLegacyCase) - if (coreModuleNames.indexOf(data.name) !== -1) + if (isBuiltinModule(data.name)) this.warn("conflictingName", data.name) } diff --git a/node_modules/normalize-package-data/package.json b/node_modules/normalize-package-data/package.json index fa1fb33d8..762dd8e2e 100644 --- a/node_modules/normalize-package-data/package.json +++ b/node_modules/normalize-package-data/package.json @@ -1,30 +1,27 @@ { "_args": [ [ - "normalize-package-data@~2.3.2", - "/Users/ogd/Documents/projects/npm/npm" + "normalize-package-data@~2.3.3", + "/Users/rebecca/code/npm" ] ], - "_from": "normalize-package-data@>=2.3.2 <2.4.0", - "_id": "normalize-package-data@2.3.2", + "_from": "normalize-package-data@>=2.3.3 <2.4.0", + "_id": "normalize-package-data@2.3.4", "_inCache": true, "_location": "/normalize-package-data", - "_nodeVersion": "2.5.0", + "_nodeVersion": "2.2.2", "_npmUser": { - "email": "ogd@aoaioxxysz.net", - "name": "othiym23" - }, - "_npmVersion": "2.14.1", - "_phantomChildren": { - "spdx-correct": "1.0.0", - "spdx-expression-parse": "1.0.0" + "email": "kat@sykosomatic.org", + "name": "zkat" }, + "_npmVersion": "2.14.3", + "_phantomChildren": {}, "_requested": { "name": "normalize-package-data", - "raw": "normalize-package-data@~2.3.2", - "rawSpec": "~2.3.2", + "raw": "normalize-package-data@~2.3.3", + "rawSpec": "~2.3.3", "scope": null, - "spec": ">=2.3.2 <2.4.0", + "spec": ">=2.3.3 <2.4.0", "type": "range" }, "_requiredBy": [ @@ -32,10 +29,11 @@ "/npm-registry-client", "/read-package-json" ], - "_shasum": "ff6d437374188a21921c85fbe5ad11e34ae6ead5", + "_resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.3.4.tgz", + "_shasum": "b92233ce6ef04fbd6bc0c05dead155af33a623e0", "_shrinkwrap": null, - "_spec": "normalize-package-data@~2.3.2", - "_where": "/Users/ogd/Documents/projects/npm/npm", + "_spec": "normalize-package-data@~2.3.3", + "_where": "/Users/rebecca/code/npm", "author": { "email": "merynstol@gmail.com", "name": "Meryn Stol" @@ -59,6 +57,7 @@ ], "dependencies": { "hosted-git-info": "^2.0.2", + "is-builtin-module": "^1.0.0", "semver": "2 || 3 || 4 || 5", "validate-npm-package-license": "^3.0.1" }, @@ -70,30 +69,34 @@ }, "directories": {}, "dist": { - "shasum": "ff6d437374188a21921c85fbe5ad11e34ae6ead5", - "tarball": "http://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.3.2.tgz" + "shasum": "b92233ce6ef04fbd6bc0c05dead155af33a623e0", + "tarball": "http://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.3.4.tgz" }, - "gitHead": "c0518cf9a352af940fee94b1d3144da576c3e44b", + "gitHead": "0aa15b23116f2dfd086f1ed6bf213cbb7e7490dd", "homepage": "https://github.com/npm/normalize-package-data#readme", "installable": true, "license": "BSD-2-Clause", "main": "lib/normalize.js", "maintainers": [ { - "name": "meryn", - "email": "merynstol@gmail.com" + "name": "iarna", + "email": "me@re-becca.org" }, { "name": "isaacs", - "email": "i@izs.me" + "email": "isaacs@npmjs.com" + }, + { + "name": "meryn", + "email": "merynstol@gmail.com" }, { "name": "othiym23", "email": "ogd@aoaioxxysz.net" }, { - "name": "iarna", - "email": "me@re-becca.org" + "name": "zkat", + "email": "kat@sykosomatic.org" } ], "name": "normalize-package-data", @@ -105,5 +108,5 @@ "scripts": { "test": "tap test/*.js" }, - "version": "2.3.2" + "version": "2.3.4" } |