From 998865fe48c2f429c5b025553cd61a2be3827f7d 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') The constructor was never meant to be exposed to user code. 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 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', ]);