From 7e0aa0a15c1d7675ffcede8783309ce53bc93466 Mon Sep 17 00:00:00 2001 From: James M Snell Date: Tue, 4 Jun 2024 12:42:06 -0700 Subject: [PATCH] Fixup timingSafeEqual export for node crypto (#2216) --- src/node/crypto.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/crypto.ts b/src/node/crypto.ts index 177498845fc..a4a5eec2647 100644 --- a/src/node/crypto.ts +++ b/src/node/crypto.ts @@ -10,7 +10,7 @@ import { export const getRandomValues = crypto.getRandomValues; export const subtle = crypto.subtle; -export const timingSafeEqual = (crypto as any).timingSafeEqual; +export const timingSafeEqual = (subtle as any).timingSafeEqual; export const webcrypto = crypto; import {