@whatwg-node/fetch
Advanced tools
Comparing version 0.6.10-alpha-20230207082824-72139f9 to 0.7.0-alpha-20230207093208-c16434f
# @whatwg-node/fetch | ||
## 0.6.10-alpha-20230207082824-72139f9 | ||
## 0.7.0-alpha-20230207093208-c16434f | ||
### Minor Changes | ||
- [#318](https://github.com/ardatan/whatwg-node/pull/318) | ||
[`2bffaa6`](https://github.com/ardatan/whatwg-node/commit/2bffaa6889b4460176a86e01689f6593d0596132) | ||
Thanks [@ardatan](https://github.com/ardatan)! - Typed Request and Response objects | ||
### Patch Changes | ||
@@ -9,3 +15,3 @@ | ||
[[`724cf94`](https://github.com/ardatan/whatwg-node/commit/724cf94f8e076ba1dcd45bce476ce20dafc640be)]: | ||
- @whatwg-node/node-fetch@0.0.6-alpha-20230207082824-72139f9 | ||
- @whatwg-node/node-fetch@0.0.6-alpha-20230207093208-c16434f | ||
@@ -12,0 +18,0 @@ ## 0.6.9 |
/// <reference lib="dom" /> | ||
/// <reference types="urlpattern-polyfill" /> | ||
type TypedResponse<T> = Omit<Response, 'json'> & { | ||
json(): Promise<T>; | ||
} | ||
type TypedResponseConstructor = typeof Response & { | ||
new <T>(...args: ConstructorParameters<typeof Response>): TypedResponse<T>; | ||
json<T>(data: T): TypedResponse<T>; | ||
} | ||
declare const _fetch: typeof fetch; | ||
declare const _Request: typeof Request; | ||
declare const _Response: typeof Response; | ||
declare const _Response: TypedResponseConstructor; | ||
declare const _Headers: typeof Headers; | ||
@@ -8,0 +17,0 @@ declare const _FormData: typeof FormData; |
{ | ||
"name": "@whatwg-node/fetch", | ||
"version": "0.6.10-alpha-20230207082824-72139f9", | ||
"version": "0.7.0-alpha-20230207093208-c16434f", | ||
"description": "Cross Platform Smart Fetch Ponyfill", | ||
@@ -17,3 +17,3 @@ "repository": { | ||
"@peculiar/webcrypto": "^1.4.0", | ||
"@whatwg-node/node-fetch": "0.0.6-alpha-20230207082824-72139f9", | ||
"@whatwg-node/node-fetch": "0.0.6-alpha-20230207093208-c16434f", | ||
"busboy": "^1.6.0", | ||
@@ -20,0 +20,0 @@ "urlpattern-polyfill": "^6.0.2", |
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
26096
9
241
+ Added@whatwg-node/node-fetch@0.0.6-alpha-20230207093208-c16434f(transitive)
- Removed@whatwg-node/node-fetch@0.0.6-alpha-20230207082824-72139f9(transitive)
Updated@whatwg-node/node-fetch@0.0.6-alpha-20230207093208-c16434f