Skip to content

Commit

Permalink
lib: runtime deprecate access to process.binding('http_parser')
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
jasnell committed Mar 22, 2021
1 parent 3bee6d8 commit dcb96b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/internal/bootstrap/loaders.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ const internalBindingAllowlist = new SafeSet([
const runtimeDeprecatedList = new SafeSet([
'async_wrap',
'crypto',
'http_parser',
'signal_wrap',
'v8',
]);
Expand Down

0 comments on commit dcb96b3

Please sign in to comment.