From 2cbfaac0ecd5810316f6d76168ed9618bd11bf3a Mon Sep 17 00:00:00 2001 From: Gar Date: Wed, 24 Mar 2021 09:10:10 -0700 Subject: hosted-git-info@4.0.2 --- node_modules/hosted-git-info/git-host-info.js | 2 +- node_modules/hosted-git-info/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'node_modules/hosted-git-info') 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": { -- cgit v1.2.3