@whatwg-node/node-fetch 0.4.15 → 0.4.16-rc-20230901133048-cc0e89b

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
@@ -187,7 +187,7 @@ class PonyfillBody {
187
187
  if (chunks.length === 1) {
188
188
  return chunks[0];
189
189
  }
190
- return Buffer.concat(chunks, this.contentLength || undefined);
190
+ return Buffer.concat(chunks);
191
191
  });
192
192
  }
193
193
  json() {
package/esm/Body.js CHANGED
@@ -183,7 +183,7 @@ export class PonyfillBody {
183
183
  if (chunks.length === 1) {
184
184
  return chunks[0];
185
185
  }
186
- return Buffer.concat(chunks, this.contentLength || undefined);
186
+ return Buffer.concat(chunks);
187
187
  });
188
188
  }
189
189
  json() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whatwg-node/node-fetch",
3
- "version": "0.4.15",
3
+ "version": "0.4.16-rc-20230901133048-cc0e89b",
4
4
  "description": "Fetch API implementation for Node",
5
5
  "sideEffects": false,
6
6
  "dependencies": {