@whatwg-node/node-fetch 0.7.15-alpha-20250324185339-daa21e16c396158104a59781d00308c832a5948a → 0.7.15-alpha-20250324200606-efaaa73129f4da815d67e073947d9ea91de55e6c
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/Body.js +3 -0
- package/cjs/Response.js +1 -0
- package/cjs/fetchNodeHttp.js +1 -0
- package/esm/Body.js +3 -0
- package/esm/Response.js +1 -0
- package/esm/fetchNodeHttp.js +1 -0
- package/package.json +1 -1
package/cjs/Body.js
CHANGED
package/cjs/Response.js
CHANGED
@@ -18,6 +18,7 @@ class PonyfillResponse extends Body_js_1.PonyfillBody {
|
|
18
18
|
this.url = init?.url || '';
|
19
19
|
this.redirected = init?.redirected || false;
|
20
20
|
this.type = init?.type || 'default';
|
21
|
+
this.signal = init?.signal || null;
|
21
22
|
this.handleContentLengthHeader();
|
22
23
|
}
|
23
24
|
get ok() {
|
package/cjs/fetchNodeHttp.js
CHANGED
package/esm/Body.js
CHANGED
package/esm/Response.js
CHANGED
@@ -15,6 +15,7 @@ export class PonyfillResponse extends PonyfillBody {
|
|
15
15
|
this.url = init?.url || '';
|
16
16
|
this.redirected = init?.redirected || false;
|
17
17
|
this.type = init?.type || 'default';
|
18
|
+
this.signal = init?.signal || null;
|
18
19
|
this.handleContentLengthHeader();
|
19
20
|
}
|
20
21
|
get ok() {
|
package/esm/fetchNodeHttp.js
CHANGED
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-20250324200606-efaaa73129f4da815d67e073947d9ea91de55e6c",
|
4
4
|
"description": "Fetch API implementation for Node",
|
5
5
|
"sideEffects": false,
|
6
6
|
"dependencies": {
|