Socket
Socket
Sign inDemoInstall

myfetchapi

Package Overview
Dependencies
Maintainers
0
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

myfetchapi - npm Package Compare versions

Comparing version 1.7.5 to 1.7.6

5

dist/index.d.ts
import type * as nodefetch from "node-fetch";
export type MyFetchResponse = Response | nodefetch.Response;
export type MyFetchRequestInfo = RequestInfo | nodefetch.RequestInfo;

@@ -27,3 +28,3 @@ export type MyFetchRequestInit = RequestInit | nodefetch.RequestInit;

*/
retryCondition?: (res: Response | nodefetch.Response) => boolean | Promise<boolean>;
retryCondition?: (res: MyFetchResponse) => boolean | Promise<boolean>;
};

@@ -35,2 +36,2 @@ /**

export declare const SET_MAX_CONCURRENT_REQUESTS: (max: number) => void;
export declare function myFetch(input: MyFetchRequestInfo, init?: MyFetchRequestInit, options?: MyFetchOptions): Promise<Response>;
export declare function myFetch(input: MyFetchRequestInfo, init?: MyFetchRequestInit, options?: MyFetchOptions): Promise<MyFetchResponse>;

2

package.json
{
"name": "myfetchapi",
"version": "1.7.5",
"version": "1.7.6",
"description": "mFetch is a JavaScript library that provides a utility function for making HTTP requests with queuing and retry functionality.",

@@ -5,0 +5,0 @@ "type": "commonjs",

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