Comparing version 2.7.0 to 2.7.1
@@ -5,2 +5,13 @@ # Change Log | ||
<a name="2.7.1"></a> | ||
## [2.7.1](https://github.com/zkat/pacote/compare/v2.7.0...v2.7.1) (2017-05-01) | ||
### Bug Fixes | ||
* **logging:** log specs correctly on extract ([4b5bab0](https://github.com/zkat/pacote/commit/4b5bab0)) | ||
* **manifest:** obey opts.preferOnline when fetching from memoized ([26928a7](https://github.com/zkat/pacote/commit/26928a7)) | ||
<a name="2.7.0"></a> | ||
@@ -7,0 +18,0 @@ # [2.7.0](https://github.com/zkat/pacote/compare/v2.6.0...v2.7.0) (2017-04-29) |
@@ -19,3 +19,3 @@ 'use strict' | ||
if (opts.integrity && opts.cache && !opts.preferOnline) { | ||
opts.log.silly('pacote', 'trying', spec.name, 'by hash:', opts.integrity.toString()) | ||
opts.log.silly('pacote', `trying ${spec} by hash: ${opts.integrity}`) | ||
return extractByDigest( | ||
@@ -66,3 +66,3 @@ startTime, spec, dest, opts | ||
return pipe(cached, xtractor).then(() => { | ||
opts.log.verbose('pacote', `${spec.name}@${spec.saveSpec || spec.fetchSpec} extracted to ${dest} by content address ${Date.now() - start}ms`) | ||
opts.log.verbose('pacote', `${spec} extracted to ${dest} by content address ${Date.now() - start}ms`) | ||
}) | ||
@@ -80,3 +80,3 @@ } | ||
}).then(() => { | ||
opts.log.verbose('pacote', `${spec.name}@${spec.saveSpec || spec.fetchSpec} extracted in ${Date.now() - start}ms`) | ||
opts.log.verbose('pacote', `${spec} extracted in ${Date.now() - start}ms`) | ||
}) | ||
@@ -83,0 +83,0 @@ } |
@@ -76,3 +76,3 @@ 'use strict' | ||
const mem = pickMem(opts) | ||
if (mem && mem.has(uri)) { | ||
if (mem && !opts.preferOnline && mem.has(uri)) { | ||
return BB.resolve(mem.get(uri)) | ||
@@ -79,0 +79,0 @@ } |
{ | ||
"name": "pacote", | ||
"version": "2.7.0", | ||
"version": "2.7.1", | ||
"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
72000