pacote
Advanced tools
Comparing version 2.0.5 to 2.1.0
@@ -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) |
@@ -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}.`) |
{ | ||
"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", |
65613
39
1453
Updatedcacache@^7.0.5
Updatedmake-fetch-happen@^2.2.4
Updatedssri@^4.1.2