You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

make-fetch-happen

Package Overview
Dependencies
Maintainers
5
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 10.2.1 to 11.0.0

21

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

@@ -11,5 +11,2 @@ "main": "lib/index.js",

"scripts": {
"preversion": "npm test",
"postversion": "npm publish",
"prepublishOnly": "git push origin --follow-tags",
"test": "tap",

@@ -41,3 +38,3 @@ "posttest": "npm run lint",

"agentkeepalive": "^4.2.1",
"cacache": "^16.1.0",
"cacache": "^17.0.0",
"http-cache-semantics": "^4.1.0",

@@ -59,4 +56,4 @@ "http-proxy-agent": "^5.0.0",

"devDependencies": {
"@npmcli/eslint-config": "^3.0.1",
"@npmcli/template-oss": "3.5.0",
"@npmcli/eslint-config": "^3.1.0",
"@npmcli/template-oss": "4.5.1",
"mkdirp": "^1.0.4",

@@ -70,3 +67,3 @@ "nock": "^13.2.4",

"engines": {
"node": "^12.13.0 || ^14.15.0 || >=16.0.0"
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
},

@@ -77,8 +74,12 @@ "tap": {

"check-coverage": true,
"timeout": 60
"timeout": 60,
"nyc-arg": [
"--exclude",
"tap-snapshots/**"
]
},
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"version": "3.5.0"
"version": "4.5.1"
}
}

@@ -324,3 +324,3 @@ # make-fetch-happen

A function called whenever a retry is attempted.
A function called with the response or error which caused the retry whenever one is attempted.

@@ -331,4 +331,4 @@ ##### Example

fetch('https://flaky.site.com', {
onRetry() {
console.log('we will retry!')
onRetry(cause) {
console.log('we will retry because of', cause)
}

@@ -335,0 +335,0 @@ })

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