@whatwg-node/node-fetch 0.0.1-alpha-20221228081805-75e6dc7 → 0.0.1-alpha-20221228082016-9ef2266

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.
Files changed (3) hide show
  1. package/index.js +1 -1
  2. package/index.mjs +1 -1
  3. package/package.json +1 -1
package/index.js CHANGED
@@ -128,7 +128,7 @@ class PonyfillReadableStream {
128
128
  var _a;
129
129
  try {
130
130
  const controller = createController(0, this);
131
- await ((_a = underlyingSource === null || underlyingSource === void 0 ? void 0 : underlyingSource.start) === null || _a === void 0 ? void 0 : _a.call(underlyingSource, createController(0, this)));
131
+ await ((_a = underlyingSource === null || underlyingSource === void 0 ? void 0 : underlyingSource.start) === null || _a === void 0 ? void 0 : _a.call(underlyingSource, controller));
132
132
  controller._flush();
133
133
  callback(null);
134
134
  }
package/index.mjs CHANGED
@@ -124,7 +124,7 @@ class PonyfillReadableStream {
124
124
  var _a;
125
125
  try {
126
126
  const controller = createController(0, this);
127
- await ((_a = underlyingSource === null || underlyingSource === void 0 ? void 0 : underlyingSource.start) === null || _a === void 0 ? void 0 : _a.call(underlyingSource, createController(0, this)));
127
+ await ((_a = underlyingSource === null || underlyingSource === void 0 ? void 0 : underlyingSource.start) === null || _a === void 0 ? void 0 : _a.call(underlyingSource, controller));
128
128
  controller._flush();
129
129
  callback(null);
130
130
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whatwg-node/node-fetch",
3
- "version": "0.0.1-alpha-20221228081805-75e6dc7",
3
+ "version": "0.0.1-alpha-20221228082016-9ef2266",
4
4
  "description": "Fetch API implementation for Node",
5
5
  "sideEffects": false,
6
6
  "peerDependencies": {