Comparing version 2.7.8 to 2.7.9
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="2.7.9"></a> | ||
## [2.7.9](https://github.com/zkat/pacote/compare/v2.7.8...v2.7.9) (2017-05-09) | ||
### Bug Fixes | ||
* **git:** Resolve to ref git specs w/o committishes (#88) ([cb885f5](https://github.com/zkat/pacote/commit/cb885f5)), closes [#88](https://github.com/zkat/pacote/issues/88) | ||
<a name="2.7.8"></a> | ||
@@ -7,0 +17,0 @@ ## [2.7.8](https://github.com/zkat/pacote/compare/v2.7.7...v2.7.8) (2017-05-07) |
@@ -110,3 +110,3 @@ 'use strict' | ||
if (ref) { | ||
const resolved = spec.saveSpec.replace(/#.*/, `#${ref.sha}`) | ||
const resolved = spec.saveSpec.replace(/(?:#.*)?$/, `#${ref.sha}`) | ||
return { | ||
@@ -125,3 +125,3 @@ _repo: repo, | ||
// then we can at least get `finalize-manifest` to cache its result. | ||
const resolved = spec.saveSpec.replace(/#.*/, `#${rawRef}`) | ||
const resolved = spec.saveSpec.replace(/(?:#.*)?$/, `#${rawRef}`) | ||
return { | ||
@@ -128,0 +128,0 @@ _repo: repo, |
{ | ||
"name": "pacote", | ||
"version": "2.7.8", | ||
"version": "2.7.9", | ||
"description": "JavaScript package downloader", | ||
@@ -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
74119