@whatwg-node/fetch 0.2.5 → 0.2.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +2 -2
  2. package/package.json +2 -1
package/dist/index.d.ts CHANGED
@@ -33,7 +33,7 @@ declare module "@whatwg-node/fetch" {
33
33
  export const TextDecoder: typeof _TextDecoder;
34
34
  export const TextEncoder: typeof _TextEncoder;
35
35
  export const Event: typeof _Event;
36
- export const EventTarget: typeof EventTarget;
36
+ export const EventTarget: typeof _EventTarget;
37
37
  export interface FormDataLimits {
38
38
  /* Max field name size (in bytes). Default: 100. */
39
39
  fieldNameSize?: number;
@@ -66,7 +66,7 @@ declare module "@whatwg-node/fetch" {
66
66
  TextEncoder: typeof _TextEncoder,
67
67
  TextDecoder: typeof _TextDecoder,
68
68
  Event: typeof _Event,
69
- EventTarget: typeof EventTarget
69
+ EventTarget: typeof _EventTarget
70
70
  });
71
71
  }
72
72
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whatwg-node/fetch",
3
- "version": "0.2.5",
3
+ "version": "0.2.8",
4
4
  "description": "Cross Platform Smart Fetch Ponyfill",
5
5
  "author": "Arda TANRIKULU <ardatanrikulu@gmail.com>",
6
6
  "repository": {
@@ -25,6 +25,7 @@
25
25
  "form-data-encoder": "^1.7.1",
26
26
  "formdata-node": "^4.3.1",
27
27
  "node-fetch": "^2.6.7",
28
+ "undici": "^5.8.0",
28
29
  "web-streams-polyfill": "^3.2.0"
29
30
  },
30
31
  "publishConfig": {