summaryrefslogtreecommitdiff
path: root/ext/node/polyfills/internal/crypto/keygen.ts
diff options
context:
space:
mode:
authorKenta Moriuchi <moriken@kimamass.com>2023-06-27 15:18:22 +0900
committerGitHub <noreply@github.com>2023-06-27 15:18:22 +0900
commite16b74d792c8fcdb46ab231575fc75f29d4d7fe7 (patch)
treedd3e21da57213ba623e287bc804c8014e00de6e2 /ext/node/polyfills/internal/crypto/keygen.ts
parent814edcdd570b3fbef2001f7e6434320743a8f834 (diff)
chore(ext/node): disable prefer-primordials on a per-file basis (#19553)
Diffstat (limited to 'ext/node/polyfills/internal/crypto/keygen.ts')
-rw-r--r--ext/node/polyfills/internal/crypto/keygen.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/node/polyfills/internal/crypto/keygen.ts b/ext/node/polyfills/internal/crypto/keygen.ts
index cdc616db6..c0f82d9df 100644
--- a/ext/node/polyfills/internal/crypto/keygen.ts
+++ b/ext/node/polyfills/internal/crypto/keygen.ts
@@ -1,8 +1,9 @@
-// deno-lint-ignore-file no-explicit-any
-
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
// Copyright Joyent, Inc. and Node.js contributors. All rights reserved. MIT license.
+// TODO(petamoriken): enable prefer-primordials for node polyfills
+// deno-lint-ignore-file no-explicit-any prefer-primordials
+
import { KeyObject } from "ext:deno_node/internal/crypto/keys.ts";
import { kAesKeyLengths } from "ext:deno_node/internal/crypto/util.ts";
import {