diff --git a/lib/net.js b/lib/net.js index c9116fb1a80a81..aa5709981ca3da 100644 --- a/lib/net.js +++ b/lib/net.js @@ -42,11 +42,17 @@ const { const { Buffer } = require('buffer'); const TTYWrap = process.binding('tty_wrap'); -const { TCP, constants: TCPConstants } = process.binding('tcp_wrap'); -const { Pipe, constants: PipeConstants } = process.binding('pipe_wrap'); -const { TCPConnectWrap } = process.binding('tcp_wrap'); -const { PipeConnectWrap } = process.binding('pipe_wrap'); const { ShutdownWrap } = process.binding('stream_wrap'); +const { + TCP, + TCPConnectWrap, + constants: TCPConstants +} = process.binding('tcp_wrap'); +const { + Pipe, + PipeConnectWrap, + constants: PipeConstants +} = process.binding('pipe_wrap'); const { newAsyncId, defaultTriggerAsyncIdScope,