Closed as not planned
Description
What version of Remix are you using?
1.19.0
Are all your remix dependencies & dev-dependencies using the same version?
- Yes
Steps to Reproduce
Just console.log(globalThis.crypto)
from server code or open https://stackblitz.com/edit/remix-run-remix-fbmasu?file=app%2Fentry.server.tsx and check the console.
Expected Behavior
If using Node >=15.0.0
, globalThis.crypto
or just crypto
should return a Crypto
object. It already works natively in Node (Node documentation and MDN) just like in all other environments, so why does remix removes it from the global
object?
Actual Behavior
It returns undefined
.