Igor Minar

Results 94 comments of Igor Minar

I agree with Kenton here. Libs should not use module scope or global scope for request/session specific state. No popular lib for node or other runtimes relies on it as...

hi @newsve, if you use the latest cloudflare adapter for sveltekit it will allow you to access all the bindings from within sveltekit's dev server. you can scaffold a new...

> Did I get it right? not quite, with the create-cloudflare integration we start a wrangler/miniflare process behind the scenes and integrate it into vite. So you can access a...

ok, thanks for the confirmation @pi0. I'll discuss with the team, and get back to you.

We discussed this and it appears that the easiest way for us to support this is via a newly proposed (and almost landed) [process.getBuiltinModule](https://github.com/nodejs/node/pull/52762) API. It would be fairly easy...

One observation that came out of https://github.com/cloudflare/workerd/issues/2129 is that if we want the polyfills to be truly hybrid, we'll need to update internal module and symbol references to be absolute...

@pi0 I've looked up the compat table just to realize that globalThis has been around for ages (since Node v12 for example) and also all browsers support it: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis#browser_compatibility Could...

@pi0 I'll get back to this one within a few days. I still care, just busy with other things.

Thanks @andyjessop for the explanation, and @Cherry for additional info and pointer to https://github.com/cloudflare/workers-sdk/issues/6459 - which I believe we can close as soon as this PR is merged, right? I've...