From bfb5460543b42107d2dfa9f88e9a53ee3699de34 Mon Sep 17 00:00:00 2001 From: Lucas Cimon <925560+Lucas-C@users.noreply.github.com> Date: Tue, 18 Jun 2024 10:25:50 +0200 Subject: [PATCH] Update node/no-unsupported-features/node-builtins to recognize crypto.randomInt --- lib/rules/no-unsupported-features/node-builtins.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/rules/no-unsupported-features/node-builtins.js b/lib/rules/no-unsupported-features/node-builtins.js index 6e6dbf23..d52b90d1 100644 --- a/lib/rules/no-unsupported-features/node-builtins.js +++ b/lib/rules/no-unsupported-features/node-builtins.js @@ -102,6 +102,9 @@ const trackMap = { randomFill: { [READ]: { supported: "7.10.0", backported: ["6.13.0"] }, }, + randomInt: { + [READ]: { supported: "14.10.0", backported: ["12.19.0"] }, + }, scrypt: { [READ]: { supported: "10.5.0" } }, scryptSync: { [READ]: { supported: "10.5.0" } }, setFips: { [READ]: { supported: "10.0.0" } },