hosted-git-info
Advanced tools
Comparing version 2.8.4 to 2.8.5
@@ -5,2 +5,13 @@ # Change Log | ||
<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) | ||
### Bug Fixes | ||
* updated pathmatch for gitlab ([e8325b5](https://github.com/npm/hosted-git-info/commit/e8325b5)), closes [#51](https://github.com/npm/hosted-git-info/issues/51) | ||
* updated pathmatch for gitlab ([ffe056f](https://github.com/npm/hosted-git-info/commit/ffe056f)) | ||
<a name="2.8.4"></a> | ||
@@ -7,0 +18,0 @@ ## [2.8.4](https://github.com/npm/hosted-git-info/compare/v2.8.3...v2.8.4) (2019-08-12) |
@@ -28,3 +28,3 @@ 'use strict' | ||
'tarballtemplate': 'https://{domain}/{user}/{project}/repository/archive.tar.gz?ref={committish}', | ||
'pathmatch': /^[/]([^/]+)[/](.+?)(?:[.]git|[/])?$/ | ||
'pathmatch': /^[/]([^/]+)[/]((?!.*(\/-\/|\/repository\/archive\.tar\.gz\?=.*|\/repository\/[^/]+\/archive.tar.gz$)).*?)(?:[.]git|[/])?$/ | ||
}, | ||
@@ -31,0 +31,0 @@ gist: { |
@@ -67,2 +67,3 @@ 'use strict' | ||
if (!matched) return | ||
/* istanbul ignore else */ | ||
if (matched[1] !== null && matched[1] !== undefined) { | ||
@@ -69,0 +70,0 @@ user = decodeURIComponent(matched[1].replace(/^:/, '')) |
{ | ||
"name": "hosted-git-info", | ||
"version": "2.8.4", | ||
"version": "2.8.5", | ||
"description": "Provides metadata and conversions from repository urls for Github, Bitbucket and Gitlab", | ||
@@ -27,2 +27,3 @@ "main": "index.js", | ||
"release": "standard-version -s", | ||
"test:coverage": "tap --coverage-report=html -J --100 --no-esm test/*.js", | ||
"test": "tap -J --100 --no-esm test/*.js" | ||
@@ -29,0 +30,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23278
327