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 <jasnell@gmail.com> PR-URL: #37813 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
1 parent 8bb4e04 commit 25e3000

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

0 commit comments

Comments
 (0)