summaryrefslogtreecommitdiff
path: root/ext/node/polyfills/internal/crypto/pbkdf2.ts
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2024-01-29 14:58:08 +0100
committerGitHub <noreply@github.com>2024-01-29 14:58:08 +0100
commit909986fa6ed3404e76590438b387391a6c213e46 (patch)
tree30eec861847dccadd83fcc65b91dc44c96af6d9e /ext/node/polyfills/internal/crypto/pbkdf2.ts
parentaed5e4997df26c99a186fb9a5b18da3bbc594ed3 (diff)
refactor: migrate 'ext/node' extension to virtual ops module (#22157)
Follow up to https://github.com/denoland/deno/pull/22135
Diffstat (limited to 'ext/node/polyfills/internal/crypto/pbkdf2.ts')
-rw-r--r--ext/node/polyfills/internal/crypto/pbkdf2.ts6
1 files changed, 1 insertions, 5 deletions
diff --git a/ext/node/polyfills/internal/crypto/pbkdf2.ts b/ext/node/polyfills/internal/crypto/pbkdf2.ts
index 47c66043c..5cf102fa9 100644
--- a/ext/node/polyfills/internal/crypto/pbkdf2.ts
+++ b/ext/node/polyfills/internal/crypto/pbkdf2.ts
@@ -3,11 +3,7 @@
// TODO(petamoriken): enable prefer-primordials for node polyfills
// deno-lint-ignore-file prefer-primordials
-import { core } from "ext:core/mod.js";
-const {
- op_node_pbkdf2,
- op_node_pbkdf2_async,
-} = core.ensureFastOps();
+import { op_node_pbkdf2, op_node_pbkdf2_async } from "ext:core/ops";
import { Buffer } from "node:buffer";
import { HASH_DATA } from "ext:deno_node/internal/crypto/types.ts";