@whatwg-node/fetch 0.8.7 → 0.8.8

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,12 @@
1
1
  # @whatwg-node/fetch
2
2
 
3
+ ## 0.8.8
4
+
5
+ ### Patch Changes
6
+
7
+ - [`29b9328`](https://github.com/ardatan/whatwg-node/commit/29b9328509f1b7d5e2d86cc450adcbd773b71d41)
8
+ Thanks [@ardatan](https://github.com/ardatan)! - Export URLPattern constructor not type
9
+
3
10
  ## 0.8.7
4
11
 
5
12
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -2,6 +2,8 @@
2
2
  /// <reference lib="dom.iterable" />
3
3
  /// <reference types="urlpattern-polyfill" />
4
4
 
5
+ declare type _URLPattern = typeof URLPattern
6
+
5
7
  declare module '@whatwg-node/fetch' {
6
8
  export const fetch: typeof globalThis.fetch;
7
9
  export const Request: typeof globalThis.Request;
@@ -23,7 +25,7 @@ declare module '@whatwg-node/fetch' {
23
25
  export const TextEncoder: typeof globalThis.TextEncoder;
24
26
  export const URL: typeof globalThis.URL;
25
27
  export const URLSearchParams: typeof globalThis.URLSearchParams;
26
- export const URLPattern: globalThis.URLPattern;
28
+ export const URLPattern: _URLPattern;
27
29
  export interface FormDataLimits {
28
30
  /* Max field name size (in bytes). Default: 100. */
29
31
  fieldNameSize?: number;
@@ -64,4 +66,4 @@ declare module '@whatwg-node/fetch' {
64
66
  URL: typeof URL;
65
67
  URLSearchParams: typeof URLSearchParams;
66
68
  };
67
- }
69
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whatwg-node/fetch",
3
- "version": "0.8.7",
3
+ "version": "0.8.8",
4
4
  "description": "Cross Platform Smart Fetch Ponyfill",
5
5
  "repository": {
6
6
  "type": "git",