Socket
Socket
Sign inDemoInstall

pacote

Package Overview
Dependencies
21
Maintainers
1
Versions
220
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.7.32 to 2.7.33

10

CHANGELOG.md

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

<a name="2.7.33"></a>
## [2.7.33](https://github.com/zkat/pacote/compare/v2.7.32...v2.7.33) (2017-06-08)
### Bug Fixes
* **git:** better error reporting when ls-remote fails ([10aae8f](https://github.com/zkat/pacote/commit/10aae8f))
<a name="2.7.32"></a>

@@ -7,0 +17,0 @@ ## [2.7.32](https://github.com/zkat/pacote/compare/v2.7.31...v2.7.32) (2017-06-07)

7

lib/util/git.js

@@ -112,4 +112,9 @@ 'use strict'

let stdout = ''
let stderr = ''
child.stdout.on('data', d => { stdout += d })
return finished(child).then(() => {
child.stderr.on('data', d => { stderr += d })
return finished(child).catch(err => {
err.message = `Error while executing:\n${GITPATH} ls-remote -h -t ${repo}\n\n${stderr}\n${err.message}`
throw err
}).then(() => {
return stdout.split('\n').reduce((revs, line) => {

@@ -116,0 +121,0 @@ const split = line.split(/\s+/, 2)

2

package.json
{
"name": "pacote",
"version": "2.7.32",
"version": "2.7.33",
"description": "JavaScript package downloader",

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

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc