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

fetch-ponyfill

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fetch-ponyfill - npm Package Compare versions

Comparing version 6.0.0 to 6.0.1

28

index.d.ts

@@ -1,17 +0,17 @@

declare module "fetch-ponyfill" {
export default function fetchPonyfill(options?: FetchPonyfill.BootstrapOptions): FetchPonyfill.BootstrapRetVal;
}
export = fetchPonyfill;
declare namespace FetchPonyfill {
interface BootstrapOptions {
Promise?: Function;
XMLHttpRequest?: Function;
}
declare function fetchPonyfill(options?: fetchPonyfill.BootstrapOptions): fetchPonyfill.BootstrapRetVal;
interface BootstrapRetVal {
fetch: typeof fetch,
Headers: typeof Headers,
Request: typeof Request,
Response: typeof Response
}
declare namespace fetchPonyfill {
interface BootstrapOptions {
Promise?: Function;
XMLHttpRequest?: Function;
}
interface BootstrapRetVal {
fetch: typeof fetch;
Headers: typeof Headers;
Request: typeof Request;
Response: typeof Response;
}
}
{
"name": "fetch-ponyfill",
"version": "6.0.0",
"version": "6.0.1",
"description": "A ponyfill (doesn't overwrite the native fetch) for the Fetch specification https://fetch.spec.whatwg.org.",

@@ -31,8 +31,8 @@ "main": "fetch-node.js",

"dependencies": {
"node-fetch": "~2.0.0"
"node-fetch": "~2.1.0"
},
"devDependencies": {
"browserify": "~16.1.0",
"eslint": "~4.18.0",
"eslint-config-qubyte": "~1.1.0",
"eslint-config-qubyte": "~2.0.0",
"eslint": "~4.19.0",
"mkdirp": "~0.5.1",

@@ -43,5 +43,5 @@ "mocha": "~5.0.0",

"rimraf": "~2.6.2",
"sinon": "~4.4.0",
"sinon": "~5.0.0",
"testem": "2.0.0",
"webpack": "~4.0.0",
"webpack": "~4.3.0",
"webpack-cli": "~2.0.9",

@@ -48,0 +48,0 @@ "whatwg-fetch": "~2.0.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