net: remove usage of require('util') by dnlup · Pull Request #26807 · nodejs/node

@nodejs-github-bot added the net

Issues and PRs related to the net subsystem.

label

Mar 20, 2019

jasnell

jasnell

@dnlup

Use `require('internal/util/inspect').inspect` and 
`require('internal/util/debuglog').debuglog` instead of 
`require('util').debuglog` and `require('util').inspect`.

Refs: nodejs#26546

BridgeAR

@BridgeAR BridgeAR added the author ready

PRs that have at least one approval, no pending requests for changes, and a CI started.

label

Mar 22, 2019

BridgeAR pushed a commit to BridgeAR/node that referenced this pull request

Mar 24, 2019
Use `require('internal/util/inspect').inspect` and
`require('internal/util/debuglog').debuglog` instead of
`require('util').debuglog` and `require('util').inspect`.

PR-URL: nodejs#26807
Refs: nodejs#26546
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>

@BridgeAR BridgeAR added blocked

PRs that are blocked by other issues or PRs.

and removed author ready

PRs that have at least one approval, no pending requests for changes, and a CI started.

labels

Mar 25, 2019

@Trott Trott mentioned this pull request

Mar 25, 2019

2 tasks

targos pushed a commit to targos/node that referenced this pull request

Mar 27, 2019
Use `require('internal/util/inspect').inspect` and
`require('internal/util/debuglog').debuglog` instead of
`require('util').debuglog` and `require('util').inspect`.

PR-URL: nodejs#26807
Refs: nodejs#26546
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>

targos pushed a commit that referenced this pull request

Mar 27, 2019
Use `require('internal/util/inspect').inspect` and
`require('internal/util/debuglog').debuglog` instead of
`require('util').debuglog` and `require('util').inspect`.

PR-URL: #26807
Refs: #26546
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>