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:
authorDarcy Clarke <darcy@darcyclarke.me>2020-02-25 20:20:09 +0300
committerDarcy Clarke <darcy@darcyclarke.me>2020-02-25 21:36:24 +0300
commit760214606d7cc4dfbb2f07e47a7e6f319a3f333d (patch)
tree0f164df79de3db800ef56f58bf44dd17ec271e57
parent3d48893ab3ccc7aa36b1926adac3fda74fd2022c (diff)
hosted-git-info@2.8.6
-rw-r--r--node_modules/hosted-git-info/CHANGELOG.md5
-rw-r--r--node_modules/hosted-git-info/index.js12
-rw-r--r--node_modules/hosted-git-info/package.json22
-rw-r--r--package-lock.json6
-rw-r--r--package.json2
5 files changed, 30 insertions, 17 deletions
diff --git a/node_modules/hosted-git-info/CHANGELOG.md b/node_modules/hosted-git-info/CHANGELOG.md
index 479f24b64..cbf724bb7 100644
--- a/node_modules/hosted-git-info/CHANGELOG.md
+++ b/node_modules/hosted-git-info/CHANGELOG.md
@@ -2,6 +2,11 @@
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.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/hosted-git-info/index.js b/node_modules/hosted-git-info/index.js
index fc959cb04..301f5d401 100644
--- a/node_modules/hosted-git-info/index.js
+++ b/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,15 @@ 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 (legacy.auth) {
+ var whatwg = new url.URL(giturl)
+ legacy.auth = whatwg.username || ''
+ if (whatwg.password) legacy.auth += ':' + whatwg.password
+ }
+ return legacy
+ }
return {
protocol: 'git+ssh:',
slashes: true,
diff --git a/node_modules/hosted-git-info/package.json b/node_modules/hosted-git-info/package.json
index 458b323a4..c134b2621 100644
--- a/node_modules/hosted-git-info/package.json
+++ b/node_modules/hosted-git-info/package.json
@@ -1,19 +1,19 @@
{
- "_from": "hosted-git-info@2.8.5",
- "_id": "hosted-git-info@2.8.5",
+ "_from": "hosted-git-info@2.8.6",
+ "_id": "hosted-git-info@2.8.6",
"_inBundle": false,
- "_integrity": "sha512-kssjab8CvdXfcXMXVcvsXum4Hwdq9XGtRD3TteMEvEbq0LXyiNQr6AprqKqfeaDXze7SxWvRxdpwE6ku7ikLkg==",
+ "_integrity": "sha512-Kp6rShEsCHhF5dD3EWKdkgVA8ix90oSUJ0VY4g9goxxa0+f4lx63muTftn0mlJ/+8IESGWyKnP//V2D7S4ZbIQ==",
"_location": "/hosted-git-info",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
- "raw": "hosted-git-info@2.8.5",
+ "raw": "hosted-git-info@2.8.6",
"name": "hosted-git-info",
"escapedName": "hosted-git-info",
- "rawSpec": "2.8.5",
+ "rawSpec": "2.8.6",
"saveSpec": null,
- "fetchSpec": "2.8.5"
+ "fetchSpec": "2.8.6"
},
"_requiredBy": [
"#USER",
@@ -21,10 +21,10 @@
"/normalize-package-data",
"/npm-package-arg"
],
- "_resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.5.tgz",
- "_shasum": "759cfcf2c4d156ade59b0b2dfabddc42a6b9c70c",
- "_spec": "hosted-git-info@2.8.5",
- "_where": "/Users/isaacs/dev/npm/cli",
+ "_resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.6.tgz",
+ "_shasum": "3a6e6d0324c5371fc8c7ba7175e1e5d14578724d",
+ "_spec": "hosted-git-info@2.8.6",
+ "_where": "/Users/darcyclarke/Documents/Repos/npm/cli",
"author": {
"name": "Rebecca Turner",
"email": "me@re-becca.org",
@@ -68,5 +68,5 @@
"test": "tap -J --100 --no-esm test/*.js",
"test:coverage": "tap --coverage-report=html -J --100 --no-esm test/*.js"
},
- "version": "2.8.5"
+ "version": "2.8.6"
}
diff --git a/package-lock.json b/package-lock.json
index 5dace8ed8..e53ae8e1b 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -2479,9 +2479,9 @@
}
},
"hosted-git-info": {
- "version": "2.8.5",
- "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.5.tgz",
- "integrity": "sha512-kssjab8CvdXfcXMXVcvsXum4Hwdq9XGtRD3TteMEvEbq0LXyiNQr6AprqKqfeaDXze7SxWvRxdpwE6ku7ikLkg=="
+ "version": "2.8.6",
+ "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.6.tgz",
+ "integrity": "sha512-Kp6rShEsCHhF5dD3EWKdkgVA8ix90oSUJ0VY4g9goxxa0+f4lx63muTftn0mlJ/+8IESGWyKnP//V2D7S4ZbIQ=="
},
"http-cache-semantics": {
"version": "3.8.1",
diff --git a/package.json b/package.json
index 705a58d31..367fab92e 100644
--- a/package.json
+++ b/package.json
@@ -63,7 +63,7 @@
"glob": "^7.1.4",
"graceful-fs": "^4.2.3",
"has-unicode": "~2.0.1",
- "hosted-git-info": "^2.8.5",
+ "hosted-git-info": "^2.8.6",
"iferr": "^1.0.2",
"infer-owner": "^1.0.4",
"inflight": "~1.0.6",