From c588a4889b05b0a7e8fcaa2074eb940dffbe5536 Mon Sep 17 00:00:00 2001 From: James M Snell Date: Wed, 17 Mar 2021 14:59:41 -0700 Subject: [PATCH] lib: runtime deprecate access to process.binding('v8') The only useful functions are already exposed via public APIs. There's no reason for user code to access the binding. Signed-off-by: James M Snell --- 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 260e3b2d47983d..deb34ee4ce0e90 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', + 'v8', ]); // Set up process.binding() and process._linkedBinding().