Skip to content

Commit a8924fa

Browse files
Trottrichardlau
authored andcommitted
debugger: replace internal use of deprecated API
Change process.binding() use to internalBinding(). PR-URL: #38161 Backport-PR-URL: #38858 Refs: https://github.com/nodejs/node/discussions/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 a62826b commit a8924fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎lib/internal/inspector/inspect_repl.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ function extractFunctionName(description){
9090
}
9191

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

0 commit comments

Comments
(0)