Environment
unenv v2 nightly with nodeless + cloudflare presets
Reproduction
https://github.com/unjs/unenv/blob/main/test/workerd/tests.mjs#L134
example usage
Describe the bug
A change in #363 causes node:http polyfill to use runtime native node:stream which is incompatible with unenv/fetch polyfills (which essentially breaks H3 v1 and Nitro v2 as soon as they use it anyhow, via upgrade or wrangler transpiling for node_compat_v2)
Additional context
This bug introduced as a hotfix for opennextjs/opennextjs-cloudflare#147 (usage in opennextjs)
This is solvable via #365 to support node:stream for node:http polyfill natively.
Logs
No response
Environment
unenv v2 nightly with nodeless + cloudflare presets
Reproduction
https://github.com/unjs/unenv/blob/main/test/workerd/tests.mjs#L134
example usage
Describe the bug
A change in #363 causes
node:httppolyfill to use runtime nativenode:streamwhich is incompatible withunenv/fetchpolyfills (which essentially breaks H3 v1 and Nitro v2 as soon as they use it anyhow, via upgrade or wrangler transpiling fornode_compat_v2)Additional context
This bug introduced as a hotfix for opennextjs/opennextjs-cloudflare#147 (usage in opennextjs)
This is solvable via #365 to support
node:streamfornode:httppolyfill natively.Logs
No response