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.30 to 2.7.31

11

CHANGELOG.md

@@ -5,2 +5,13 @@ # Change Log

<a name="2.7.31"></a>
## [2.7.31](https://github.com/zkat/pacote/compare/v2.7.30...v2.7.31) (2017-06-06)
### Bug Fixes
* **extract:** always return a bluebird promise ([06ca91d](https://github.com/zkat/pacote/commit/06ca91d))
* **registry:** bump make-fetch-happen for local cache header issue fix ([868615c](https://github.com/zkat/pacote/commit/868615c))
<a name="2.7.30"></a>

@@ -7,0 +18,0 @@ ## [2.7.30](https://github.com/zkat/pacote/compare/v2.7.29...v2.7.30) (2017-06-05)

4

extract.js

@@ -39,3 +39,3 @@ 'use strict'

opts.log.silly('pacote', 'no tarball hash provided for', spec.name, '- extracting by manifest')
return retry((tryAgain, attemptNum) => {
return BB.resolve(retry((tryAgain, attemptNum) => {
return extractByManifest(

@@ -58,3 +58,3 @@ startTime, spec, dest, opts

})
}, {retries: 1})
}, {retries: 1}))
}

@@ -61,0 +61,0 @@ }

@@ -91,3 +91,3 @@ 'use strict'

})).then(res => res.json().then(packument => {
packument._cached = res.headers.has('x-local-cache')
packument._cached = decodeURIComponent(res.headers.has('x-local-cache'))
packument._contentLength = +res.headers.get('content-length')

@@ -94,0 +94,0 @@ // NOTE - we need to call pickMem again because proxy

@@ -54,3 +54,6 @@ 'use strict'

}, opts)).then(res => {
stream.emit('integrity', res.headers.get('x-local-cache-hash'))
const hash = res.headers.get('x-local-cache-hash')
if (hash) {
stream.emit('integrity', decodeURIComponent(hash))
}
res.body.on('error', err => stream.emit('error', err))

@@ -57,0 +60,0 @@ res.body.pipe(stream)

{
"name": "pacote",
"version": "2.7.30",
"version": "2.7.31",
"description": "JavaScript package downloader",

@@ -48,3 +48,3 @@ "main": "index.js",

"lru-cache": "^4.0.2",
"make-fetch-happen": "^2.4.11",
"make-fetch-happen": "^2.4.12",
"minimatch": "^3.0.4",

@@ -75,3 +75,3 @@ "mississippi": "^1.2.0",

"standard": "^10.0.1",
"standard-version": "^4.0.0",
"standard-version": "^4.1.0",
"tacks": "^1.2.6",

@@ -78,0 +78,0 @@ "tap": "^10.3.3",

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