@whatwg-node/node-fetch 0.7.15-alpha-20250324203737-a94234b8c9e48c4f8950705a51aaf5c4fd697c2d → 0.7.15-alpha-20250324222403-2ef78ff377f20332833c8667d4e7b48b99d5282e

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 CHANGED
@@ -137,7 +137,7 @@ class PonyfillBody {
137
137
  this._chunks = [];
138
138
  return (0, utils_js_1.fakePromise)(this._chunks);
139
139
  }
140
- return _body.readable.toArray({ signal: this.signal }).then(chunks => {
140
+ return _body.readable.toArray().then(chunks => {
141
141
  this._chunks = chunks;
142
142
  return this._chunks;
143
143
  });
@@ -409,9 +409,6 @@ function processBodyInit(bodyInit, signal) {
409
409
  }), {
410
410
  end: true,
411
411
  });
412
- if (signal) {
413
- (0, node_stream_1.addAbortSignal)(signal, passThrough);
414
- }
415
412
  return {
416
413
  bodyType: BodyInitType.Readable,
417
414
  contentType: null,
package/esm/Body.js CHANGED
@@ -133,7 +133,7 @@ export class PonyfillBody {
133
133
  this._chunks = [];
134
134
  return fakePromise(this._chunks);
135
135
  }
136
- return _body.readable.toArray({ signal: this.signal }).then(chunks => {
136
+ return _body.readable.toArray().then(chunks => {
137
137
  this._chunks = chunks;
138
138
  return this._chunks;
139
139
  });
@@ -404,9 +404,6 @@ function processBodyInit(bodyInit, signal) {
404
404
  }), {
405
405
  end: true,
406
406
  });
407
- if (signal) {
408
- addAbortSignal(signal, passThrough);
409
- }
410
407
  return {
411
408
  bodyType: BodyInitType.Readable,
412
409
  contentType: null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whatwg-node/node-fetch",
3
- "version": "0.7.15-alpha-20250324203737-a94234b8c9e48c4f8950705a51aaf5c4fd697c2d",
3
+ "version": "0.7.15-alpha-20250324222403-2ef78ff377f20332833c8667d4e7b48b99d5282e",
4
4
  "description": "Fetch API implementation for Node",
5
5
  "sideEffects": false,
6
6
  "dependencies": {