Skip to content

Commit

Permalink
miniflare: fix node 21.7.0 compatibility (#5201)
Browse files Browse the repository at this point in the history
  • Loading branch information
wydengyre authored Mar 8, 2024
1 parent 9a8d36f commit 1235d48
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/clean-nails-talk.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"miniflare": patch
---

fix: ensure `miniflare` works with Node 21.7.0+
3 changes: 1 addition & 2 deletions packages/miniflare/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -624,8 +624,7 @@ function safeReadableStreamFrom(iterable: AsyncIterable<Uint8Array>) {
async cancel() {
await iterator.return?.();
},
},
0
}
);
}

Expand Down

0 comments on commit 1235d48

Please sign in to comment.