lib: move format and formatWithOptions into internal/util/inspect.js · nodejs/node@b75af15 · GitHub
Skip to content

Commit b75af15

Browse files
joyeecheungtargos
authored andcommitted
lib: move format and formatWithOptions into internal/util/inspect.js
So these can be required without requiring the whole `util.js`. PR-URL: #26468 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
1 parent cf1117a commit b75af15

2 files changed

Lines changed: 137 additions & 131 deletions

File tree

lib/internal/util/inspect.js

Lines changed: 132 additions & 1 deletion

lib/util.js

Lines changed: 5 additions & 130 deletions

0 commit comments

Comments
 (0)