diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-01-29 14:58:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-29 14:58:08 +0100 |
commit | 909986fa6ed3404e76590438b387391a6c213e46 (patch) | |
tree | 30eec861847dccadd83fcc65b91dc44c96af6d9e /ext/node/polyfills/internal/crypto/random.ts | |
parent | aed5e4997df26c99a186fb9a5b18da3bbc594ed3 (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/random.ts')
-rw-r--r-- | ext/node/polyfills/internal/crypto/random.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/node/polyfills/internal/crypto/random.ts b/ext/node/polyfills/internal/crypto/random.ts index 52f6db272..0c8273bdf 100644 --- a/ext/node/polyfills/internal/crypto/random.ts +++ b/ext/node/polyfills/internal/crypto/random.ts @@ -5,13 +5,13 @@ // deno-lint-ignore-file prefer-primordials import { core, primordials } from "ext:core/mod.js"; -const { +import { op_node_check_prime, op_node_check_prime_async, op_node_check_prime_bytes, op_node_check_prime_bytes_async, op_node_gen_prime_async, -} = core.ensureFastOps(); +} from "ext:core/ops"; const { op_node_gen_prime, } = core.ensureFastOps(true); |