mirror of
https://github.com/nodejs/node.git
synced 2025-08-16 06:08:50 +02:00
lib: unexpose six process bindings
Namely: async_wrap, crypto, http_parser, signal_wrap, url, and v8. They were runtime-deprecated 4 years ago. PR-URL: https://github.com/nodejs/node/pull/57149 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Chemi Atlow <chemi@atlow.co.il> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Jacob Smith <jacob@frende.me> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
parent
6cb0690fcc
commit
c864dea910
4 changed files with 4 additions and 23 deletions
|
@ -1,8 +1,10 @@
|
|||
// Flags: --expose-internals
|
||||
'use strict';
|
||||
const common = require('../common');
|
||||
|
||||
const net = require('net');
|
||||
const { HTTPParser } = process.binding('http_parser');
|
||||
const { internalBinding } = require('internal/test/binding');
|
||||
const { HTTPParser } = internalBinding('http_parser');
|
||||
|
||||
const server = net.createServer((socket) => {
|
||||
socket.write('HTTP/1.1 200 OK\r\n');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue