Skip to content

Commit 57031b6

Browse files
committed
lib: runtime deprecate access to process.binding('http_parser')
The internal HTTP Parser constructor and methods list are available via `require('_http_parser')`, there's no need for the ecosystem to access via `process.binding()` Signed-off-by: James M Snell <[email protected]>
1 parent ae595d7 commit 57031b6

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+
'http_parser',
111112
'v8',
112113
]);
113114

0 commit comments

Comments
 (0)