summaryrefslogtreecommitdiff
path: root/ext/node/polyfills/internal/crypto
diff options
context:
space:
mode:
authorKenta Moriuchi <moriken@kimamass.com>2024-11-05 02:17:11 +0900
committerGitHub <noreply@github.com>2024-11-04 12:17:11 -0500
commitfb1d33a7111e45e9b414cfe922a5db5ee4daf3ea (patch)
treefc2c3d797fa7e4d5a56c99b94a0aa1a823fe29e0 /ext/node/polyfills/internal/crypto
parentd95f06f20b97839d9a2aaeb590f4ed30b6383b0f (diff)
chore: update dlint to v0.68.0 for internal (#26711)
Diffstat (limited to 'ext/node/polyfills/internal/crypto')
-rw-r--r--ext/node/polyfills/internal/crypto/keygen.ts1
-rw-r--r--ext/node/polyfills/internal/crypto/random.ts1
2 files changed, 2 insertions, 0 deletions
diff --git a/ext/node/polyfills/internal/crypto/keygen.ts b/ext/node/polyfills/internal/crypto/keygen.ts
index a40c76c0d..44bfd8327 100644
--- a/ext/node/polyfills/internal/crypto/keygen.ts
+++ b/ext/node/polyfills/internal/crypto/keygen.ts
@@ -29,6 +29,7 @@ import {
} from "ext:deno_node/internal/validators.mjs";
import { Buffer } from "node:buffer";
import { KeyFormat, KeyType } from "ext:deno_node/internal/crypto/types.ts";
+import process from "node:process";
import {
op_node_generate_dh_group_key,
diff --git a/ext/node/polyfills/internal/crypto/random.ts b/ext/node/polyfills/internal/crypto/random.ts
index 4219414dc..a41b86819 100644
--- a/ext/node/polyfills/internal/crypto/random.ts
+++ b/ext/node/polyfills/internal/crypto/random.ts
@@ -38,6 +38,7 @@ import {
ERR_INVALID_ARG_TYPE,
ERR_OUT_OF_RANGE,
} from "ext:deno_node/internal/errors.ts";
+import { Buffer } from "node:buffer";
export { default as randomBytes } from "ext:deno_node/internal/crypto/_randomBytes.ts";
export {