@whatwg-node/node-fetch 0.7.1 → 0.7.2-alpha-20241111123417-4e4d48a16cce52587b1a06b11e72803047cc473d

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.
@@ -187,6 +187,7 @@ class PonyfillReadableStream {
187
187
  if (isPonyfillReadableStream(readable)) {
188
188
  readable.readable.once('error', err => this.readable.destroy(err));
189
189
  readable.readable.once('finish', () => this.readable.push(null));
190
+ readable.readable.once('close', () => this.readable.push(null));
190
191
  }
191
192
  return readable;
192
193
  }
@@ -184,6 +184,7 @@ export class PonyfillReadableStream {
184
184
  if (isPonyfillReadableStream(readable)) {
185
185
  readable.readable.once('error', err => this.readable.destroy(err));
186
186
  readable.readable.once('finish', () => this.readable.push(null));
187
+ readable.readable.once('close', () => this.readable.push(null));
187
188
  }
188
189
  return readable;
189
190
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whatwg-node/node-fetch",
3
- "version": "0.7.1",
3
+ "version": "0.7.2-alpha-20241111123417-4e4d48a16cce52587b1a06b11e72803047cc473d",
4
4
  "description": "Fetch API implementation for Node",
5
5
  "sideEffects": false,
6
6
  "dependencies": {