@whatwg-node/node-fetch 0.0.1-alpha-20221228081333-b271a45 → 0.0.1-alpha-20221228081805-75e6dc7

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 -0
  2. package/index.mjs +1 -0
  3. package/package.json +1 -1
package/index.js CHANGED
@@ -161,6 +161,7 @@ class PonyfillReadableStream {
161
161
  }
162
162
  getReader(_options) {
163
163
  const iterator = this.readable[Symbol.asyncIterator]();
164
+ this.locked = true;
164
165
  return {
165
166
  read() {
166
167
  return iterator.next();
package/index.mjs CHANGED
@@ -157,6 +157,7 @@ class PonyfillReadableStream {
157
157
  }
158
158
  getReader(_options) {
159
159
  const iterator = this.readable[Symbol.asyncIterator]();
160
+ this.locked = true;
160
161
  return {
161
162
  read() {
162
163
  return iterator.next();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whatwg-node/node-fetch",
3
- "version": "0.0.1-alpha-20221228081333-b271a45",
3
+ "version": "0.0.1-alpha-20221228081805-75e6dc7",
4
4
  "description": "Fetch API implementation for Node",
5
5
  "sideEffects": false,
6
6
  "peerDependencies": {