mirror of
https://github.com/nodejs/node.git
synced 2026-12-03 18:03:02 -05:00
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: https://github.com/nodejs/node/pull/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>
This commit is contained in:
1 file changed
+1
@@ -109,6 +109,7 @@ const internalBindingAllowlist = new SafeSet([
|
||||
const runtimeDeprecatedList = new SafeSet([
|
||||
'async_wrap',
|
||||
'crypto',
|
||||
'http_parser',
|
||||
'signal_wrap',
|
||||
'url',
|
||||
'v8',
|
||||
|
||||
Reference in new issue
Block a user