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 <[email protected]> PR-URL: #37789 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Rich Trott <[email protected]>
1 parent 42ff00e commit ae595d7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: lib/internal/bootstrap/loaders.js

+1
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)