Socket
Socket
Sign inDemoInstall

pacote

Package Overview
Dependencies
Maintainers
1
Versions
221
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pacote - npm Package Compare versions

Comparing version 2.7.0 to 2.7.1

11

CHANGELOG.md

@@ -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)

6

extract.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc