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:
authorGar <gar+gh@danger.computer>2021-03-24 19:10:10 +0300
committerGar <gar+gh@danger.computer>2021-03-24 19:10:10 +0300
commit2cbfaac0ecd5810316f6d76168ed9618bd11bf3a (patch)
tree142fdec1200084bc8d1557fcc1494e7b37660d2b
parente32d94b5aa421b9b80a8fcd85f862a8259fb33a9 (diff)
hosted-git-info@4.0.2
-rw-r--r--node_modules/hosted-git-info/git-host-info.js2
-rw-r--r--node_modules/hosted-git-info/package.json2
-rw-r--r--package-lock.json14
-rw-r--r--package.json2
4 files changed, 10 insertions, 10 deletions
diff --git a/node_modules/hosted-git-info/git-host-info.js b/node_modules/hosted-git-info/git-host-info.js
index 360d7b096..d4919344c 100644
--- a/node_modules/hosted-git-info/git-host-info.js
+++ b/node_modules/hosted-git-info/git-host-info.js
@@ -79,7 +79,7 @@ gitHosts.gitlab = Object.assign({}, defaults, {
tarballtemplate: ({ domain, user, project, committish }) => `https://${domain}/${user}/${project}/repository/archive.tar.gz?ref=${maybeEncode(committish) || 'master'}`,
extract: (url) => {
const path = url.pathname.slice(1)
- if (path.includes('/-/')) {
+ if (path.includes('/-/') || path.includes('/archive.tar.gz')) {
return
}
diff --git a/node_modules/hosted-git-info/package.json b/node_modules/hosted-git-info/package.json
index 930e3b693..b7e2ee28e 100644
--- a/node_modules/hosted-git-info/package.json
+++ b/node_modules/hosted-git-info/package.json
@@ -1,6 +1,6 @@
{
"name": "hosted-git-info",
- "version": "4.0.1",
+ "version": "4.0.2",
"description": "Provides metadata and conversions from repository urls for GitHub, Bitbucket and GitLab",
"main": "index.js",
"repository": {
diff --git a/package-lock.json b/package-lock.json
index ae3f1bc4b..0d053b8aa 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -268,7 +268,7 @@
"columnify": "~1.5.4",
"glob": "^7.1.4",
"graceful-fs": "^4.2.6",
- "hosted-git-info": "^4.0.1",
+ "hosted-git-info": "^4.0.2",
"ini": "^2.0.0",
"init-package-json": "^2.0.2",
"is-cidr": "^4.0.2",
@@ -3788,9 +3788,9 @@
}
},
"node_modules/hosted-git-info": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.0.1.tgz",
- "integrity": "sha512-eT7NrxAsppPRQEBSwKSosReE+v8OzABwEScQYk5d4uxaEPlzxTIku7LINXtBGalthkLhJnq5lBI89PfK43zAKg==",
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.0.2.tgz",
+ "integrity": "sha512-c9OGXbZ3guC/xOlCg1Ci/VgWlwsqDv1yMQL1CWqXDL0hDjXuNcq0zuR4xqPSuasI3kqFDhqSyTjREz5gzq0fXg==",
"inBundle": true,
"dependencies": {
"lru-cache": "^6.0.0"
@@ -13253,9 +13253,9 @@
}
},
"hosted-git-info": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.0.1.tgz",
- "integrity": "sha512-eT7NrxAsppPRQEBSwKSosReE+v8OzABwEScQYk5d4uxaEPlzxTIku7LINXtBGalthkLhJnq5lBI89PfK43zAKg==",
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.0.2.tgz",
+ "integrity": "sha512-c9OGXbZ3guC/xOlCg1Ci/VgWlwsqDv1yMQL1CWqXDL0hDjXuNcq0zuR4xqPSuasI3kqFDhqSyTjREz5gzq0fXg==",
"requires": {
"lru-cache": "^6.0.0"
}
diff --git a/package.json b/package.json
index 2380ce20c..52327baaa 100644
--- a/package.json
+++ b/package.json
@@ -59,7 +59,7 @@
"columnify": "~1.5.4",
"glob": "^7.1.4",
"graceful-fs": "^4.2.6",
- "hosted-git-info": "^4.0.1",
+ "hosted-git-info": "^4.0.2",
"ini": "^2.0.0",
"init-package-json": "^2.0.2",
"is-cidr": "^4.0.2",