make-fetch-happen
Advanced tools
Comparing version 1.5.0 to 1.5.1
@@ -62,4 +62,4 @@ 'use strict' | ||
fs.stat(info.path, (err, stat) => { | ||
if (err && err !== 'ENOENT') { | ||
return resolve(err) | ||
if (err) { | ||
return reject(err) | ||
} else { | ||
@@ -70,3 +70,2 @@ return resolve(stat) | ||
}).then(stat => { | ||
if (!stat) { return } | ||
const cachePath = this._path | ||
@@ -73,0 +72,0 @@ let disturbed = false |
@@ -5,2 +5,13 @@ # Change Log | ||
<a name="1.5.1"></a> | ||
## [1.5.1](https://github.com/zkat/make-fetch-happen/compare/v1.5.0...v1.5.1) (2017-04-05) | ||
### Bug Fixes | ||
* **cache:** bump cacache for its fixed error messages ([2f2b916](https://github.com/zkat/make-fetch-happen/commit/2f2b916)) | ||
* **cache:** fix handling of errors in cache reads ([5729222](https://github.com/zkat/make-fetch-happen/commit/5729222)) | ||
<a name="1.5.0"></a> | ||
@@ -7,0 +18,0 @@ # [1.5.0](https://github.com/zkat/make-fetch-happen/compare/v1.4.0...v1.5.0) (2017-04-04) |
{ | ||
"name": "make-fetch-happen", | ||
"version": "1.5.0", | ||
"version": "1.5.1", | ||
"description": "Opinionated, caching, retrying fetch client", | ||
@@ -37,3 +37,3 @@ "main": "index.js", | ||
"bluebird": "^3.5.0", | ||
"cacache": "^7.0.2", | ||
"cacache": "^7.0.3", | ||
"checksum-stream": "^1.0.2", | ||
@@ -40,0 +40,0 @@ "lru-cache": "^4.0.2", |
@@ -59,4 +59,5 @@ # make-fetch-happen [![npm version](https://img.shields.io/npm/v/make-fetch-happen.svg)](https://npm.im/make-fetch-happen) [![license](https://img.shields.io/npm/l/make-fetch-happen.svg)](https://npm.im/make-fetch-happen) [![Travis](https://img.shields.io/travis/zkat/make-fetch-happen.svg)](https://travis-ci.org/zkat/make-fetch-happen) [![AppVeyor](https://ci.appveyor.com/api/projects/status/github/zkat/make-fetch-happen?svg=true)](https://ci.appveyor.com/project/zkat/make-fetch-happen) [![Coverage Status](https://coveralls.io/repos/github/zkat/make-fetch-happen/badge.svg?branch=latest)](https://coveralls.io/github/zkat/make-fetch-happen?branch=latest) | ||
* Transparent gzip and deflate support | ||
* [Subresource Integrity](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity) support | ||
* Literally punches nazis | ||
* (PENDING) Range request caching and resuming | ||
* (PENDING) [Subresource Integrity](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity) support | ||
@@ -63,0 +64,0 @@ ### Contributing |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
38835
306
562
Updatedcacache@^7.0.3