make-fetch-happen
Advanced tools
Comparing version 6.0.1 to 6.1.0
@@ -68,6 +68,6 @@ 'use strict' | ||
const body = new Minipass() | ||
const notFitInMemory = false && info.size > MAX_MEM_SIZE | ||
const fitInMemory = info.size < MAX_MEM_SIZE | ||
const removeOnResume = () => body.removeListener('resume', onResume) | ||
const onResume = | ||
opts.memoize !== notFitInMemory | ||
opts.memoize !== false && fitInMemory | ||
? () => { | ||
@@ -74,0 +74,0 @@ const c = cacache.get.stream.byDigest(cachePath, info.integrity, { |
@@ -5,2 +5,9 @@ # Changelog | ||
## [6.1.0](https://github.com/npm/make-fetch-happen/compare/v6.0.1...v6.1.0) (2019-11-14) | ||
### Bug Fixes | ||
* **streams:** change condition/logic of fitInMemory used when defining memoize ([c173723](https://github.com/npm/make-fetch-happen/commit/c173723)) | ||
### [6.0.1](https://github.com/npm/make-fetch-happen/compare/v6.0.0...v6.0.1) (2019-10-23) | ||
@@ -7,0 +14,0 @@ |
{ | ||
"name": "make-fetch-happen", | ||
"version": "6.0.1", | ||
"version": "6.1.0", | ||
"description": "Opinionated, caching, retrying fetch client", | ||
@@ -40,3 +40,3 @@ "main": "index.js", | ||
"http-proxy-agent": "^2.1.0", | ||
"https-proxy-agent": "^2.2.3", | ||
"https-proxy-agent": "^3.0.1", | ||
"lru-cache": "^5.1.1", | ||
@@ -43,0 +43,0 @@ "minipass": "^3.0.0", |
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
66514
+ Addedhttps-proxy-agent@3.0.1(transitive)
- Removedhttps-proxy-agent@2.2.4(transitive)
Updatedhttps-proxy-agent@^3.0.1