Socket
Socket
Sign inDemoInstall

pacote

Package Overview
Dependencies
18
Maintainers
1
Versions
220
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.5 to 2.1.0

lib/registry/check-warning-header.js

15

CHANGELOG.md

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

<a name="2.1.0"></a>
# [2.1.0](https://github.com/zkat/pacote/compare/v2.0.5...v2.1.0) (2017-04-18)
### Bug Fixes
* **cache:** bump deps for cache fixes ([9596434](https://github.com/zkat/pacote/commit/9596434))
### Features
* **warn:** http warning headers now logged ([f22ce1d](https://github.com/zkat/pacote/commit/f22ce1d))
<a name="2.0.5"></a>

@@ -7,0 +22,0 @@ ## [2.0.5](https://github.com/zkat/pacote/compare/v2.0.4...v2.0.5) (2017-04-18)

2

lib/registry/manifest.js

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

const checkWarnings = require('./check-warning-header')
const fetch = require('make-fetch-happen')

@@ -107,2 +108,3 @@ const optCheck = require('../util/opt-check')

}
checkWarnings(res, registry, opts)
const elapsedTime = Date.now() - startTime

@@ -109,0 +111,0 @@ const attempt = res.headers.get('x-fetch-attempts')

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

const checkWarnings = require('./check-warning-header')
const fetch = require('make-fetch-happen')

@@ -81,2 +82,3 @@ const manifest = require('./manifest')

}
checkWarnings(res, registry, opts)
if (res.status >= 400) {

@@ -83,0 +85,0 @@ const err = new Error(`Failed with ${res.status} while fetching ${uri}.`)

8

package.json
{
"name": "pacote",
"version": "2.0.5",
"version": "2.1.0",
"description": "JavaScript package downloader",

@@ -45,6 +45,6 @@ "main": "index.js",

"bluebird": "^3.5.0",
"cacache": "^7.0.3",
"cacache": "^7.0.5",
"glob": "^7.1.1",
"lru-cache": "^4.0.2",
"make-fetch-happen": "^2.2.2",
"make-fetch-happen": "^2.2.4",
"minimatch": "^3.0.3",

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

"semver": "^5.3.0",
"ssri": "^4.1.1",
"ssri": "^4.1.2",
"tar-fs": "^1.15.1",

@@ -61,0 +61,0 @@ "tar-stream": "^1.5.2",

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