Skip to content

Commit

Permalink
chore: upgrade to miniflare@2.12.1 & @miniflare/tre@3.0.0-next.10 (
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbbot committed Feb 21, 2023
1 parent 7912e63 commit 4ede044
Show file tree
Hide file tree
Showing 8 changed files with 352 additions and 538 deletions.
6 changes: 6 additions & 0 deletions .changeset/tasty-rabbits-glow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@cloudflare/pages-shared": patch
"wrangler": patch
---

chore: upgrade `miniflare` to [`2.12.1`](https://github.com/cloudflare/miniflare/releases/tag/v2.12.1) and `@miniflare/tre` to [`3.0.0-next.10`](https://github.com/cloudflare/miniflare/releases/tag/v3.0.0-next.10)
5 changes: 5 additions & 0 deletions node-types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,9 @@ declare global {
// by `vite`. Therefore, define it as an empty interface.
// eslint-disable-next-line @typescript-eslint/no-empty-interface
interface Worker {}

// `MessagePort` has been global since Node 15, but isn't included in
// `@types/node`. This is required by `undici`'s types.
// eslint-disable-next-line no-var,@typescript-eslint/consistent-type-imports
var MessagePort: typeof import("worker_threads").MessagePort;
}

0 comments on commit 4ede044

Please sign in to comment.