From ac00df112eeb78c49a141165fda70459f3c39689 Mon Sep 17 00:00:00 2001 From: James M Snell Date: Thu, 18 Mar 2021 14:48:48 -0700 Subject: [PATCH] lib: runtime deprecate access to process.binding('signal_wrap') MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The constructor was never meant to be exposed to user code. Signed-off-by: James M Snell PR-URL: https://github.com/nodejs/node/pull/37800 Reviewed-By: Matteo Collina Reviewed-By: Anna Henningsen 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 deb34ee4ce0e90..dc046fe499cc5a 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', + 'signal_wrap', 'v8', ]);