Skip to content

Commit ae595d7

Browse files
committed
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 <jasnell@gmail.com> PR-URL: #37789 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
1 parent 42ff00e commit ae595d7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/internal/bootstrap/loaders.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ const internalBindingAllowlist = new SafeSet([
108108

109109
const runtimeDeprecatedList = new SafeSet([
110110
'async_wrap',
111+
'v8',
111112
]);
112113

113114
// Set up process.binding() and process._linkedBinding().

0 commit comments

Comments
 (0)