Socket
Socket
Sign inDemoInstall

make-fetch-happen

Package Overview
Dependencies
Maintainers
1
Versions
105
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 1.3.1 to 1.4.0

8

cache.js

@@ -105,4 +105,8 @@ 'use strict'

})
}).catch({code: 'ENOENT'}, () => {
return null
}).catch(err => {
if (err.code === 'ENOENT') {
return null
} else {
throw err
}
})

@@ -109,0 +113,0 @@ }

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

<a name="1.4.0"></a>
# [1.4.0](https://github.com/zkat/make-fetch-happen/compare/v1.3.1...v1.4.0) (2017-04-04)
### Bug Fixes
* **cache:** stop relying on BB.catch ([2b04494](https://github.com/zkat/make-fetch-happen/commit/2b04494))
### Features
* **retry:** report retry attempt number as extra header ([fd50927](https://github.com/zkat/make-fetch-happen/commit/fd50927))
<a name="1.3.1"></a>

@@ -7,0 +22,0 @@ ## [1.3.1](https://github.com/zkat/make-fetch-happen/compare/v1.3.0...v1.3.1) (2017-04-04)

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

return fetch(req).then(res => {
res.headers.set('x-fetch-attempts', attemptNum)
if (opts.integrity) {

@@ -247,0 +248,0 @@ const oldBod = res.body

{
"name": "make-fetch-happen",
"version": "1.3.1",
"version": "1.4.0",
"description": "Opinionated, caching, retrying fetch client",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc