@comapeo/map-server 1.0.0-pre.0 → 1.0.0-pre.2

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 (146) hide show
  1. package/dist/context.d.ts +1 -1
  2. package/dist/context.js +1 -1
  3. package/dist/index.d.ts +1 -0
  4. package/dist/index.d.ts.map +1 -1
  5. package/dist/index.js +1 -0
  6. package/dist/lib/map-share.js +1 -1
  7. package/dist/routes/maps.js +1 -1
  8. package/dist/types.d.ts +5 -5
  9. package/dist/types.js +2 -2
  10. package/node_modules/@fastify/busboy/LICENSE +24 -0
  11. package/node_modules/@fastify/busboy/README.md +270 -0
  12. package/node_modules/@fastify/busboy/deps/dicer/LICENSE +19 -0
  13. package/node_modules/@fastify/busboy/deps/dicer/lib/Dicer.js +213 -0
  14. package/node_modules/@fastify/busboy/deps/dicer/lib/HeaderParser.js +100 -0
  15. package/node_modules/@fastify/busboy/deps/dicer/lib/PartStream.js +13 -0
  16. package/node_modules/@fastify/busboy/deps/dicer/lib/dicer.d.ts +164 -0
  17. package/node_modules/@fastify/busboy/deps/streamsearch/sbmh.js +230 -0
  18. package/node_modules/@fastify/busboy/lib/main.d.ts +196 -0
  19. package/node_modules/@fastify/busboy/lib/main.js +85 -0
  20. package/node_modules/@fastify/busboy/lib/types/multipart.js +306 -0
  21. package/node_modules/@fastify/busboy/lib/types/urlencoded.js +190 -0
  22. package/node_modules/@fastify/busboy/lib/utils/Decoder.js +54 -0
  23. package/node_modules/@fastify/busboy/lib/utils/basename.js +14 -0
  24. package/node_modules/@fastify/busboy/lib/utils/decodeText.js +114 -0
  25. package/node_modules/@fastify/busboy/lib/utils/getLimit.js +16 -0
  26. package/node_modules/@fastify/busboy/lib/utils/parseParams.js +201 -0
  27. package/node_modules/@fastify/busboy/package.json +81 -0
  28. package/node_modules/@whatwg-node/fetch/CHANGELOG.md +941 -0
  29. package/node_modules/@whatwg-node/fetch/README.md +141 -0
  30. package/node_modules/@whatwg-node/fetch/dist/create-node-ponyfill.js +100 -0
  31. package/node_modules/@whatwg-node/fetch/dist/esm-ponyfill.js +71 -0
  32. package/node_modules/@whatwg-node/fetch/dist/global-ponyfill.js +22 -0
  33. package/node_modules/@whatwg-node/fetch/dist/index.d.ts +73 -0
  34. package/node_modules/@whatwg-node/fetch/dist/node-ponyfill.js +35 -0
  35. package/node_modules/@whatwg-node/fetch/dist/shouldSkipPonyfill.js +17 -0
  36. package/node_modules/@whatwg-node/fetch/package.json +31 -0
  37. package/node_modules/@whatwg-node/node-fetch/cjs/AbortError.js +19 -0
  38. package/node_modules/@whatwg-node/node-fetch/cjs/Blob.js +291 -0
  39. package/node_modules/@whatwg-node/node-fetch/cjs/Body.js +529 -0
  40. package/node_modules/@whatwg-node/node-fetch/cjs/CompressionStream.js +34 -0
  41. package/node_modules/@whatwg-node/node-fetch/cjs/DecompressionStream.js +34 -0
  42. package/node_modules/@whatwg-node/node-fetch/cjs/File.js +15 -0
  43. package/node_modules/@whatwg-node/node-fetch/cjs/FormData.js +150 -0
  44. package/node_modules/@whatwg-node/node-fetch/cjs/Headers.js +309 -0
  45. package/node_modules/@whatwg-node/node-fetch/cjs/IteratorObject.js +134 -0
  46. package/node_modules/@whatwg-node/node-fetch/cjs/ReadableStream.js +245 -0
  47. package/node_modules/@whatwg-node/node-fetch/cjs/Request.js +128 -0
  48. package/node_modules/@whatwg-node/node-fetch/cjs/Response.js +108 -0
  49. package/node_modules/@whatwg-node/node-fetch/cjs/TextEncoderDecoder.js +49 -0
  50. package/node_modules/@whatwg-node/node-fetch/cjs/TextEncoderDecoderStream.js +40 -0
  51. package/node_modules/@whatwg-node/node-fetch/cjs/TransformStream.js +79 -0
  52. package/node_modules/@whatwg-node/node-fetch/cjs/URL.js +28 -0
  53. package/node_modules/@whatwg-node/node-fetch/cjs/URLSearchParams.js +4 -0
  54. package/node_modules/@whatwg-node/node-fetch/cjs/WritableStream.js +115 -0
  55. package/node_modules/@whatwg-node/node-fetch/cjs/fetch.js +107 -0
  56. package/node_modules/@whatwg-node/node-fetch/cjs/fetchCurl.js +142 -0
  57. package/node_modules/@whatwg-node/node-fetch/cjs/fetchNodeHttp.js +152 -0
  58. package/node_modules/@whatwg-node/node-fetch/cjs/index.js +42 -0
  59. package/node_modules/@whatwg-node/node-fetch/cjs/package.json +1 -0
  60. package/node_modules/@whatwg-node/node-fetch/cjs/utils.js +125 -0
  61. package/node_modules/@whatwg-node/node-fetch/esm/AbortError.js +15 -0
  62. package/node_modules/@whatwg-node/node-fetch/esm/Blob.js +279 -0
  63. package/node_modules/@whatwg-node/node-fetch/esm/Body.js +525 -0
  64. package/node_modules/@whatwg-node/node-fetch/esm/CompressionStream.js +29 -0
  65. package/node_modules/@whatwg-node/node-fetch/esm/DecompressionStream.js +29 -0
  66. package/node_modules/@whatwg-node/node-fetch/esm/File.js +11 -0
  67. package/node_modules/@whatwg-node/node-fetch/esm/FormData.js +145 -0
  68. package/node_modules/@whatwg-node/node-fetch/esm/Headers.js +304 -0
  69. package/node_modules/@whatwg-node/node-fetch/esm/IteratorObject.js +130 -0
  70. package/node_modules/@whatwg-node/node-fetch/esm/ReadableStream.js +241 -0
  71. package/node_modules/@whatwg-node/node-fetch/esm/Request.js +124 -0
  72. package/node_modules/@whatwg-node/node-fetch/esm/Response.js +104 -0
  73. package/node_modules/@whatwg-node/node-fetch/esm/TextEncoderDecoder.js +43 -0
  74. package/node_modules/@whatwg-node/node-fetch/esm/TextEncoderDecoderStream.js +35 -0
  75. package/node_modules/@whatwg-node/node-fetch/esm/TransformStream.js +75 -0
  76. package/node_modules/@whatwg-node/node-fetch/esm/URL.js +24 -0
  77. package/node_modules/@whatwg-node/node-fetch/esm/URLSearchParams.js +1 -0
  78. package/node_modules/@whatwg-node/node-fetch/esm/WritableStream.js +111 -0
  79. package/node_modules/@whatwg-node/node-fetch/esm/fetch.js +104 -0
  80. package/node_modules/@whatwg-node/node-fetch/esm/fetchCurl.js +139 -0
  81. package/node_modules/@whatwg-node/node-fetch/esm/fetchNodeHttp.js +148 -0
  82. package/node_modules/@whatwg-node/node-fetch/esm/index.js +18 -0
  83. package/node_modules/@whatwg-node/node-fetch/esm/utils.js +110 -0
  84. package/node_modules/@whatwg-node/node-fetch/package.json +46 -0
  85. package/node_modules/@whatwg-node/node-fetch/typings/AbortError.d.cts +4 -0
  86. package/node_modules/@whatwg-node/node-fetch/typings/AbortError.d.ts +4 -0
  87. package/node_modules/@whatwg-node/node-fetch/typings/Blob.d.cts +63 -0
  88. package/node_modules/@whatwg-node/node-fetch/typings/Blob.d.ts +63 -0
  89. package/node_modules/@whatwg-node/node-fetch/typings/Body.d.cts +54 -0
  90. package/node_modules/@whatwg-node/node-fetch/typings/Body.d.ts +54 -0
  91. package/node_modules/@whatwg-node/node-fetch/typings/CompressionStream.d.cts +6 -0
  92. package/node_modules/@whatwg-node/node-fetch/typings/CompressionStream.d.ts +6 -0
  93. package/node_modules/@whatwg-node/node-fetch/typings/DecompressionStream.d.cts +6 -0
  94. package/node_modules/@whatwg-node/node-fetch/typings/DecompressionStream.d.ts +6 -0
  95. package/node_modules/@whatwg-node/node-fetch/typings/File.d.cts +7 -0
  96. package/node_modules/@whatwg-node/node-fetch/typings/File.d.ts +7 -0
  97. package/node_modules/@whatwg-node/node-fetch/typings/FormData.d.cts +22 -0
  98. package/node_modules/@whatwg-node/node-fetch/typings/FormData.d.ts +22 -0
  99. package/node_modules/@whatwg-node/node-fetch/typings/Headers.d.cts +26 -0
  100. package/node_modules/@whatwg-node/node-fetch/typings/Headers.d.ts +26 -0
  101. package/node_modules/@whatwg-node/node-fetch/typings/IteratorObject.d.cts +20 -0
  102. package/node_modules/@whatwg-node/node-fetch/typings/IteratorObject.d.ts +20 -0
  103. package/node_modules/@whatwg-node/node-fetch/typings/ReadableStream.d.cts +27 -0
  104. package/node_modules/@whatwg-node/node-fetch/typings/ReadableStream.d.ts +27 -0
  105. package/node_modules/@whatwg-node/node-fetch/typings/Request.d.cts +38 -0
  106. package/node_modules/@whatwg-node/node-fetch/typings/Request.d.ts +38 -0
  107. package/node_modules/@whatwg-node/node-fetch/typings/Response.d.cts +23 -0
  108. package/node_modules/@whatwg-node/node-fetch/typings/Response.d.ts +23 -0
  109. package/node_modules/@whatwg-node/node-fetch/typings/TextEncoderDecoder.d.cts +15 -0
  110. package/node_modules/@whatwg-node/node-fetch/typings/TextEncoderDecoder.d.ts +15 -0
  111. package/node_modules/@whatwg-node/node-fetch/typings/TextEncoderDecoderStream.d.cts +14 -0
  112. package/node_modules/@whatwg-node/node-fetch/typings/TextEncoderDecoderStream.d.ts +14 -0
  113. package/node_modules/@whatwg-node/node-fetch/typings/TransformStream.d.cts +9 -0
  114. package/node_modules/@whatwg-node/node-fetch/typings/TransformStream.d.ts +9 -0
  115. package/node_modules/@whatwg-node/node-fetch/typings/URL.d.cts +16 -0
  116. package/node_modules/@whatwg-node/node-fetch/typings/URL.d.ts +16 -0
  117. package/node_modules/@whatwg-node/node-fetch/typings/URLSearchParams.d.cts +4 -0
  118. package/node_modules/@whatwg-node/node-fetch/typings/URLSearchParams.d.ts +4 -0
  119. package/node_modules/@whatwg-node/node-fetch/typings/WritableStream.d.cts +9 -0
  120. package/node_modules/@whatwg-node/node-fetch/typings/WritableStream.d.ts +9 -0
  121. package/node_modules/@whatwg-node/node-fetch/typings/fetch.d.cts +3 -0
  122. package/node_modules/@whatwg-node/node-fetch/typings/fetch.d.ts +3 -0
  123. package/node_modules/@whatwg-node/node-fetch/typings/fetchCurl.d.cts +3 -0
  124. package/node_modules/@whatwg-node/node-fetch/typings/fetchCurl.d.ts +3 -0
  125. package/node_modules/@whatwg-node/node-fetch/typings/fetchNodeHttp.d.cts +3 -0
  126. package/node_modules/@whatwg-node/node-fetch/typings/fetchNodeHttp.d.ts +3 -0
  127. package/node_modules/@whatwg-node/node-fetch/typings/index.d.cts +18 -0
  128. package/node_modules/@whatwg-node/node-fetch/typings/index.d.ts +18 -0
  129. package/node_modules/@whatwg-node/node-fetch/typings/utils.d.cts +21 -0
  130. package/node_modules/@whatwg-node/node-fetch/typings/utils.d.ts +21 -0
  131. package/node_modules/@whatwg-node/server/package.json +2 -1
  132. package/node_modules/urlpattern-polyfill/LICENSE +19 -0
  133. package/node_modules/urlpattern-polyfill/README.md +242 -0
  134. package/node_modules/urlpattern-polyfill/dist/index.d.ts +9 -0
  135. package/node_modules/urlpattern-polyfill/dist/types.d.ts +49 -0
  136. package/node_modules/urlpattern-polyfill/dist/urlpattern.cjs +1 -0
  137. package/node_modules/urlpattern-polyfill/dist/urlpattern.js +1 -0
  138. package/node_modules/urlpattern-polyfill/index.cjs +7 -0
  139. package/node_modules/urlpattern-polyfill/index.js +7 -0
  140. package/node_modules/urlpattern-polyfill/package.json +149 -0
  141. package/package.json +18 -8
  142. package/src/context.ts +1 -1
  143. package/src/index.ts +2 -0
  144. package/src/lib/map-share.ts +1 -1
  145. package/src/routes/maps.ts +1 -1
  146. package/src/types.ts +2 -2
@@ -0,0 +1,941 @@
1
+ # @whatwg-node/fetch
2
+
3
+ ## 0.10.13
4
+
5
+ ### Patch Changes
6
+
7
+ - [#2910](https://github.com/ardatan/whatwg-node/pull/2910)
8
+ [`0079afd`](https://github.com/ardatan/whatwg-node/commit/0079afdc785c012fad22dd35963800a8199bfe89)
9
+ Thanks [@ardatan](https://github.com/ardatan)! - Zstandard \`zstd\` support
10
+
11
+ - Updated dependencies
12
+ [[`0079afd`](https://github.com/ardatan/whatwg-node/commit/0079afdc785c012fad22dd35963800a8199bfe89)]:
13
+ - @whatwg-node/node-fetch@0.8.3
14
+
15
+ ## 0.10.12
16
+
17
+ ### Patch Changes
18
+
19
+ - [`c9b2c87`](https://github.com/ardatan/whatwg-node/commit/c9b2c87bff6f36b71cd1bd97f81f1050efa8dd98)
20
+ Thanks [@ardatan](https://github.com/ardatan)! - Do not override existing \`user-agent\`
21
+
22
+ - Updated dependencies
23
+ [[`c9b2c87`](https://github.com/ardatan/whatwg-node/commit/c9b2c87bff6f36b71cd1bd97f81f1050efa8dd98)]:
24
+ - @whatwg-node/node-fetch@0.8.2
25
+
26
+ ## 0.10.11
27
+
28
+ ### Patch Changes
29
+
30
+ - Updated dependencies
31
+ [[`60d41d6`](https://github.com/ardatan/whatwg-node/commit/60d41d6df941ca16f733556a3d3586486236a146)]:
32
+ - @whatwg-node/node-fetch@0.8.0
33
+
34
+ ## 0.10.10
35
+
36
+ ### Patch Changes
37
+
38
+ - [#2656](https://github.com/ardatan/whatwg-node/pull/2656)
39
+ [`d2ef55c`](https://github.com/ardatan/whatwg-node/commit/d2ef55c7735c7127e4ed404dd8bbebe8fd3ebd00)
40
+ Thanks [@renovate](https://github.com/apps/renovate)! - Fix TypeScript issues and bump the version
41
+ to get performance improvements for all dependent packages
42
+ - Updated dependencies
43
+ [[`d2ef55c`](https://github.com/ardatan/whatwg-node/commit/d2ef55c7735c7127e4ed404dd8bbebe8fd3ebd00)]:
44
+ - @whatwg-node/node-fetch@0.7.25
45
+
46
+ ## 0.10.9
47
+
48
+ ### Patch Changes
49
+
50
+ - [#2553](https://github.com/ardatan/whatwg-node/pull/2553)
51
+ [`752b0eb`](https://github.com/ardatan/whatwg-node/commit/752b0ebdc88654ef4ae1e13eb860980f437b4110)
52
+ Thanks [@renovate](https://github.com/apps/renovate)! - Fix the conflict of urlpattern-ponyfill
53
+ and \`@types/node\`
54
+
55
+ - Updated dependencies
56
+ [[`b69157b`](https://github.com/ardatan/whatwg-node/commit/b69157bd97aba8fb4c761f8d16afc549c35acfa0)]:
57
+ - @whatwg-node/node-fetch@0.7.22
58
+
59
+ ## 0.10.8
60
+
61
+ ### Patch Changes
62
+
63
+ - [#2424](https://github.com/ardatan/whatwg-node/pull/2424)
64
+ [`28c4ad9`](https://github.com/ardatan/whatwg-node/commit/28c4ad98aad3ec95a1f0893c54f5484d8564f675)
65
+ Thanks [@ardatan](https://github.com/ardatan)! - Performance optimizations
66
+ - Avoid creating `AbortController` and `AbortSignal` if not needed with `new Request` because it
67
+ is expensive
68
+ - Avoid creating a map for `Headers` and try to re-use the init object for `Headers` for
69
+ performance with a single-line `writeHead`.
70
+ - Avoid creating `Buffer` for `string` bodies for performance
71
+ - Use `setHeaders` which accepts `Headers` since Node 18 if needed to forward `Headers` to Node
72
+
73
+ - Updated dependencies
74
+ [[`28c4ad9`](https://github.com/ardatan/whatwg-node/commit/28c4ad98aad3ec95a1f0893c54f5484d8564f675)]:
75
+ - @whatwg-node/node-fetch@0.7.21
76
+
77
+ ## 0.10.7
78
+
79
+ ### Patch Changes
80
+
81
+ - [#2383](https://github.com/ardatan/whatwg-node/pull/2383)
82
+ [`9527e8f`](https://github.com/ardatan/whatwg-node/commit/9527e8fe2dc73e362b38060f4a6decbb87a4f597)
83
+ Thanks [@ardatan](https://github.com/ardatan)! - Some implementations like `compression` npm
84
+ package do not implement `response.write(data, callback)` signature, but whatwg-node/server waits
85
+ for it to finish the response stream. Then it causes the response stream hangs when the
86
+ compression package takes the stream over when the response data is larger than its threshold.
87
+
88
+ It is actually a bug in `compression` package;
89
+ [expressjs/compression#46](https://github.com/expressjs/compression/issues/46) But since it is a
90
+ common mistake, we prefer to workaround this on our end.
91
+
92
+ Now after calling `response.write`, it no longer uses callback but first it checks the result;
93
+
94
+ if it is `true`, it means stream is drained and we can call `response.end` immediately. else if it
95
+ is `false`, it means the stream is not drained yet, so we can wait for the `drain` event to call
96
+ `response.end`.
97
+
98
+ - Updated dependencies
99
+ [[`9527e8f`](https://github.com/ardatan/whatwg-node/commit/9527e8fe2dc73e362b38060f4a6decbb87a4f597)]:
100
+ - @whatwg-node/node-fetch@0.7.19
101
+
102
+ ## 0.10.6
103
+
104
+ ### Patch Changes
105
+
106
+ - [#2310](https://github.com/ardatan/whatwg-node/pull/2310)
107
+ [`f699a1b`](https://github.com/ardatan/whatwg-node/commit/f699a1ba1558f98406f5844a31c07f77d874eb9b)
108
+ Thanks [@enisdenjo](https://github.com/enisdenjo)! - dependencies updates:
109
+ - Updated dependency
110
+ [`@whatwg-node/node-fetch@^0.7.18` ↗︎](https://www.npmjs.com/package/@whatwg-node/node-fetch/v/0.7.18)
111
+ (from `^0.7.11`, in `dependencies`)
112
+
113
+ ## 0.10.5
114
+
115
+ ### Patch Changes
116
+
117
+ - [#2093](https://github.com/ardatan/whatwg-node/pull/2093)
118
+ [`31f021a`](https://github.com/ardatan/whatwg-node/commit/31f021ac5df1ddd7f16807d4ed6c5776d250ab29)
119
+ Thanks [@ardatan](https://github.com/ardatan)! - Fixes the
120
+ `TypeError: bodyInit.stream is not a function` error thrown when `@whatwg-node/server` is used
121
+ with `node:http2` and attempts the incoming HTTP/2 request to parse with `Request.json`,
122
+ `Request.text`, `Request.formData`, or `Request.blob` methods.
123
+
124
+ - Updated dependencies
125
+ [[`31f021a`](https://github.com/ardatan/whatwg-node/commit/31f021ac5df1ddd7f16807d4ed6c5776d250ab29)]:
126
+ - @whatwg-node/node-fetch@0.7.11
127
+
128
+ ## 0.10.4
129
+
130
+ ### Patch Changes
131
+
132
+ - [#2082](https://github.com/ardatan/whatwg-node/pull/2082)
133
+ [`b217e30`](https://github.com/ardatan/whatwg-node/commit/b217e305b5a5d63e164cf83ef45e7d1e95fefa0e)
134
+ Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates:
135
+ - Updated dependency
136
+ [`@whatwg-node/node-fetch@^0.7.9` ↗︎](https://www.npmjs.com/package/@whatwg-node/node-fetch/v/0.7.9)
137
+ (from `^0.7.8`, in `dependencies`)
138
+
139
+ - [#2079](https://github.com/ardatan/whatwg-node/pull/2079)
140
+ [`090b4b0`](https://github.com/ardatan/whatwg-node/commit/090b4b0d2aefbf36707fa236395bc6ea99227b9c)
141
+ Thanks [@ardatan](https://github.com/ardatan)! - Fix the bug when `set-cookies` given is ignored
142
+ in `HeadersInit`;
143
+
144
+ ```js
145
+ import { Headers } from '@whatwg-node/fetch'
146
+
147
+ const headers = new Headers([
148
+ ['set-cookie', 'a=b'],
149
+ ['set-cookie', 'c=d']
150
+ ])
151
+ expect(headers.getSetCookie()).toEqual(['a=b', 'c=d']) // Previously it was empty
152
+ ```
153
+
154
+ - Updated dependencies
155
+ [[`090b4b0`](https://github.com/ardatan/whatwg-node/commit/090b4b0d2aefbf36707fa236395bc6ea99227b9c)]:
156
+ - @whatwg-node/node-fetch@0.7.10
157
+
158
+ ## 0.10.3
159
+
160
+ ### Patch Changes
161
+
162
+ - [#1961](https://github.com/ardatan/whatwg-node/pull/1961)
163
+ [`2785c80`](https://github.com/ardatan/whatwg-node/commit/2785c80be2c887c581ef0fac8150befeab306eba)
164
+ Thanks [@ardatan](https://github.com/ardatan)! - `ReadableStream`'s `Symbol.asyncIterator` now
165
+ returns `AsyncIterableIterator` like before even if it is ok to return `AsyncIterator` right now.
166
+ It is safer to return `AsyncIterableIterator` because it is a common mistake to use
167
+ `AsyncIterator` as `AsyncIterable`.
168
+ - Updated dependencies
169
+ [[`2785c80`](https://github.com/ardatan/whatwg-node/commit/2785c80be2c887c581ef0fac8150befeab306eba)]:
170
+ - @whatwg-node/node-fetch@0.7.7
171
+
172
+ ## 0.10.2
173
+
174
+ ### Patch Changes
175
+
176
+ - [#1929](https://github.com/ardatan/whatwg-node/pull/1929)
177
+ [`b88b85c`](https://github.com/ardatan/whatwg-node/commit/b88b85c301923719f4722bdfe070728725bcc1b5)
178
+ Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates:
179
+ - Updated dependency
180
+ [`@whatwg-node/node-fetch@^0.7.5` ↗︎](https://www.npmjs.com/package/@whatwg-node/node-fetch/v/0.7.5)
181
+ (from `^0.7.1`, in `dependencies`)
182
+ - Updated dependencies
183
+ [[`b88b85c`](https://github.com/ardatan/whatwg-node/commit/b88b85c301923719f4722bdfe070728725bcc1b5),
184
+ [`9b39c3e`](https://github.com/ardatan/whatwg-node/commit/9b39c3e5db616a60e6dd8472fbd651f4905f3673),
185
+ [`b88b85c`](https://github.com/ardatan/whatwg-node/commit/b88b85c301923719f4722bdfe070728725bcc1b5)]:
186
+ - @whatwg-node/node-fetch@0.7.6
187
+
188
+ ## 0.10.1
189
+
190
+ ### Patch Changes
191
+
192
+ - [`c68f5ad`](https://github.com/ardatan/whatwg-node/commit/c68f5ad0782476b4b4facf490600b5f3341a4886)
193
+ Thanks [@ardatan](https://github.com/ardatan)! - Pass errors to ReadableStream's cancel method
194
+ properly when it is piped, and piped stream is cancelled
195
+
196
+ Implement `ReadableStream.from`
197
+
198
+ - Updated dependencies
199
+ [[`c68f5ad`](https://github.com/ardatan/whatwg-node/commit/c68f5ad0782476b4b4facf490600b5f3341a4886)]:
200
+ - @whatwg-node/node-fetch@0.7.1
201
+
202
+ ## 0.10.0
203
+
204
+ ### Minor Changes
205
+
206
+ - [#1782](https://github.com/ardatan/whatwg-node/pull/1782)
207
+ [`6c006e1`](https://github.com/ardatan/whatwg-node/commit/6c006e12eaa6705cdf20b7b43cccc44a1f7ea185)
208
+ Thanks [@ardatan](https://github.com/ardatan)! - \`TextDecoderStream\` and \`TextEncoderStream\`
209
+
210
+ ### Patch Changes
211
+
212
+ - Updated dependencies
213
+ [[`6c006e1`](https://github.com/ardatan/whatwg-node/commit/6c006e12eaa6705cdf20b7b43cccc44a1f7ea185)]:
214
+ - @whatwg-node/node-fetch@0.7.0
215
+
216
+ ## 0.9.23
217
+
218
+ ### Patch Changes
219
+
220
+ - Updated dependencies
221
+ [[`637185f`](https://github.com/ardatan/whatwg-node/commit/637185f5c992ccabff13b185d4e14f09680228da)]:
222
+ - @whatwg-node/node-fetch@0.6.0
223
+
224
+ ## 0.9.22
225
+
226
+ ### Patch Changes
227
+
228
+ - [`77dd1c3`](https://github.com/ardatan/whatwg-node/commit/77dd1c3acde29aeb828b6eb37b6fbdbb47a16c57)
229
+ Thanks [@ardatan](https://github.com/ardatan)! - Use \`globalThis\` instead of \`window\` for the
230
+ global object reference
231
+
232
+ Fixes the issues with Deno
233
+
234
+ - Updated dependencies
235
+ [[`9281e02`](https://github.com/ardatan/whatwg-node/commit/9281e021282a43a3dda8c8a5c9647d340b28698e)]:
236
+ - @whatwg-node/node-fetch@0.5.27
237
+
238
+ ## 0.9.21
239
+
240
+ ### Patch Changes
241
+
242
+ - [#1577](https://github.com/ardatan/whatwg-node/pull/1577)
243
+ [`99c4344`](https://github.com/ardatan/whatwg-node/commit/99c4344ec82717be079e725538a532a827fbef82)
244
+ Thanks [@ardatan](https://github.com/ardatan)! - - Improve native ReadableStream handling inside
245
+ ponyfills
246
+ - Use `waitUntil` instead of floating promises
247
+ - Handle early termination in `WritableStream`
248
+ - Handle `waitUntil` correctly within a dummy call of `ServerAdapter.fetch` method
249
+ - Updated dependencies
250
+ [[`99c4344`](https://github.com/ardatan/whatwg-node/commit/99c4344ec82717be079e725538a532a827fbef82)]:
251
+ - @whatwg-node/node-fetch@0.5.23
252
+
253
+ ## 0.9.20
254
+
255
+ ### Patch Changes
256
+
257
+ - [#1566](https://github.com/ardatan/whatwg-node/pull/1566)
258
+ [`de1e95a`](https://github.com/ardatan/whatwg-node/commit/de1e95a8eb107083e638aa8472089b96b33bbe4a)
259
+ Thanks [@ardatan](https://github.com/ardatan)! - Avoid constructing DecompressionStream to check
260
+ supported encodings
261
+
262
+ - Updated dependencies
263
+ [[`de1e95a`](https://github.com/ardatan/whatwg-node/commit/de1e95a8eb107083e638aa8472089b96b33bbe4a)]:
264
+ - @whatwg-node/node-fetch@0.5.22
265
+
266
+ ## 0.9.19
267
+
268
+ ### Patch Changes
269
+
270
+ - [#1495](https://github.com/ardatan/whatwg-node/pull/1495)
271
+ [`bebc159`](https://github.com/ardatan/whatwg-node/commit/bebc159e0a470a0ea89a8575f620ead3f1b6b594)
272
+ Thanks [@ardatan](https://github.com/ardatan)! - Implement \`CompressionStream\`,
273
+ \`WritableStream\` and \`TransformStream\`
274
+
275
+ - Updated dependencies
276
+ [[`bebc159`](https://github.com/ardatan/whatwg-node/commit/bebc159e0a470a0ea89a8575f620ead3f1b6b594)]:
277
+ - @whatwg-node/node-fetch@0.5.16
278
+
279
+ ## 0.9.18
280
+
281
+ ### Patch Changes
282
+
283
+ - [#1328](https://github.com/ardatan/whatwg-node/pull/1328)
284
+ [`36904b4`](https://github.com/ardatan/whatwg-node/commit/36904b46871aaf823055eb05fbd8969453cba9ae)
285
+ Thanks [@ardatan](https://github.com/ardatan)! - Add `skipPonyfill` flag to `createFetch` to skip
286
+ ponyfills and use the native Fetch implementation for Node.js
287
+
288
+ ## 0.9.17
289
+
290
+ ### Patch Changes
291
+
292
+ - [#1162](https://github.com/ardatan/whatwg-node/pull/1162)
293
+ [`0c6e9ca`](https://github.com/ardatan/whatwg-node/commit/0c6e9ca61ee07b49009b6e4d7d9d5e1d80912450)
294
+ Thanks [@ardatan](https://github.com/ardatan)! - Consume the body with PassThrough
295
+
296
+ - Updated dependencies
297
+ [[`0c6e9ca`](https://github.com/ardatan/whatwg-node/commit/0c6e9ca61ee07b49009b6e4d7d9d5e1d80912450)]:
298
+ - @whatwg-node/node-fetch@0.5.7
299
+
300
+ ## 0.9.16
301
+
302
+ ### Patch Changes
303
+
304
+ - [#1102](https://github.com/ardatan/whatwg-node/pull/1102)
305
+ [`d9800cc`](https://github.com/ardatan/whatwg-node/commit/d9800cc1693ceae7893e08cf5a3a4bcc49f0f9d5)
306
+ Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates:
307
+ - Updated dependency
308
+ [`urlpattern-polyfill@^10.0.0` ↗︎](https://www.npmjs.com/package/urlpattern-polyfill/v/10.0.0)
309
+ (from `^9.0.0`, in `dependencies`)
310
+ - Updated dependencies
311
+ [[`45ec735`](https://github.com/ardatan/whatwg-node/commit/45ec735bd3081f42221bdccb70692b420ce16efa),
312
+ [`a129376`](https://github.com/ardatan/whatwg-node/commit/a1293766bcf8d2465844aec1d80957e2af1b16f1)]:
313
+ - @whatwg-node/node-fetch@0.5.5
314
+
315
+ ## 0.9.15
316
+
317
+ ### Patch Changes
318
+
319
+ - [`772552c`](https://github.com/ardatan/whatwg-node/commit/772552c0521b883c30d8f4d64c8ea093e75a95a0)
320
+ Thanks [@ardatan](https://github.com/ardatan)! - Skip ponyfilling if NextJS
321
+
322
+ ## 0.9.14
323
+
324
+ ### Patch Changes
325
+
326
+ - [`68ac24c`](https://github.com/ardatan/whatwg-node/commit/68ac24c342bf2215450bb910c2132f6db0b62993)
327
+ Thanks [@ardatan](https://github.com/ardatan)! - Support TypeScript 5.2.2
328
+
329
+ - Updated dependencies
330
+ [[`f7e507f`](https://github.com/ardatan/whatwg-node/commit/f7e507f6565a1f9cd50fc8c01594ce21205a05dd)]:
331
+ - @whatwg-node/node-fetch@0.5.0
332
+
333
+ ## 0.9.13
334
+
335
+ ### Patch Changes
336
+
337
+ - [`854b778`](https://github.com/ardatan/whatwg-node/commit/854b7786f4ef134a00a4f8f4df02721a7a4c77bb)
338
+ Thanks [@ardatan](https://github.com/ardatan)! - Do not try to import node-libcurl in Deno and Bun
339
+
340
+ ## 0.9.12
341
+
342
+ ### Patch Changes
343
+
344
+ - [`a8467ab`](https://github.com/ardatan/whatwg-node/commit/a8467ab9e3e4701eb0d3101ff904597cd9adc438)
345
+ Thanks [@ardatan](https://github.com/ardatan)! - Fake promise's then method may not take a
346
+ callback function
347
+
348
+ - Updated dependencies
349
+ [[`a8467ab`](https://github.com/ardatan/whatwg-node/commit/a8467ab9e3e4701eb0d3101ff904597cd9adc438)]:
350
+ - @whatwg-node/node-fetch@0.4.17
351
+
352
+ ## 0.9.11
353
+
354
+ ### Patch Changes
355
+
356
+ - [`96efb10`](https://github.com/ardatan/whatwg-node/commit/96efb10a4508fa1b86482f5238d63ec6015e0d74)
357
+ Thanks [@ardatan](https://github.com/ardatan)! - Ignore content-length while reading the request
358
+ body
359
+
360
+ - Updated dependencies
361
+ [[`96efb10`](https://github.com/ardatan/whatwg-node/commit/96efb10a4508fa1b86482f5238d63ec6015e0d74)]:
362
+ - @whatwg-node/node-fetch@0.4.16
363
+
364
+ ## 0.9.10
365
+
366
+ ### Patch Changes
367
+
368
+ - [#806](https://github.com/ardatan/whatwg-node/pull/806)
369
+ [`9b6911a`](https://github.com/ardatan/whatwg-node/commit/9b6911a8fca0fc046278a8b490e14eb4412da98f)
370
+ Thanks [@ardatan](https://github.com/ardatan)! - Return `Buffer` instead of `ArrayBuffer` in
371
+ `.arrayBuffer` due to a bug in Node.js that returns a bigger ArrayBuffer causing memory overflow
372
+ - Updated dependencies
373
+ [[`9b6911a`](https://github.com/ardatan/whatwg-node/commit/9b6911a8fca0fc046278a8b490e14eb4412da98f)]:
374
+ - @whatwg-node/node-fetch@0.4.15
375
+
376
+ ## 0.9.9
377
+
378
+ ### Patch Changes
379
+
380
+ - [#567](https://github.com/ardatan/whatwg-node/pull/567)
381
+ [`f8715cd`](https://github.com/ardatan/whatwg-node/commit/f8715cd15175e348169a11fd5531b901fec47e62)
382
+ Thanks [@ardatan](https://github.com/ardatan)! - ### Faster HTTP Client experience in Node.js with
383
+ HTTP/2 support
384
+
385
+ If you install `node-libcurl` seperately, `@whatwg-node/fetch` will select `libcurl` instead of
386
+ `node:http` which is faster.
387
+
388
+ [See benchmarks](https://github.com/JCMais/node-libcurl/tree/develop/benchmark#ubuntu-1910-i7-5500u-24ghz---linux-530-42---node-v12162)
389
+
390
+ - Updated dependencies
391
+ [[`f8715cd`](https://github.com/ardatan/whatwg-node/commit/f8715cd15175e348169a11fd5531b901fec47e62)]:
392
+ - @whatwg-node/node-fetch@0.4.8
393
+
394
+ ## 0.9.8
395
+
396
+ ### Patch Changes
397
+
398
+ - [`a1c2140`](https://github.com/ardatan/whatwg-node/commit/a1c2140240388ca11a6f4c7bcec2682c47bdc24d)
399
+ Thanks [@ardatan](https://github.com/ardatan)! - Do not use async iterators to consume incoming
400
+ Readable stream
401
+
402
+ - Updated dependencies
403
+ [[`a1c2140`](https://github.com/ardatan/whatwg-node/commit/a1c2140240388ca11a6f4c7bcec2682c47bdc24d)]:
404
+ - @whatwg-node/node-fetch@0.4.7
405
+
406
+ ## 0.9.7
407
+
408
+ ### Patch Changes
409
+
410
+ - [`124bbe5`](https://github.com/ardatan/whatwg-node/commit/124bbe55f125dc9248fdde9c7e86637d905739fe)
411
+ Thanks [@ardatan](https://github.com/ardatan)! - Implement Headers.getSetCookie and a custom
412
+ serializer for node.inspect
413
+
414
+ - Updated dependencies
415
+ [[`124bbe5`](https://github.com/ardatan/whatwg-node/commit/124bbe55f125dc9248fdde9c7e86637d905739fe)]:
416
+ - @whatwg-node/node-fetch@0.4.6
417
+
418
+ ## 0.9.6
419
+
420
+ ### Patch Changes
421
+
422
+ - [#614](https://github.com/ardatan/whatwg-node/pull/614)
423
+ [`f07d1c5`](https://github.com/ardatan/whatwg-node/commit/f07d1c5af5d17d64a45162a23a755ae8ce11ac93)
424
+ Thanks [@ardatan](https://github.com/ardatan)! - Performance optimizations
425
+
426
+ - Updated dependencies
427
+ [[`f07d1c5`](https://github.com/ardatan/whatwg-node/commit/f07d1c5af5d17d64a45162a23a755ae8ce11ac93)]:
428
+ - @whatwg-node/node-fetch@0.4.5
429
+
430
+ ## 0.9.5
431
+
432
+ ### Patch Changes
433
+
434
+ - [#612](https://github.com/ardatan/whatwg-node/pull/612)
435
+ [`273ca94`](https://github.com/ardatan/whatwg-node/commit/273ca94a35e0d4236d932e28f295f405d9adbd4c)
436
+ Thanks [@ardatan](https://github.com/ardatan)! - Performance optimizations
437
+
438
+ - Updated dependencies
439
+ [[`273ca94`](https://github.com/ardatan/whatwg-node/commit/273ca94a35e0d4236d932e28f295f405d9adbd4c)]:
440
+ - @whatwg-node/node-fetch@0.4.4
441
+
442
+ ## 0.9.4
443
+
444
+ ### Patch Changes
445
+
446
+ - [#597](https://github.com/ardatan/whatwg-node/pull/597)
447
+ [`d118d53`](https://github.com/ardatan/whatwg-node/commit/d118d538f3ab75f87728c4c8373b5b53fb8e1d51)
448
+ Thanks [@ardatan](https://github.com/ardatan)! - Performance optimizations
449
+
450
+ - Updated dependencies
451
+ [[`d118d53`](https://github.com/ardatan/whatwg-node/commit/d118d538f3ab75f87728c4c8373b5b53fb8e1d51)]:
452
+ - @whatwg-node/node-fetch@0.4.3
453
+
454
+ ## 0.9.3
455
+
456
+ ### Patch Changes
457
+
458
+ - [`d7d9d9f`](https://github.com/ardatan/whatwg-node/commit/d7d9d9ff8903126eb3a346d35dcf621cafff1bd8)
459
+ Thanks [@ardatan](https://github.com/ardatan)! - Bump internal packages
460
+
461
+ - Updated dependencies
462
+ [[`d7d9d9f`](https://github.com/ardatan/whatwg-node/commit/d7d9d9ff8903126eb3a346d35dcf621cafff1bd8)]:
463
+ - @whatwg-node/node-fetch@0.4.2
464
+
465
+ ## 0.9.2
466
+
467
+ ### Patch Changes
468
+
469
+ - [#577](https://github.com/ardatan/whatwg-node/pull/577)
470
+ [`99f00e8`](https://github.com/ardatan/whatwg-node/commit/99f00e813fbe9cd1986bbf72c40d66df935a4c5b)
471
+ Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates:
472
+ - Updated dependency
473
+ [`urlpattern-polyfill@^9.0.0` ↗︎](https://www.npmjs.com/package/urlpattern-polyfill/v/9.0.0)
474
+ (from `^8.0.0`, in `dependencies`)
475
+
476
+ ## 0.9.1
477
+
478
+ ### Patch Changes
479
+
480
+ - [`58b733d`](https://github.com/ardatan/whatwg-node/commit/58b733da41ca913348abd30e2253b332370aa51d)
481
+ Thanks [@ardatan](https://github.com/ardatan)! - Bump node-fetch package
482
+
483
+ ## 0.9.0
484
+
485
+ ### Minor Changes
486
+
487
+ - [#535](https://github.com/ardatan/whatwg-node/pull/535)
488
+ [`01051f8`](https://github.com/ardatan/whatwg-node/commit/01051f8b3408ac26612b8d8ea2702a3f7e6667af)
489
+ Thanks [@ardatan](https://github.com/ardatan)! - Drop Node 14 support
490
+
491
+ ### Patch Changes
492
+
493
+ - [#535](https://github.com/ardatan/whatwg-node/pull/535)
494
+ [`01051f8`](https://github.com/ardatan/whatwg-node/commit/01051f8b3408ac26612b8d8ea2702a3f7e6667af)
495
+ Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates:
496
+ - Removed dependency
497
+ [`@peculiar/webcrypto@^1.4.0` ↗︎](https://www.npmjs.com/package/@peculiar/webcrypto/v/1.4.0)
498
+ (from `dependencies`)
499
+ - Removed dependency [`busboy@^1.6.0` ↗︎](https://www.npmjs.com/package/busboy/v/1.6.0) (from
500
+ `dependencies`)
501
+ - Removed dependency
502
+ [`web-streams-polyfill@^3.2.1` ↗︎](https://www.npmjs.com/package/web-streams-polyfill/v/3.2.1)
503
+ (from `dependencies`)
504
+ - Updated dependencies
505
+ [[`01051f8`](https://github.com/ardatan/whatwg-node/commit/01051f8b3408ac26612b8d8ea2702a3f7e6667af)]:
506
+ - @whatwg-node/node-fetch@0.4.0
507
+
508
+ ## 0.8.8
509
+
510
+ ### Patch Changes
511
+
512
+ - [`29b9328`](https://github.com/ardatan/whatwg-node/commit/29b9328509f1b7d5e2d86cc450adcbd773b71d41)
513
+ Thanks [@ardatan](https://github.com/ardatan)! - Export URLPattern constructor not type
514
+
515
+ ## 0.8.7
516
+
517
+ ### Patch Changes
518
+
519
+ - [#495](https://github.com/ardatan/whatwg-node/pull/495)
520
+ [`1a2a92f`](https://github.com/ardatan/whatwg-node/commit/1a2a92fcc4e06342bcc5b18b8c7f2373edfa1552)
521
+ Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates:
522
+ - Updated dependency
523
+ [`urlpattern-polyfill@^8.0.0` ↗︎](https://www.npmjs.com/package/urlpattern-polyfill/v/8.0.0)
524
+ (from `^7.0.0`, in `dependencies`)
525
+
526
+ - [`6c58ca1`](https://github.com/ardatan/whatwg-node/commit/6c58ca182b2d4538c8f2fe6367add7bbda3c9a38)
527
+ Thanks [@ardatan](https://github.com/ardatan)! - Return correct types in createFetch
528
+
529
+ ## 0.8.6
530
+
531
+ ### Patch Changes
532
+
533
+ - [#427](https://github.com/ardatan/whatwg-node/pull/427)
534
+ [`e8bda7c`](https://github.com/ardatan/whatwg-node/commit/e8bda7cdf440a7f4bb617ee1b5df8ee1becb4ad6)
535
+ Thanks [@Rugvip](https://github.com/Rugvip)! - Restructure type declarations to avoid polluting
536
+ global namespace.
537
+
538
+ - Updated dependencies
539
+ [[`f3ce0e8`](https://github.com/ardatan/whatwg-node/commit/f3ce0e815f6085d199590359a39048c39920e6ce)]:
540
+ - @whatwg-node/node-fetch@0.3.6
541
+
542
+ ## 0.8.5
543
+
544
+ ### Patch Changes
545
+
546
+ - [#475](https://github.com/ardatan/whatwg-node/pull/475)
547
+ [`9dbda2b`](https://github.com/ardatan/whatwg-node/commit/9dbda2bfb2393b8aaee2bfc64a9021b187ecac1e)
548
+ Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates:
549
+ - Updated dependency
550
+ [`urlpattern-polyfill@^7.0.0` ↗︎](https://www.npmjs.com/package/urlpattern-polyfill/v/7.0.0)
551
+ (from `^6.0.2`, in `dependencies`)
552
+
553
+ ## 0.8.4
554
+
555
+ ### Patch Changes
556
+
557
+ - [`207ee1d`](https://github.com/ardatan/whatwg-node/commit/207ee1de374a38e9c2b61bd4896d1591e3e57117)
558
+ Thanks [@ardatan](https://github.com/ardatan)! - Detect Deno if the module is imported via 'npm:'
559
+ or any other Node compatibility method
560
+
561
+ ## 0.8.3
562
+
563
+ ### Patch Changes
564
+
565
+ - [`bf585a3`](https://github.com/ardatan/whatwg-node/commit/bf585a3b1cafa63bdee86dace6a0e08f98a9b554)
566
+ Thanks [@ardatan](https://github.com/ardatan)! - Support iterable Fetch API methods
567
+
568
+ - Updated dependencies
569
+ [[`9f242f8`](https://github.com/ardatan/whatwg-node/commit/9f242f8268748345899ea4b6f05dac3c6dcecbeb),
570
+ [`bf585a3`](https://github.com/ardatan/whatwg-node/commit/bf585a3b1cafa63bdee86dace6a0e08f98a9b554)]:
571
+ - @whatwg-node/node-fetch@0.3.3
572
+
573
+ ## 0.8.2
574
+
575
+ ### Patch Changes
576
+
577
+ - [#380](https://github.com/ardatan/whatwg-node/pull/380)
578
+ [`0df1ac7`](https://github.com/ardatan/whatwg-node/commit/0df1ac7d577ba831ce6431d68628b2028c37762f)
579
+ Thanks [@ardatan](https://github.com/ardatan)! - Some patches for Type Safety
580
+
581
+ - Updated dependencies
582
+ [[`0df1ac7`](https://github.com/ardatan/whatwg-node/commit/0df1ac7d577ba831ce6431d68628b2028c37762f)]:
583
+ - @whatwg-node/node-fetch@0.3.1
584
+
585
+ ## 0.8.1
586
+
587
+ ### Patch Changes
588
+
589
+ - Updated dependencies
590
+ [[`c7b9c8a`](https://github.com/ardatan/whatwg-node/commit/c7b9c8a4f58926e923bb3f581cf145feb389880f),
591
+ [`f28ce1f`](https://github.com/ardatan/whatwg-node/commit/f28ce1f11c888187869a6c4df55f6438dc0eaab6)]:
592
+ - @whatwg-node/node-fetch@0.3.0
593
+
594
+ ## 0.8.0
595
+
596
+ ### Minor Changes
597
+
598
+ - [`ea5d252`](https://github.com/ardatan/whatwg-node/commit/ea5d25298c480d4c5483186af41dccda8197164d)
599
+ Thanks [@ardatan](https://github.com/ardatan)! - New URL and URLSearchParams ponyfills
600
+
601
+ ### Patch Changes
602
+
603
+ - Updated dependencies
604
+ [[`ea5d252`](https://github.com/ardatan/whatwg-node/commit/ea5d25298c480d4c5483186af41dccda8197164d),
605
+ [`ea5d252`](https://github.com/ardatan/whatwg-node/commit/ea5d25298c480d4c5483186af41dccda8197164d),
606
+ [`ebfbb84`](https://github.com/ardatan/whatwg-node/commit/ebfbb845be1a9f3893f62c850554cf6162f3b6d7)]:
607
+ - @whatwg-node/node-fetch@0.2.0
608
+
609
+ ## 0.7.1
610
+
611
+ ### Patch Changes
612
+
613
+ - Updated dependencies
614
+ [[`2d6e4aa`](https://github.com/ardatan/whatwg-node/commit/2d6e4aa67fffe2e33eb16b4c30c00f8ea9cf9a9a),
615
+ [`94150b3`](https://github.com/ardatan/whatwg-node/commit/94150b3452f06f5671e87f59f8ae63e6e751289c)]:
616
+ - @whatwg-node/node-fetch@0.1.0
617
+
618
+ ## 0.7.0
619
+
620
+ ### Minor Changes
621
+
622
+ - [#318](https://github.com/ardatan/whatwg-node/pull/318)
623
+ [`390510b`](https://github.com/ardatan/whatwg-node/commit/390510b39d5d374233eb9798adbd0ef14101e2b7)
624
+ Thanks [@ardatan](https://github.com/ardatan)! - Type-safe `Response.json`
625
+
626
+ ### Patch Changes
627
+
628
+ - Updated dependencies
629
+ [[`390510b`](https://github.com/ardatan/whatwg-node/commit/390510b39d5d374233eb9798adbd0ef14101e2b7)]:
630
+ - @whatwg-node/node-fetch@0.0.6
631
+
632
+ ## 0.6.9
633
+
634
+ ### Patch Changes
635
+
636
+ - [#314](https://github.com/ardatan/whatwg-node/pull/314)
637
+ [`3aa1848`](https://github.com/ardatan/whatwg-node/commit/3aa18486d44c507617b25204c3d4a96bc8a4c9e4)
638
+ Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates:
639
+ - Updated dependency
640
+ [`@whatwg-node/node-fetch@^0.0.4` ↗︎](https://www.npmjs.com/package/@whatwg-node/node-fetch/v/0.0.4)
641
+ (from `0.0.4`, in `dependencies`)
642
+
643
+ - [#314](https://github.com/ardatan/whatwg-node/pull/314)
644
+ [`3aa1848`](https://github.com/ardatan/whatwg-node/commit/3aa18486d44c507617b25204c3d4a96bc8a4c9e4)
645
+ Thanks [@ardatan](https://github.com/ardatan)! - Align versions with ranged dependencies and cross
646
+ version support internally
647
+
648
+ - Updated dependencies
649
+ [[`3aa1848`](https://github.com/ardatan/whatwg-node/commit/3aa18486d44c507617b25204c3d4a96bc8a4c9e4),
650
+ [`3aa1848`](https://github.com/ardatan/whatwg-node/commit/3aa18486d44c507617b25204c3d4a96bc8a4c9e4)]:
651
+ - @whatwg-node/node-fetch@0.0.5
652
+
653
+ ## 0.6.8
654
+
655
+ ### Patch Changes
656
+
657
+ - Updated dependencies
658
+ [[`01dc91e`](https://github.com/ardatan/whatwg-node/commit/01dc91e0db7f65599d9bc018c0a9396dd0e5ad27)]:
659
+ - @whatwg-node/node-fetch@0.0.4
660
+
661
+ ## 0.6.7
662
+
663
+ ### Patch Changes
664
+
665
+ - Updated dependencies
666
+ [[`8edd68d`](https://github.com/ardatan/whatwg-node/commit/8edd68d288889e7a1222c8790a708b0930f337e2),
667
+ [`b6c9ac0`](https://github.com/ardatan/whatwg-node/commit/b6c9ac0ae8095ded0970be810f63e23fcca65830)]:
668
+ - @whatwg-node/node-fetch@0.0.3
669
+
670
+ ## 0.6.6
671
+
672
+ ### Patch Changes
673
+
674
+ - Updated dependencies
675
+ [[`155c354`](https://github.com/ardatan/whatwg-node/commit/155c354aae4179bf233c68fec386e276728a16de),
676
+ [`260d86f`](https://github.com/ardatan/whatwg-node/commit/260d86f50cd1e215b1fe574042da92124636e56b)]:
677
+ - @whatwg-node/node-fetch@0.0.2
678
+
679
+ ## 0.6.5
680
+
681
+ ### Patch Changes
682
+
683
+ - [`63c96f5`](https://github.com/ardatan/whatwg-node/commit/63c96f5ad14bbc56ccccb95def3447b4107f6013)
684
+ Thanks [@ardatan](https://github.com/ardatan)! - Do not add ponyfills for Bun
685
+
686
+ ## 0.6.4
687
+
688
+ ### Patch Changes
689
+
690
+ - [`2ce7122`](https://github.com/ardatan/whatwg-node/commit/2ce71227f0cc86644998cad70405048d79c1b104)
691
+ Thanks [@ardatan](https://github.com/ardatan)! - Bun doesn't have URLPattern
692
+
693
+ ## 0.6.3
694
+
695
+ ### Patch Changes
696
+
697
+ - [#154](https://github.com/ardatan/whatwg-node/pull/154)
698
+ [`9f4fe48`](https://github.com/ardatan/whatwg-node/commit/9f4fe489ff1d08d873a2dd26c02abc54da08dc48)
699
+ Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates:
700
+ - Updated dependency
701
+ [`web-streams-polyfill@^3.2.1` ↗︎](https://www.npmjs.com/package/web-streams-polyfill/v/3.2.1)
702
+ (from `^3.2.0`, in `dependencies`)
703
+ - Added dependency
704
+ [`@whatwg-node/node-fetch@0.0.0` ↗︎](https://www.npmjs.com/package/@whatwg-node/node-fetch/v/0.0.0)
705
+ (to `dependencies`)
706
+ - Removed dependency
707
+ [`abort-controller@^3.0.0` ↗︎](https://www.npmjs.com/package/abort-controller/v/3.0.0) (from
708
+ `dependencies`)
709
+ - Removed dependency
710
+ [`form-data-encoder@^1.7.1` ↗︎](https://www.npmjs.com/package/form-data-encoder/v/1.7.1) (from
711
+ `dependencies`)
712
+ - Removed dependency
713
+ [`formdata-node@^4.3.1` ↗︎](https://www.npmjs.com/package/formdata-node/v/4.3.1) (from
714
+ `dependencies`)
715
+ - Removed dependency [`node-fetch@^2.6.7` ↗︎](https://www.npmjs.com/package/node-fetch/v/2.6.7)
716
+ (from `dependencies`)
717
+ - Removed dependency [`undici@^5.12.0` ↗︎](https://www.npmjs.com/package/undici/v/5.12.0) (from
718
+ `dependencies`)
719
+
720
+ - [#154](https://github.com/ardatan/whatwg-node/pull/154)
721
+ [`9f4fe48`](https://github.com/ardatan/whatwg-node/commit/9f4fe489ff1d08d873a2dd26c02abc54da08dc48)
722
+ Thanks [@ardatan](https://github.com/ardatan)! - New Fetch API implementation for Node
723
+
724
+ - Updated dependencies
725
+ [[`9f4fe48`](https://github.com/ardatan/whatwg-node/commit/9f4fe489ff1d08d873a2dd26c02abc54da08dc48)]:
726
+ - @whatwg-node/node-fetch@0.0.1
727
+
728
+ ## 0.6.2
729
+
730
+ ### Patch Changes
731
+
732
+ - [#258](https://github.com/ardatan/whatwg-node/pull/258)
733
+ [`802cb96`](https://github.com/ardatan/whatwg-node/commit/802cb9636eddd8e819b80604fc26d40aac92c828)
734
+ Thanks [@enisdenjo](https://github.com/enisdenjo)! - Node ponyfill requests must have an abort
735
+ signal
736
+
737
+ ## 0.6.1
738
+
739
+ ### Patch Changes
740
+
741
+ - [`9752cca`](https://github.com/ardatan/whatwg-node/commit/9752cca54e7636114d87849ca9c7eb9be3d9dba8)
742
+ Thanks [@ardatan](https://github.com/ardatan)! - Remove unnecessary ponyfill for the envs
743
+ supporting Fetch by default
744
+
745
+ ## 0.6.0
746
+
747
+ ### Minor Changes
748
+
749
+ - [#241](https://github.com/ardatan/whatwg-node/pull/241)
750
+ [`563cfaa`](https://github.com/ardatan/whatwg-node/commit/563cfaaacf8bb0b08371b7f44887321d7e7c472d)
751
+ Thanks [@ardatan](https://github.com/ardatan)! - Drop itty-router in favor of new URLPattern in
752
+ the fetch ponyfill
753
+
754
+ ### Patch Changes
755
+
756
+ - [#241](https://github.com/ardatan/whatwg-node/pull/241)
757
+ [`563cfaa`](https://github.com/ardatan/whatwg-node/commit/563cfaaacf8bb0b08371b7f44887321d7e7c472d)
758
+ Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates:
759
+ - Added dependency
760
+ [`urlpattern-polyfill@^6.0.2` ↗︎](https://www.npmjs.com/package/urlpattern-polyfill/v/6.0.2)
761
+ (to `dependencies`)
762
+
763
+ ## 0.5.4
764
+
765
+ ### Patch Changes
766
+
767
+ - [#237](https://github.com/ardatan/whatwg-node/pull/237)
768
+ [`166102f`](https://github.com/ardatan/whatwg-node/commit/166102f6ff52d2197ab7f78c63392b95ebca259c)
769
+ Thanks [@enisdenjo](https://github.com/enisdenjo)! - http2 support when using Node ponyfill
770
+
771
+ ## 0.5.3
772
+
773
+ ### Patch Changes
774
+
775
+ - [`188ac01`](https://github.com/ardatan/whatwg-node/commit/188ac01dab264ed483dbc3b897e6958b49085922)
776
+ Thanks [@ardatan](https://github.com/ardatan)! - Fix destroy for Node 18
777
+
778
+ ## 0.5.2
779
+
780
+ ### Patch Changes
781
+
782
+ - [#179](https://github.com/ardatan/whatwg-node/pull/179)
783
+ [`3297c87`](https://github.com/ardatan/whatwg-node/commit/3297c87409c3bcf8700dd447d603da657acbd821)
784
+ Thanks [@ardatan](https://github.com/ardatan)! - Fix destroy method for ReadableStream to Readable
785
+ conversion
786
+
787
+ ## 0.5.1
788
+
789
+ ### Patch Changes
790
+
791
+ - [`a8a7cfc`](https://github.com/ardatan/whatwg-node/commit/a8a7cfcbb98c5ca8fff3b4a6d8638e9208690b61)
792
+ Thanks [@ardatan](https://github.com/ardatan)! - Fix for new undici
793
+
794
+ ## 0.5.0
795
+
796
+ ### Minor Changes
797
+
798
+ - [`ab5fb52`](https://github.com/ardatan/whatwg-node/commit/ab5fb524753bc7a210b1aaf2e1580566907d4713)
799
+ Thanks [@ardatan](https://github.com/ardatan)! - Drop broken `fieldsFirst` flag
800
+
801
+ ## 0.4.7
802
+
803
+ ### Patch Changes
804
+
805
+ - [`e59cbb6`](https://github.com/ardatan/whatwg-node/commit/e59cbb667dfcbdd9c0cf609fd56dbd904ac85cbd)
806
+ Thanks [@ardatan](https://github.com/ardatan)! - Do not patch global Headers if it is native, and
807
+ support URL as a first parameter of `fetch`
808
+
809
+ ## 0.4.6
810
+
811
+ ### Patch Changes
812
+
813
+ - [`c918527`](https://github.com/ardatan/whatwg-node/commit/c918527f15eb6096656376648dccdbc8d6898395)
814
+ Thanks [@ardatan](https://github.com/ardatan)! - Bump Undici
815
+
816
+ - [#148](https://github.com/ardatan/whatwg-node/pull/148)
817
+ [`eb10500`](https://github.com/ardatan/whatwg-node/commit/eb105005fd01bd227eff8d52c22b39ea1a8c6700)
818
+ Thanks [@ardatan](https://github.com/ardatan)! - - On Node 14, fix the return method of
819
+ Response.body's AsyncIterator to close HTTP connection correctly
820
+ - On Node 14, handle ReadableStream's cancel correctly if Response.body is a ReadableStream
821
+ - Do not modify ReadableStream.cancel's behavior but handle it internally
822
+ - On Node 18, do not combine Response.body's return and AbortController which causes a memory leak
823
+
824
+ ## 0.4.5
825
+
826
+ ### Patch Changes
827
+
828
+ - [#140](https://github.com/ardatan/whatwg-node/pull/140)
829
+ [`5d151df`](https://github.com/ardatan/whatwg-node/commit/5d151df8c59329a470b8ffa6e3547aae72a7e55b)
830
+ Thanks [@ardatan](https://github.com/ardatan)! - Fix Request.formData method
831
+
832
+ ## 0.4.4
833
+
834
+ ### Patch Changes
835
+
836
+ - [`9502102`](https://github.com/ardatan/whatwg-node/commit/9502102b265945b37ee38b276ec1533fae0f308f)
837
+ Thanks [@ardatan](https://github.com/ardatan)! - Breaking Change: Event API is no longer available
838
+ in this ponyfill; use @whatwg-node/events instead.
839
+
840
+ ## 0.4.3
841
+
842
+ ### Patch Changes
843
+
844
+ - [`c9f05f2`](https://github.com/ardatan/whatwg-node/commit/c9f05f21fb96f63bc22359e3b7981cb9b3b727b5)
845
+ Thanks [@ardatan](https://github.com/ardatan)! - Add ponyfills for Response.redirect,
846
+ Response.json and Response.error
847
+
848
+ ## 0.4.2
849
+
850
+ ### Patch Changes
851
+
852
+ - [`7f37b6d`](https://github.com/ardatan/whatwg-node/commit/7f37b6dbeb76cfa54e0ed8672812bf016c1df4fa)
853
+ Thanks [@ardatan](https://github.com/ardatan)! - fix(fetch): respect filesLimit even with
854
+ fieldsFirst
855
+
856
+ ## 0.4.1
857
+
858
+ ### Patch Changes
859
+
860
+ - [`53753bb`](https://github.com/ardatan/whatwg-node/commit/53753bb5dd83fbc1e7253784b02f2b1f2e02fdb9)
861
+ Thanks [@ardatan](https://github.com/ardatan)! - fix(fetch): fix formData function
862
+
863
+ ## 0.4.0
864
+
865
+ ### Minor Changes
866
+
867
+ - [`005937c`](https://github.com/ardatan/whatwg-node/commit/005937c72749dfa3914c8b6193a88c772a522275)
868
+ Thanks [@ardatan](https://github.com/ardatan)! - feat(fetch): new `fieldsFirst` option to allow
869
+ async stream consumption for multipart forms
870
+
871
+ - [`effc03d`](https://github.com/ardatan/whatwg-node/commit/effc03d58793328595183ac7cd5c9abab95dec17)
872
+ Thanks [@ardatan](https://github.com/ardatan)! - Bun Support
873
+
874
+ ## 0.3.2
875
+
876
+ ### Patch Changes
877
+
878
+ - [`982fa96`](https://github.com/ardatan/whatwg-node/commit/982fa96b09af404a21154098499202bfd29c2054)
879
+ Thanks [@ardatan](https://github.com/ardatan)! - fix(ponyfill/btoa): handle incoming value as
880
+ binary encoding
881
+
882
+ ## 0.3.1
883
+
884
+ ### Patch Changes
885
+
886
+ - [`a3bc171`](https://github.com/ardatan/whatwg-node/commit/a3bc17120fbdf641e4363d08ba79955005f5b3d6)
887
+ Thanks [@ardatan](https://github.com/ardatan)! - fix btoa ponyfill
888
+
889
+ ## 0.3.0
890
+
891
+ ### Minor Changes
892
+
893
+ - [`8a431d3`](https://github.com/ardatan/whatwg-node/commit/8a431d309271c0d1ff7248ec26afe293ccc01bf6)
894
+ Thanks [@ardatan](https://github.com/ardatan)! - Add "btoa" ponyfill for Node 14
895
+
896
+ * [`8a431d3`](https://github.com/ardatan/whatwg-node/commit/8a431d309271c0d1ff7248ec26afe293ccc01bf6)
897
+ Thanks [@ardatan](https://github.com/ardatan)! - Support different encodings in TextEncoder and
898
+ TextDecoder
899
+
900
+ ## 0.2.9
901
+
902
+ ### Patch Changes
903
+
904
+ - [`9a8d873`](https://github.com/ardatan/whatwg-node/commit/9a8d8731ff07ea585b1e561718584fbe5edeb963)
905
+ Thanks [@ardatan](https://github.com/ardatan)! - Workaround for a potential leak on Node 18
906
+
907
+ ## 0.2.3
908
+
909
+ ### Minor Changes
910
+
911
+ - 486c35d: Export Event API
912
+
913
+ ## 0.1.1
914
+
915
+ ### Patch Changes
916
+
917
+ - 16aff71: Fix missing TextEncoder and TextDecoder in the default ponyfill
918
+
919
+ ## 0.1.0
920
+
921
+ ### Minor Changes
922
+
923
+ - b83d7f3: Faster TextEncoder & TextDecoder with Buffer in Node
924
+ - b83d7f3: Ponyfill for WebCrypto API
925
+
926
+ ### Patch Changes
927
+
928
+ - b83d7f3: Bump undici version
929
+ - b83d7f3: Now ponyfills Event API
930
+
931
+ ## 0.0.2
932
+
933
+ ### Patch Changes
934
+
935
+ - 3207383: Fix TS typings
936
+
937
+ ## 0.0.1
938
+
939
+ ### Patch Changes
940
+
941
+ - 889eccf: NEW RELEASES