hosted-git-info
Advanced tools
Comparing version 2.8.0 to 2.8.1
@@ -5,2 +5,13 @@ # Change Log | ||
<a name="2.8.1"></a> | ||
## [2.8.1](https://github.com/npm/hosted-git-info/compare/v2.8.0...v2.8.1) (2019-08-05) | ||
### Bug Fixes | ||
* ignore noCommittish on tarball url generation ([5d4a8d7](https://github.com/npm/hosted-git-info/commit/5d4a8d7)) | ||
* use gist tarball url that works for anonymous gists ([1692435](https://github.com/npm/hosted-git-info/commit/1692435)) | ||
<a name="2.8.0"></a> | ||
@@ -7,0 +18,0 @@ # [2.8.0](https://github.com/npm/hosted-git-info/compare/v2.7.1...v2.8.0) (2019-08-05) |
@@ -45,3 +45,3 @@ 'use strict' | ||
'pathtemplate': '{project}{#committish}', | ||
'tarballtemplate': 'https://{domain}/{user}/{project}/archive/{committish}.tar.gz', | ||
'tarballtemplate': 'https://codeload.github.com/gist/{project}/tar.gz/{committish}', | ||
'hashformat': function (fragment) { | ||
@@ -48,0 +48,0 @@ return 'file-' + formatHashFragment(fragment) |
@@ -140,3 +140,4 @@ 'use strict' | ||
GitHost.prototype.tarball = function (opts) { | ||
GitHost.prototype.tarball = function (opts_) { | ||
var opts = extend({}, opts_, { noCommittish: false }) | ||
return this._fill(this.tarballtemplate, opts) | ||
@@ -143,0 +144,0 @@ } |
{ | ||
"name": "hosted-git-info", | ||
"version": "2.8.0", | ||
"version": "2.8.1", | ||
"description": "Provides metadata and conversions from repository urls for Github, Bitbucket and Gitlab", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
22222
327
0