The latest change broke some Nuxt deployments to Deno deploy for me. Deno's webcrypto is somewhat different, and ...globalThis.crypto does not work in Deno. This replaces it with a custom getter that retrieves the correct value instead. This adds some overhead, but is required for Deno compatibility.
The latest change broke some Nuxt deployments to Deno deploy for me. Deno's webcrypto is somewhat different, and
...globalThis.crypto
does not work in Deno. This replaces it with a custom getter that retrieves the correct value instead. This adds some overhead, but is required for Deno compatibility.