@whatwg-node/fetch 0.8.6 → 0.8.7-rc-20230424100649-42e02b0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @whatwg-node/fetch
2
2
 
3
+ ## 0.8.7-rc-20230424100649-42e02b0
4
+
5
+ ### Patch Changes
6
+
7
+ - [#495](https://github.com/ardatan/whatwg-node/pull/495)
8
+ [`1a2a92f`](https://github.com/ardatan/whatwg-node/commit/1a2a92fcc4e06342bcc5b18b8c7f2373edfa1552)
9
+ Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates:
10
+
11
+ - Updated dependency
12
+ [`urlpattern-polyfill@^8.0.0` ↗︎](https://www.npmjs.com/package/urlpattern-polyfill/v/8.0.0)
13
+ (from `^7.0.0`, in `dependencies`)
14
+
15
+ - [`6c58ca1`](https://github.com/ardatan/whatwg-node/commit/6c58ca182b2d4538c8f2fe6367add7bbda3c9a38)
16
+ Thanks [@ardatan](https://github.com/ardatan)! - Return correct types in createFetch
17
+
3
18
  ## 0.8.6
4
19
 
5
20
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -44,24 +44,24 @@ declare module '@whatwg-node/fetch' {
44
44
  useNodeFetch?: boolean;
45
45
  formDataLimits?: FormDataLimits;
46
46
  }) => {
47
- fetch: typeof globalThis.fetch;
48
- Request: typeof globalThis.Request;
49
- Response: typeof globalThis.Response;
50
- Headers: typeof globalThis.Headers;
51
- FormData: typeof globalThis.FormData;
52
- AbortSignal: typeof globalThis.AbortSignal;
53
- AbortController: typeof globalThis.AbortController;
54
- ReadableStream: typeof globalThis.ReadableStream;
55
- WritableStream: typeof globalThis.WritableStream;
56
- TransformStream: typeof globalThis.TransformStream;
57
- Blob: typeof globalThis.Blob;
58
- File: typeof globalThis.File;
59
- crypto: typeof globalThis.crypto;
60
- btoa: typeof globalThis.btoa;
61
- TextEncoder: typeof globalThis.TextEncoder;
62
- TextDecoder: typeof globalThis.TextDecoder;
63
- URLPattern: globalThis.URLPattern;
64
- URL: typeof globalThis.URL;
65
- URLSearchParams: typeof globalThis.URLSearchParams;
47
+ fetch: typeof fetch;
48
+ Request: typeof Request;
49
+ Response: typeof Response;
50
+ Headers: typeof Headers;
51
+ FormData: typeof FormData;
52
+ AbortSignal: typeof AbortSignal;
53
+ AbortController: typeof AbortController;
54
+ ReadableStream: typeof ReadableStream;
55
+ WritableStream: typeof WritableStream;
56
+ TransformStream: typeof TransformStream;
57
+ Blob: typeof Blob;
58
+ File: typeof File;
59
+ crypto: typeof crypto;
60
+ btoa: typeof btoa;
61
+ TextEncoder: typeof TextEncoder;
62
+ TextDecoder: typeof TextDecoder;
63
+ URLPattern: typeof URLPattern;
64
+ URL: typeof URL;
65
+ URLSearchParams: typeof URLSearchParams;
66
66
  };
67
67
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whatwg-node/fetch",
3
- "version": "0.8.6",
3
+ "version": "0.8.7-rc-20230424100649-42e02b0",
4
4
  "description": "Cross Platform Smart Fetch Ponyfill",
5
5
  "repository": {
6
6
  "type": "git",
@@ -16,7 +16,7 @@
16
16
  "@peculiar/webcrypto": "^1.4.0",
17
17
  "@whatwg-node/node-fetch": "^0.3.6",
18
18
  "busboy": "^1.6.0",
19
- "urlpattern-polyfill": "^7.0.0",
19
+ "urlpattern-polyfill": "^8.0.0",
20
20
  "web-streams-polyfill": "^3.2.1"
21
21
  },
22
22
  "publishConfig": {