Comparing version 2.7.25 to 2.7.26
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="2.7.26"></a> | ||
## [2.7.26](https://github.com/zkat/pacote/compare/v2.7.25...v2.7.26) (2017-06-01) | ||
### Bug Fixes | ||
* **git:** hash was not being replaced/appended correctly ([6fcbed5](https://github.com/zkat/pacote/commit/6fcbed5)) | ||
<a name="2.7.25"></a> | ||
@@ -7,0 +17,0 @@ ## [2.7.25](https://github.com/zkat/pacote/compare/v2.7.24...v2.7.25) (2017-05-31) |
@@ -53,3 +53,3 @@ 'use strict' | ||
const stream = new PassThrough().on('error', e => { streamError = e }) | ||
const cacheName = manifest._uniqueResolved || manifest._resolved | ||
const cacheName = manifest._uniqueResolved || manifest._resolved || '' | ||
const cacheStream = ( | ||
@@ -73,3 +73,3 @@ opts.cache && | ||
if (streamError) { throw streamError } | ||
manifest._resolved = spec.saveSpec.replace(/#.*/, `#${HEAD}`) | ||
manifest._resolved = spec.saveSpec.replace(/(:?#.*)?$/, `#${HEAD}`) | ||
manifest._uniqueResolved = manifest._resolved | ||
@@ -76,0 +76,0 @@ return packDir(manifest, manifest._uniqueResolved, tmp, stream, opts) |
{ | ||
"name": "pacote", | ||
"version": "2.7.25", | ||
"version": "2.7.26", | ||
"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
79428