diff options
author | isaacs <i@izs.me> | 2020-07-23 20:58:04 +0300 |
---|---|---|
committer | isaacs <i@izs.me> | 2020-07-29 21:53:42 +0300 |
commit | ad5e07d8bd86d1dbe2b03dc142f8c8d6f4828ffe (patch) | |
tree | 97b66f97d77f35774f10a5e3e9957b1897d150bb /node_modules/init-package-json | |
parent | a16994cfdd2f255016f3d8ee60d03473d80eabd8 (diff) |
Full dependency reboot
Reinstall everything from a clean node_modules and package-lock.json
state.
Re-generate list of bundleDependencies and node_modules/.gitignore with
a script that does the right thing based on actual dependency state.
Diffstat (limited to 'node_modules/init-package-json')
-rw-r--r-- | node_modules/init-package-json/node_modules/hosted-git-info/CHANGELOG.md (renamed from node_modules/init-package-json/node_modules/npm-package-arg/node_modules/hosted-git-info/CHANGELOG.md) | 26 | ||||
-rw-r--r-- | node_modules/init-package-json/node_modules/hosted-git-info/LICENSE (renamed from node_modules/init-package-json/node_modules/npm-package-arg/node_modules/hosted-git-info/LICENSE) | 0 | ||||
-rw-r--r-- | node_modules/init-package-json/node_modules/hosted-git-info/README.md (renamed from node_modules/init-package-json/node_modules/npm-package-arg/node_modules/hosted-git-info/README.md) | 0 | ||||
-rw-r--r-- | node_modules/init-package-json/node_modules/hosted-git-info/git-host-info.js (renamed from node_modules/init-package-json/node_modules/npm-package-arg/node_modules/hosted-git-info/git-host-info.js) | 0 | ||||
-rw-r--r-- | node_modules/init-package-json/node_modules/hosted-git-info/git-host.js (renamed from node_modules/init-package-json/node_modules/npm-package-arg/node_modules/hosted-git-info/git-host.js) | 0 | ||||
-rw-r--r-- | node_modules/init-package-json/node_modules/hosted-git-info/index.js (renamed from node_modules/init-package-json/node_modules/npm-package-arg/node_modules/hosted-git-info/index.js) | 27 | ||||
-rw-r--r-- | node_modules/init-package-json/node_modules/hosted-git-info/package.json (renamed from node_modules/init-package-json/node_modules/npm-package-arg/node_modules/hosted-git-info/package.json) | 18 | ||||
-rw-r--r-- | node_modules/init-package-json/node_modules/npm-package-arg/package.json | 2 | ||||
-rw-r--r-- | node_modules/init-package-json/node_modules/semver/package.json | 2 | ||||
-rw-r--r-- | node_modules/init-package-json/package.json | 28 |
10 files changed, 76 insertions, 27 deletions
diff --git a/node_modules/init-package-json/node_modules/npm-package-arg/node_modules/hosted-git-info/CHANGELOG.md b/node_modules/init-package-json/node_modules/hosted-git-info/CHANGELOG.md index 479f24b64..4f86601e0 100644 --- a/node_modules/init-package-json/node_modules/npm-package-arg/node_modules/hosted-git-info/CHANGELOG.md +++ b/node_modules/init-package-json/node_modules/hosted-git-info/CHANGELOG.md @@ -2,6 +2,32 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +<a name="2.8.8"></a> +## [2.8.8](https://github.com/npm/hosted-git-info/compare/v2.8.7...v2.8.8) (2020-02-29) + + +### Bug Fixes + +* [#61](https://github.com/npm/hosted-git-info/issues/61) & [#65](https://github.com/npm/hosted-git-info/issues/65) addressing issues w/ url.URL implmentation which regressed node 6 support ([5038b18](https://github.com/npm/hosted-git-info/commit/5038b18)), closes [#66](https://github.com/npm/hosted-git-info/issues/66) + + + +<a name="2.8.7"></a> +## [2.8.7](https://github.com/npm/hosted-git-info/compare/v2.8.6...v2.8.7) (2020-02-26) + + +### Bug Fixes + +* Do not attempt to use url.URL when unavailable ([2d0bb66](https://github.com/npm/hosted-git-info/commit/2d0bb66)), closes [#61](https://github.com/npm/hosted-git-info/issues/61) [#62](https://github.com/npm/hosted-git-info/issues/62) +* Do not pass scp-style URLs to the WhatWG url.URL ([f2cdfcf](https://github.com/npm/hosted-git-info/commit/f2cdfcf)), closes [#60](https://github.com/npm/hosted-git-info/issues/60) + + + +<a name="2.8.6"></a> +## [2.8.6](https://github.com/npm/hosted-git-info/compare/v2.8.5...v2.8.6) (2020-02-25) + + + <a name="2.8.5"></a> ## [2.8.5](https://github.com/npm/hosted-git-info/compare/v2.8.4...v2.8.5) (2019-10-07) diff --git a/node_modules/init-package-json/node_modules/npm-package-arg/node_modules/hosted-git-info/LICENSE b/node_modules/init-package-json/node_modules/hosted-git-info/LICENSE index 45055763d..45055763d 100644 --- a/node_modules/init-package-json/node_modules/npm-package-arg/node_modules/hosted-git-info/LICENSE +++ b/node_modules/init-package-json/node_modules/hosted-git-info/LICENSE diff --git a/node_modules/init-package-json/node_modules/npm-package-arg/node_modules/hosted-git-info/README.md b/node_modules/init-package-json/node_modules/hosted-git-info/README.md index 7b723f6b9..7b723f6b9 100644 --- a/node_modules/init-package-json/node_modules/npm-package-arg/node_modules/hosted-git-info/README.md +++ b/node_modules/init-package-json/node_modules/hosted-git-info/README.md diff --git a/node_modules/init-package-json/node_modules/npm-package-arg/node_modules/hosted-git-info/git-host-info.js b/node_modules/init-package-json/node_modules/hosted-git-info/git-host-info.js index 8147e3348..8147e3348 100644 --- a/node_modules/init-package-json/node_modules/npm-package-arg/node_modules/hosted-git-info/git-host-info.js +++ b/node_modules/init-package-json/node_modules/hosted-git-info/git-host-info.js diff --git a/node_modules/init-package-json/node_modules/npm-package-arg/node_modules/hosted-git-info/git-host.js b/node_modules/init-package-json/node_modules/hosted-git-info/git-host.js index 9616fbaa6..9616fbaa6 100644 --- a/node_modules/init-package-json/node_modules/npm-package-arg/node_modules/hosted-git-info/git-host.js +++ b/node_modules/init-package-json/node_modules/hosted-git-info/git-host.js diff --git a/node_modules/init-package-json/node_modules/npm-package-arg/node_modules/hosted-git-info/index.js b/node_modules/init-package-json/node_modules/hosted-git-info/index.js index fc959cb04..21e53fe37 100644 --- a/node_modules/init-package-json/node_modules/npm-package-arg/node_modules/hosted-git-info/index.js +++ b/node_modules/init-package-json/node_modules/hosted-git-info/index.js @@ -47,7 +47,7 @@ function fromUrl (giturl, opts) { var gitHostInfo = gitHosts[gitHostName] var auth = null if (parsed.auth && authProtocols[parsed.protocol]) { - auth = decodeURIComponent(parsed.auth) + auth = parsed.auth } var committish = parsed.hash ? decodeURIComponent(parsed.hash.substr(1)) : null var user = null @@ -106,7 +106,30 @@ function fixupUnqualifiedGist (giturl) { function parseGitUrl (giturl) { var matched = giturl.match(/^([^@]+)@([^:/]+):[/]?((?:[^/]+[/])?[^/]+?)(?:[.]git)?(#.*)?$/) - if (!matched) return url.parse(giturl) + if (!matched) { + var legacy = url.parse(giturl) + // If we don't have url.URL, then sorry, this is just not fixable. + // This affects Node <= 6.12. + if (legacy.auth && typeof url.URL === 'function') { + // git urls can be in the form of scp-style/ssh-connect strings, like + // git+ssh://user@host.com:some/path, which the legacy url parser + // supports, but WhatWG url.URL class does not. However, the legacy + // parser de-urlencodes the username and password, so something like + // https://user%3An%40me:p%40ss%3Aword@x.com/ becomes + // https://user:n@me:p@ss:word@x.com/ which is all kinds of wrong. + // Pull off just the auth and host, so we dont' get the confusing + // scp-style URL, then pass that to the WhatWG parser to get the + // auth properly escaped. + var authmatch = giturl.match(/[^@]+@[^:/]+/) + /* istanbul ignore else - this should be impossible */ + if (authmatch) { + var whatwg = new url.URL(authmatch[0]) + legacy.auth = whatwg.username || '' + if (whatwg.password) legacy.auth += ':' + whatwg.password + } + } + return legacy + } return { protocol: 'git+ssh:', slashes: true, diff --git a/node_modules/init-package-json/node_modules/npm-package-arg/node_modules/hosted-git-info/package.json b/node_modules/init-package-json/node_modules/hosted-git-info/package.json index 1389c7060..1051184f8 100644 --- a/node_modules/init-package-json/node_modules/npm-package-arg/node_modules/hosted-git-info/package.json +++ b/node_modules/init-package-json/node_modules/hosted-git-info/package.json @@ -1,9 +1,9 @@ { "_from": "hosted-git-info@^2.7.1", - "_id": "hosted-git-info@2.8.5", + "_id": "hosted-git-info@2.8.8", "_inBundle": false, - "_integrity": "sha512-kssjab8CvdXfcXMXVcvsXum4Hwdq9XGtRD3TteMEvEbq0LXyiNQr6AprqKqfeaDXze7SxWvRxdpwE6ku7ikLkg==", - "_location": "/init-package-json/npm-package-arg/hosted-git-info", + "_integrity": "sha512-f/wzC2QaWBs7t9IYqB4T3sR1xviIViXJRJTWBlx2Gf3g0Xi5vI7Yy4koXQ1c9OYDGHN9sBy1DQ2AB8fqZBWhUg==", + "_location": "/init-package-json/hosted-git-info", "_phantomChildren": {}, "_requested": { "type": "range", @@ -18,8 +18,8 @@ "_requiredBy": [ "/init-package-json/npm-package-arg" ], - "_resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.5.tgz", - "_shasum": "759cfcf2c4d156ade59b0b2dfabddc42a6b9c70c", + "_resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.8.tgz", + "_shasum": "7539bd4bc1e0e0a895815a2e0262420b12858488", "_spec": "hosted-git-info@^2.7.1", "_where": "/Users/isaacs/dev/npm/cli/node_modules/init-package-json/node_modules/npm-package-arg", "author": { @@ -59,11 +59,11 @@ }, "scripts": { "postrelease": "npm publish --tag=ancient-legacy-fixes && git push --follow-tags", + "posttest": "standard", "prerelease": "npm t", - "pretest": "standard", "release": "standard-version -s", - "test": "tap -J --100 --no-esm test/*.js", - "test:coverage": "tap --coverage-report=html -J --100 --no-esm test/*.js" + "test": "tap -J --coverage=90 --no-esm test/*.js", + "test:coverage": "tap --coverage-report=html -J --coverage=90 --no-esm test/*.js" }, - "version": "2.8.5" + "version": "2.8.8" } diff --git a/node_modules/init-package-json/node_modules/npm-package-arg/package.json b/node_modules/init-package-json/node_modules/npm-package-arg/package.json index 2100350db..ba7a6fccc 100644 --- a/node_modules/init-package-json/node_modules/npm-package-arg/package.json +++ b/node_modules/init-package-json/node_modules/npm-package-arg/package.json @@ -21,7 +21,7 @@ "_resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-6.1.1.tgz", "_shasum": "02168cb0a49a2b75bf988a28698de7b529df5cb7", "_spec": "npm-package-arg@^4.0.0 || ^5.0.0 || ^6.0.0", - "_where": "/Users/claudiahdz/npm/cli/node_modules/init-package-json", + "_where": "/Users/isaacs/dev/npm/cli/node_modules/init-package-json", "author": { "name": "Isaac Z. Schlueter", "email": "i@izs.me", diff --git a/node_modules/init-package-json/node_modules/semver/package.json b/node_modules/init-package-json/node_modules/semver/package.json index 84cb9c22c..525ad3941 100644 --- a/node_modules/init-package-json/node_modules/semver/package.json +++ b/node_modules/init-package-json/node_modules/semver/package.json @@ -22,7 +22,7 @@ "_resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", "_shasum": "a954f931aeba508d307bbf069eff0c01c96116f7", "_spec": "semver@2.x || 3.x || 4 || 5", - "_where": "/Users/mperrotte/npminc/cli/node_modules/init-package-json", + "_where": "/Users/isaacs/dev/npm/cli/node_modules/init-package-json", "bin": { "semver": "bin/semver" }, diff --git a/node_modules/init-package-json/package.json b/node_modules/init-package-json/package.json index bd1b8743a..73e38ae06 100644 --- a/node_modules/init-package-json/package.json +++ b/node_modules/init-package-json/package.json @@ -1,32 +1,30 @@ { - "_args": [ - [ - "init-package-json@1.10.3", - "/Users/rebecca/code/npm" - ] - ], - "_from": "init-package-json@1.10.3", + "_from": "init-package-json@^1.10.3", "_id": "init-package-json@1.10.3", "_inBundle": false, "_integrity": "sha512-zKSiXKhQveNteyhcj1CoOP8tqp1QuxPIPBl8Bid99DGLFqA1p87M6lNgfjJHSBoWJJlidGOv5rWjyYKEB3g2Jw==", "_location": "/init-package-json", - "_phantomChildren": {}, + "_phantomChildren": { + "osenv": "0.1.5", + "validate-npm-package-name": "3.0.0" + }, "_requested": { - "type": "version", + "type": "range", "registry": true, - "raw": "init-package-json@1.10.3", + "raw": "init-package-json@^1.10.3", "name": "init-package-json", "escapedName": "init-package-json", - "rawSpec": "1.10.3", + "rawSpec": "^1.10.3", "saveSpec": null, - "fetchSpec": "1.10.3" + "fetchSpec": "^1.10.3" }, "_requiredBy": [ "/" ], "_resolved": "https://registry.npmjs.org/init-package-json/-/init-package-json-1.10.3.tgz", - "_spec": "1.10.3", - "_where": "/Users/rebecca/code/npm", + "_shasum": "45ffe2f610a8ca134f2bd1db5637b235070f6cbe", + "_spec": "init-package-json@^1.10.3", + "_where": "/Users/isaacs/dev/npm/cli", "author": { "name": "Isaac Z. Schlueter", "email": "i@izs.me", @@ -35,6 +33,7 @@ "bugs": { "url": "https://github.com/npm/init-package-json/issues" }, + "bundleDependencies": false, "dependencies": { "glob": "^7.1.1", "npm-package-arg": "^4.0.0 || ^5.0.0 || ^6.0.0", @@ -45,6 +44,7 @@ "validate-npm-package-license": "^3.0.1", "validate-npm-package-name": "^3.0.0" }, + "deprecated": false, "description": "A node module to get your node module started", "devDependencies": { "mkdirp": "^0.5.1", |