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

xfetch-js

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xfetch-js - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

2

package.json
{
"name": "xfetch-js",
"version": "0.0.4",
"version": "0.0.5",
"description": "",

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

@@ -13,4 +13,5 @@ interface XPromise<T> extends Promise<T> {

}
type originalfetch = GlobalFetch['fetch']
type fetch = (input: string, init?: XRequestInit) => XPromise<Response>
interface XFetch extends GlobalFetch {
interface XFetch {
(input: string, init?: XRequestInit): XPromise<Response>

@@ -23,5 +24,5 @@ get: fetch

head: fetch
create(fetch: GlobalFetch): XFetch
create(fetch: originalfetch): XFetch
}
declare const xfetch: XFetch
export = xfetch
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