From 909986fa6ed3404e76590438b387391a6c213e46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Mon, 29 Jan 2024 14:58:08 +0100 Subject: refactor: migrate 'ext/node' extension to virtual ops module (#22157) Follow up to https://github.com/denoland/deno/pull/22135 --- ext/node/polyfills/internal/crypto/diffiehellman.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ext/node/polyfills/internal/crypto/diffiehellman.ts') diff --git a/ext/node/polyfills/internal/crypto/diffiehellman.ts b/ext/node/polyfills/internal/crypto/diffiehellman.ts index fbcdab185..bba01e2c4 100644 --- a/ext/node/polyfills/internal/crypto/diffiehellman.ts +++ b/ext/node/polyfills/internal/crypto/diffiehellman.ts @@ -5,13 +5,13 @@ // deno-lint-ignore-file prefer-primordials import { core } from "ext:core/mod.js"; -const { +import { op_node_dh_compute_secret, op_node_dh_generate2, + op_node_ecdh_compute_public_key, op_node_ecdh_compute_secret, op_node_ecdh_generate_keys, - op_node_ecdh_compute_public_key, -} = core.ensureFastOps(); +} from "ext:core/ops"; const { op_node_gen_prime, } = core.ensureFastOps(true); -- cgit v1.2.3