Skip to content

Commit

Permalink
unenv now imports from node:stream instead of `unenv/runtime/node/s…
Browse files Browse the repository at this point in the history
…tream`

See unjs/unenv#416
  • Loading branch information
vicb committed Feb 12, 2025
1 parent 86f3b1b commit aa35785
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/unenv-preset/src/preset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,6 @@ export const cloudflare: Preset = {
[`node:${m}`, `@cloudflare/unenv-preset/runtime/node/${m}`],
])
),

// TODO: this is a hotfix and breaks unenv/fetch
// https://github.com/unjs/unenv/issues/364
"unenv/runtime/node/stream": "node:stream",
},
inject: {
// workerd already defines `global` and `Buffer`
Expand Down

0 comments on commit aa35785

Please sign in to comment.