Skip to content

Commit

Permalink
fix(ext/node): fix webcrypto export (denoland#17838)
Browse files Browse the repository at this point in the history
  • Loading branch information
kt3k authored Feb 22, 2023
1 parent 4c6db7a commit 860b6cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cli/tests/node_compat/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,7 @@
"TODO:test-util-types.js",
"test-util.js",
"test-vm-static-this.js",
"TODO:test-webcrypto-sign-verify.js",
"test-webcrypto-sign-verify.js",
"test-whatwg-encoding-custom-api-basics.js",
"test-whatwg-encoding-custom-fatal-streaming.js",
"test-whatwg-encoding-custom-textdecoder-fatal.js",
Expand Down
2 changes: 1 addition & 1 deletion ext/node/polyfills/crypto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 860b6cb

Please sign in to comment.