@whatwg-node/node-fetch 0.7.15-alpha-20250323023017-45502ad09a85c652198558a069fe00754e0b502f → 0.7.15-alpha-20250323023432-5c31277f5c8544821b18ae941f15b1014132c37f
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/cjs/fetchNodeHttp.js +1 -1
- package/esm/fetchNodeHttp.js +1 -1
- package/package.json +1 -1
package/cjs/fetchNodeHttp.js
CHANGED
@@ -101,7 +101,7 @@ function fetchNodeHttp(fetchRequest) {
|
|
101
101
|
if (statusText == null) {
|
102
102
|
statusText = '';
|
103
103
|
}
|
104
|
-
const ponyfillResponse = new Response_js_1.PonyfillResponse(outputStream, {
|
104
|
+
const ponyfillResponse = new Response_js_1.PonyfillResponse(outputStream || nodeResponse, {
|
105
105
|
status: statusCode,
|
106
106
|
statusText,
|
107
107
|
headers: nodeResponse.headers,
|
package/esm/fetchNodeHttp.js
CHANGED
@@ -98,7 +98,7 @@ export function fetchNodeHttp(fetchRequest) {
|
|
98
98
|
if (statusText == null) {
|
99
99
|
statusText = '';
|
100
100
|
}
|
101
|
-
const ponyfillResponse = new PonyfillResponse(outputStream, {
|
101
|
+
const ponyfillResponse = new PonyfillResponse(outputStream || nodeResponse, {
|
102
102
|
status: statusCode,
|
103
103
|
statusText,
|
104
104
|
headers: nodeResponse.headers,
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@whatwg-node/node-fetch",
|
3
|
-
"version": "0.7.15-alpha-
|
3
|
+
"version": "0.7.15-alpha-20250323023432-5c31277f5c8544821b18ae941f15b1014132c37f",
|
4
4
|
"description": "Fetch API implementation for Node",
|
5
5
|
"sideEffects": false,
|
6
6
|
"dependencies": {
|