New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

exp-fetch

Package Overview
Dependencies
Maintainers
15
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

exp-fetch - npm Package Compare versions

Comparing version

to
5.3.1

2

index.js

@@ -51,2 +51,3 @@ "use strict";

const retry = "retry" in behavior ? behavior.retry : 0;
const hooks = "hooks" in behavior ? behavior.hooks : {}; // got hooks

@@ -185,2 +186,3 @@ function defaultRequestTimeFn(requestOptions, took) {

cache: false,
hooks,
};

@@ -187,0 +189,0 @@

2

package.json
{
"name": "exp-fetch",
"version": "5.2.1",
"version": "5.3.1",
"description": "A small pluggable fetch lib",

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

@@ -112,2 +112,3 @@ fetch

* `timeout`: see [got](https://github.com/sindresorhus/got) for details, defaults to 20000ms
* `hooks`: see [got](https://github.com/sindresorhus/got) for details, defaults to empty object

@@ -114,0 +115,0 @@ The difference between `freeze` and `deepFreeze` is that `deepFreeze` walks the object graph and freezes any