Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

make-fetch-happen

Package Overview
Dependencies
Maintainers
9
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

make-fetch-happen - npm Package Compare versions

Comparing version 6.0.1 to 6.1.0

4

cache.js

@@ -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",

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc