Skip to content

Commit 2a6203d

Browse files
Trotttargos
authored andcommitted
debugger: replace internal use of deprecated API
Change process.binding() use to internalBinding(). PR-URL: #38161 Refs: #36481 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Jan Krems <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Stephen Belanger <[email protected]> Reviewed-By: Gerhard Stöbich <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
1 parent a4084d6 commit 2a6203d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/inspector/inspect_repl.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ function extractFunctionName(description) {
9090
}
9191

9292
const PUBLIC_BUILTINS = require('module').builtinModules;
93-
const NATIVES = PUBLIC_BUILTINS ? process.binding('natives') : {};
93+
const NATIVES = PUBLIC_BUILTINS ? internalBinding('natives') : {};
9494
function isNativeUrl(url) {
9595
url = url.replace(/\.js$/, '');
9696
if (PUBLIC_BUILTINS) {

0 commit comments

Comments
 (0)