summaryrefslogtreecommitdiff
path: root/ext/node
diff options
context:
space:
mode:
authorYoshiya Hinosawa <stibium121@gmail.com>2023-02-22 12:40:36 +0900
committerGitHub <noreply@github.com>2023-02-22 12:40:36 +0900
commit860b6cbd233760e867099960c4c69d3e28b9401b (patch)
tree597f174dd09593267d8cf97e57486c600665f88c /ext/node
parent4c6db7aa1493139f5a832c1e9ebfe44a1c80af80 (diff)
fix(ext/node): fix webcrypto export (#17838)
Diffstat (limited to 'ext/node')
-rw-r--r--ext/node/polyfills/crypto.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/node/polyfills/crypto.ts b/ext/node/polyfills/crypto.ts
index b59158456..8c179e916 100644
--- a/ext/node/polyfills/crypto.ts
+++ b/ext/node/polyfills/crypto.ts
@@ -166,8 +166,8 @@ import type {
TransformOptions,
WritableOptions,
} from "internal:deno_node/polyfills/_stream.d.ts";
+import { crypto as webcrypto } from "internal:deno_crypto/00_crypto.js";
-const webcrypto = globalThis.crypto;
const fipsForced = getOptionValue("--force-fips");
function createCipheriv(