fetch-ponyfill
Advanced tools
Comparing version 6.0.0 to 6.0.1
@@ -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" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22351
467
+ Addednode-fetch@2.1.2(transitive)
- Removednode-fetch@2.0.0(transitive)
Updatednode-fetch@~2.1.0