From 3bee6d8aad1666b26162d3a2d517c4fd5a9fe076 Mon Sep 17 00:00:00 2001 From: James M Snell Date: Wed, 17 Mar 2021 15:07:18 -0700 Subject: [PATCH] lib: runtime deprecate access to process.binding('crypto') MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit All of the functionality is exposed via public APIs, there are no APIs that are of use to users directly. Signed-off-by: James M Snell PR-URL: https://github.com/nodejs/node/pull/37790 Reviewed-By: Anna Henningsen Reviewed-By: Benjamin Gruenbaum Reviewed-By: Rich Trott Reviewed-By: Michaƫl Zasso --- lib/internal/bootstrap/loaders.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/internal/bootstrap/loaders.js b/lib/internal/bootstrap/loaders.js index dc046fe499cc5a..ab589499d09722 100644 --- a/lib/internal/bootstrap/loaders.js +++ b/lib/internal/bootstrap/loaders.js @@ -108,6 +108,7 @@ const internalBindingAllowlist = new SafeSet([ const runtimeDeprecatedList = new SafeSet([ 'async_wrap', + 'crypto', 'signal_wrap', 'v8', ]);