Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pacote

Package Overview
Dependencies
Maintainers
1
Versions
223
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.7 to 2.7.8

10

CHANGELOG.md

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

<a name="2.7.8"></a>
## [2.7.8](https://github.com/zkat/pacote/compare/v2.7.7...v2.7.8) (2017-05-07)
### Bug Fixes
* **git:** integrity hash was not always emitted ([97ed9e1](https://github.com/zkat/pacote/commit/97ed9e1))
<a name="2.7.7"></a>

@@ -7,0 +17,0 @@ ## [2.7.7](https://github.com/zkat/pacote/compare/v2.7.6...v2.7.7) (2017-05-06)

8

lib/fetchers/git.js

@@ -40,3 +40,7 @@ 'use strict'

stream.emit('manifest', manifest)
return pipe(this.fromManifest(manifest, spec, opts), stream)
return pipe(
this.fromManifest(
manifest, spec, opts
).on('integrity', i => stream.emit('integrity', i)), stream
)
}, err => stream.emit('error', err))

@@ -55,3 +59,3 @@ return stream

opts.cache, cacheKey('packed-dir', cacheName), opts
)
).on('integrity', i => stream.emit('integrity', i))
)

@@ -58,0 +62,0 @@ cacheStream.pipe(stream)

@@ -35,3 +35,5 @@ 'use strict'

opts.cache, cacheKey('packed-dir', label), opts
)
).on('integrity', i => {
target.emit('integrity', i)
})
return BB.all([

@@ -38,0 +40,0 @@ pipe(packer, cacher),

{
"name": "pacote",
"version": "2.7.7",
"version": "2.7.8",
"description": "JavaScript package downloader",

@@ -5,0 +5,0 @@ "main": "index.js",

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

if (info) {
opts.log.silly('prefetch', 'content already exists for', spec.raw, `(${Date.now() - startTime}ms)`)
opts.log.silly('prefetch', `content already exists for ${spec} (${Date.now() - startTime}ms)`)
return {

@@ -36,3 +36,3 @@ spec,

} else {
opts.log.silly('prefetch', 'no integrity hash provided for', spec, '- fetching by manifest')
opts.log.silly('prefetch', `no integrity hash provided for ${spec} - fetching by manifest`)
return prefetchByManifest(startTime, spec, opts)

@@ -57,3 +57,3 @@ }

}).then(() => {
opts.log.verbose('prefetch', `${spec.name}@${spec.saveSpec || spec.fetchSpec} done in ${Date.now() - start}ms`)
opts.log.verbose('prefetch', `${spec} done in ${Date.now() - start}ms`)
return {

@@ -60,0 +60,0 @@ manifest,

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