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.0.1 to 2.0.2

11

CHANGELOG.md

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

<a name="2.0.2"></a>
## [2.0.2](https://github.com/zkat/pacote/compare/v2.0.1...v2.0.2) (2017-04-15)
### Bug Fixes
* **directory:** fix default pack-dir and write a test for it ([9d9266f](https://github.com/zkat/pacote/commit/9d9266f))
* **extract:** brainfart with extractByManifest fixed. lol. ([a1367fb](https://github.com/zkat/pacote/commit/a1367fb))
<a name="2.0.1"></a>

@@ -7,0 +18,0 @@ ## [2.0.1](https://github.com/zkat/pacote/compare/v2.0.0...v2.0.1) (2017-04-15)

2

extract.js

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

const xtractor = extractStream(dest, opts)
return BB.resolve(() => {
return BB.resolve(null).then(() => {
const tarball = require('./lib/handlers/' + spec.type + '/tarball')

@@ -71,0 +71,0 @@ return pipe(tarball(spec, opts), xtractor)

@@ -117,3 +117,2 @@ 'use strict'

}
opts.log.silly('pacote', res.headers.raw())
packument._cached = !!res.headers.get('x-local-cache')

@@ -120,0 +119,0 @@ packument._contentLength = +res.headers.get('content-length')

@@ -18,4 +18,5 @@ 'use strict'

map: header => {
header.name = header.name.replace(dir, 'package')
header.name = 'package/' + header.name
header.mtime = 0 // make tarballs idempotent
return header
},

@@ -28,5 +29,3 @@ ignore: (name) => {

if (!opts.cache) {
console.log('piping!')
return pipe(packer, target).catch(err => {
console.log('got an error:', err)
throw err

@@ -33,0 +32,0 @@ })

{
"name": "pacote",
"version": "2.0.1",
"version": "2.0.2",
"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