Skip to content

Commit 66a277c

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 30fe4ed commit 66a277c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/internal/bootstrap/loaders.js

+1
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ const internalBindingAllowlist = new SafeSet([
109109
const runtimeDeprecatedList = new SafeSet([
110110
'async_wrap',
111111
'crypto',
112+
'http_parser',
112113
'signal_wrap',
113114
'v8',
114115
]);

0 commit comments

Comments
 (0)