Skip to content

Commit

Permalink
Add EOL note for webcrypto workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
scotttrinh committed Nov 15, 2023
1 parent 92e67d2 commit e06a12f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/auth-core/src/crypto.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// TODO: Drop when Node 18 is EOL: 2025-04-30
if (!globalThis.crypto) {
// eslint-disable-next-line @typescript-eslint/no-var-requires
globalThis.crypto = require("node:crypto").webcrypto;
Expand Down

0 comments on commit e06a12f

Please sign in to comment.