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

make-fetch-happen

Package Overview
Dependencies
Maintainers
6
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 10.1.2 to 10.1.3

7

lib/index.js

@@ -13,3 +13,3 @@ const { FetchError, Headers, Request, Response } = require('minipass-fetch')

makeFetchHappen.defaults = (defaultUrl, defaultOptions = {}) => {
makeFetchHappen.defaults = (defaultUrl, defaultOptions = {}, wrappedFetch = makeFetchHappen) => {
if (typeof defaultUrl === 'object') {

@@ -30,6 +30,7 @@ defaultOptions = defaultUrl

}
return makeFetchHappen(finalUrl, finalOptions)
return wrappedFetch(finalUrl, finalOptions)
}
defaultedFetch.defaults = makeFetchHappen.defaults
defaultedFetch.defaults = (defaultUrl1, defaultOptions1 = {}) =>
makeFetchHappen.defaults(defaultUrl1, defaultOptions1, defaultedFetch)
return defaultedFetch

@@ -36,0 +37,0 @@ }

{
"name": "make-fetch-happen",
"version": "10.1.2",
"version": "10.1.3",
"description": "Opinionated, caching, retrying fetch client",

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

"@npmcli/eslint-config": "^3.0.1",
"@npmcli/template-oss": "3.2.2",
"@npmcli/template-oss": "3.4.3",
"mkdirp": "^1.0.4",

@@ -77,4 +77,4 @@ "nock": "^13.2.4",

"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"version": "3.2.2"
"version": "3.4.3"
}
}
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