@whatwg-node/node-fetch 0.4.10 → 0.4.11-alpha-20230720121223-3c2bf00

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
@@ -104,7 +104,9 @@ class PonyfillBody {
104
104
  reject(e);
105
105
  });
106
106
  }
107
- return chunks;
107
+ else {
108
+ resolve(chunks);
109
+ }
108
110
  });
109
111
  }
110
112
  async blob() {
package/esm/Body.js CHANGED
@@ -100,7 +100,9 @@ export class PonyfillBody {
100
100
  reject(e);
101
101
  });
102
102
  }
103
- return chunks;
103
+ else {
104
+ resolve(chunks);
105
+ }
104
106
  });
105
107
  }
106
108
  async blob() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whatwg-node/node-fetch",
3
- "version": "0.4.10",
3
+ "version": "0.4.11-alpha-20230720121223-3c2bf00",
4
4
  "description": "Fetch API implementation for Node",
5
5
  "sideEffects": false,
6
6
  "dependencies": {