@whatwg-node/node-fetch 0.7.20-alpha-20250515134341-5faae90ea577ba8b5a0327174051f1516b54810b → 0.7.20-alpha-20250515134817-51db29f9612b508f027ee304f02356f5e6961501

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/utils.js CHANGED
@@ -80,5 +80,5 @@ function safeWrite(chunk, stream, signal) {
80
80
  }
81
81
  }
82
82
  function isArray(value) {
83
- return value?.length != null && value?.map && value?.slice && value?.splice;
83
+ return value?.splice != null;
84
84
  }
package/esm/utils.js CHANGED
@@ -66,5 +66,5 @@ export function safeWrite(chunk, stream, signal) {
66
66
  }
67
67
  }
68
68
  export function isArray(value) {
69
- return value?.length != null && value?.map && value?.slice && value?.splice;
69
+ return value?.splice != null;
70
70
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whatwg-node/node-fetch",
3
- "version": "0.7.20-alpha-20250515134341-5faae90ea577ba8b5a0327174051f1516b54810b",
3
+ "version": "0.7.20-alpha-20250515134817-51db29f9612b508f027ee304f02356f5e6961501",
4
4
  "description": "Fetch API implementation for Node",
5
5
  "sideEffects": false,
6
6
  "dependencies": {