Skip to content

Commit 25e3000

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]> PR-URL: #37813 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Gerhard Stöbich <[email protected]>
1 parent 8bb4e04 commit 25e3000

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: 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
'url',
114115
'v8',

0 commit comments

Comments
 (0)