nitro icon indicating copy to clipboard operation
nitro copied to clipboard

add back deno nodejs compatibility for backwards compatibility

Open huseeiin opened this issue 3 weeks ago • 2 comments

add back deno nodejs compatibility for deno v1 backwards compatibility previously nitro v2 added process, Buffer, global, etc. to globalThis when using deno-server but nitro v3 doesn't it doesn't hurt if you bring this back

huseeiin avatar Dec 02 '25 15:12 huseeiin

Can you explain why you need to use Deno v1?

With deno v2's full node compat we can avoid many workarounds were causing inconsistency and issues + adding (unenv) polyfills might be straightforward.

pi0 avatar Dec 02 '25 17:12 pi0

I would also suggest to stick with dropped backwards compatibility if it is for the better (avoid workarounds and inconsistencies). Deno v2 came out 2024 already.

MickL avatar Dec 05 '25 13:12 MickL