diff options
author | Rebecca Turner <me@re-becca.org> | 2017-06-27 01:17:12 +0300 |
---|---|---|
committer | Rebecca Turner <me@re-becca.org> | 2017-06-27 01:24:42 +0300 |
commit | b8ccefa55cc7f058fbf665a7e051b5e5208144dd (patch) | |
tree | c5568d5afcb432f223c7deddea6961a6f8394963 /node_modules/normalize-package-data | |
parent | 6f7a634cfd5cac28812af5c6fb4dc881b807e127 (diff) |
normalize-package-data@2.4.0
Diffstat (limited to 'node_modules/normalize-package-data')
-rw-r--r-- | node_modules/normalize-package-data/lib/fixer.js | 3 | ||||
-rw-r--r-- | node_modules/normalize-package-data/lib/warning_messages.json | 1 | ||||
-rw-r--r-- | node_modules/normalize-package-data/package.json | 30 |
3 files changed, 15 insertions, 19 deletions
diff --git a/node_modules/normalize-package-data/lib/fixer.js b/node_modules/normalize-package-data/lib/fixer.js index 1409c69c9..f07011967 100644 --- a/node_modules/normalize-package-data/lib/fixer.js +++ b/node_modules/normalize-package-data/lib/fixer.js @@ -5,7 +5,7 @@ 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 typos = require("./typos.json") var fixer = module.exports = { // default warning function @@ -289,7 +289,6 @@ var fixer = module.exports = { return delete data.homepage } if(!url.parse(data.homepage).protocol) { - this.warn("missingProtocolHomepage") data.homepage = "http://" + data.homepage } } diff --git a/node_modules/normalize-package-data/lib/warning_messages.json b/node_modules/normalize-package-data/lib/warning_messages.json index 5fd19f322..4890f506e 100644 --- a/node_modules/normalize-package-data/lib/warning_messages.json +++ b/node_modules/normalize-package-data/lib/warning_messages.json @@ -26,6 +26,5 @@ ,"emptyNormalizedBugs": "Normalized value of bugs field is an empty object. Deleted." ,"nonUrlHomepage": "homepage field must be a string url. Deleted." ,"invalidLicense": "license should be a valid SPDX license expression" - ,"missingProtocolHomepage": "homepage field must start with a protocol." ,"typo": "%s should probably be %s." } diff --git a/node_modules/normalize-package-data/package.json b/node_modules/normalize-package-data/package.json index 121d7947e..c015fa19e 100644 --- a/node_modules/normalize-package-data/package.json +++ b/node_modules/normalize-package-data/package.json @@ -1,35 +1,35 @@ { - "_from": "normalize-package-data@~2.3.8", - "_id": "normalize-package-data@2.3.8", - "_integrity": "sha1-2Bntoqne29H/pWPqQHHZNngilbs=", + "_from": "normalize-package-data@2.4.0", + "_id": "normalize-package-data@2.4.0", + "_inBundle": false, + "_integrity": "sha512-9jjUFbTPfEy3R/ad/2oNbKtW9Hgovl5O1FvFWKkKblNXoN/Oou6+9+KKohPK13Yc3/TyunyWhJp6gvRNR/PPAw==", "_location": "/normalize-package-data", "_phantomChildren": {}, "_requested": { - "type": "range", + "type": "version", "registry": true, - "raw": "normalize-package-data@~2.3.8", + "raw": "normalize-package-data@2.4.0", "name": "normalize-package-data", "escapedName": "normalize-package-data", - "rawSpec": "~2.3.8", + "rawSpec": "2.4.0", "saveSpec": null, - "fetchSpec": "~2.3.8" + "fetchSpec": "2.4.0" }, "_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/zkat/Documents/code/npm", + "_resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.4.0.tgz", + "_shasum": "12f95a307d58352075a04907b84ac8be98ac012f", + "_spec": "normalize-package-data@2.4.0", + "_where": "/Users/rebecca/code/npm", "author": { "name": "Meryn Stol", "email": "merynstol@gmail.com" }, - "bin": null, "bugs": { "url": "https://github.com/npm/normalize-package-data/issues" }, @@ -70,8 +70,6 @@ "license": "BSD-2-Clause", "main": "lib/normalize.js", "name": "normalize-package-data", - "optionalDependencies": {}, - "peerDependencies": {}, "repository": { "type": "git", "url": "git://github.com/npm/normalize-package-data.git" @@ -79,5 +77,5 @@ "scripts": { "test": "tap test/*.js" }, - "version": "2.3.8" + "version": "2.4.0" } |