Socket
Socket
Sign inDemoInstall

make-fetch-happen

Package Overview
Dependencies
Maintainers
5
Versions
106
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 13.0.0 to 13.0.1

2

lib/cache/entry.js

@@ -277,2 +277,4 @@ const { Request, Response } = require('minipass-fetch')

cacheWriteReject = reject
}).catch((err) => {
body.emit('error', err)
})

@@ -279,0 +281,0 @@

@@ -5,2 +5,3 @@ const { Minipass } = require('minipass')

const ssri = require('ssri')
const { log } = require('proc-log')

@@ -93,2 +94,4 @@ const CachingMinipassPipeline = require('./pipeline.js')

/* eslint-disable-next-line max-len */
log.http('fetch', `${req.method} ${req.url} attempt ${attemptNum} failed with ${res.status}`)
return retryHandler(res)

@@ -117,2 +120,3 @@ }

log.http('fetch', `${req.method} ${req.url} attempt ${attemptNum} failed with ${err.code}`)
return retryHandler(err)

@@ -119,0 +123,0 @@ }

15

package.json
{
"name": "make-fetch-happen",
"version": "13.0.0",
"version": "13.0.1",
"description": "Opinionated, caching, retrying fetch client",

@@ -14,3 +14,3 @@ "main": "lib/index.js",

"eslint": "eslint",
"lint": "eslint \"**/*.js\"",
"lint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"",
"lintfix": "npm run lint -- --fix",

@@ -46,2 +46,3 @@ "postlint": "template-oss-check",

"negotiator": "^0.6.3",
"proc-log": "^4.2.0",
"promise-retry": "^2.0.1",

@@ -52,3 +53,3 @@ "ssri": "^10.0.0"

"@npmcli/eslint-config": "^4.0.0",
"@npmcli/template-oss": "4.18.0",
"@npmcli/template-oss": "4.21.4",
"nock": "^13.2.4",

@@ -74,11 +75,5 @@ "safe-buffer": "^5.2.1",

"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"ciVersions": [
"16.14.0",
"16.x",
"18.0.0",
"18.x"
],
"version": "4.18.0",
"version": "4.21.4",
"publish": "true"
}
}
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