@whatwg-node/node-fetch 0.7.10 → 0.7.11-alpha-20250222120839-6ce0559cd5257588396d5ca72a49da76fb972e4a

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
@@ -452,7 +452,7 @@ function isFormData(value) {
452
452
  return value?.forEach != null;
453
453
  }
454
454
  function isBlob(value) {
455
- return value?.stream != null;
455
+ return value?.stream != null && typeof value.stream === 'function';
456
456
  }
457
457
  function isURLSearchParams(value) {
458
458
  return value?.sort != null;
package/esm/Body.js CHANGED
@@ -447,7 +447,7 @@ function isFormData(value) {
447
447
  return value?.forEach != null;
448
448
  }
449
449
  function isBlob(value) {
450
- return value?.stream != null;
450
+ return value?.stream != null && typeof value.stream === 'function';
451
451
  }
452
452
  function isURLSearchParams(value) {
453
453
  return value?.sort != null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whatwg-node/node-fetch",
3
- "version": "0.7.10",
3
+ "version": "0.7.11-alpha-20250222120839-6ce0559cd5257588396d5ca72a49da76fb972e4a",
4
4
  "description": "Fetch API implementation for Node",
5
5
  "sideEffects": false,
6
6
  "dependencies": {