Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2a6203d

Browse filesBrowse files
Trotttargos
authored andcommitted
debugger: replace internal use of deprecated API
Change process.binding() use to internalBinding(). PR-URL: #38161 Refs: https://github.com/nodejs/node/discussions/36481 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Jan Krems <jan.krems@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com> Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de> Reviewed-By: Michaël Zasso <targos@protonmail.com>
1 parent a4084d6 commit 2a6203d
Copy full SHA for 2a6203d

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎lib/internal/inspector/inspect_repl.js‎

Copy file name to clipboardExpand all lines: lib/internal/inspector/inspect_repl.js
+1-1Lines changed: 1 addition & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.