Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fixup: address comments in util.md
  • Loading branch information
BridgeAR committed Sep 12, 2018
commit 0dde647e2bca4f48dcf07d65b16c95ac8f4c398f
12 changes: 6 additions & 6 deletions doc/api/util.md
Original file line number Diff line number Diff line change
Expand Up @@ -362,8 +362,8 @@ added: v0.3.0
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/REPLACEME
description: The inspection output is now limited to 128 MB. Data above that
size not be inspected fully anymore.
description: The inspection output is now limited to about 128 MB. Data
above that size will not be fully inspected.
- version: v10.6.0
pr-url: https://github.com/nodejs/node/pull/20725
description: Inspecting linked lists and similar objects is now possible
Expand Down Expand Up @@ -536,10 +536,10 @@ console.log(inspect(weakSet, { showHidden: true }));
```

Please note that `util.inspect()` is a synchronous method that is mainly
intended as a debugging tool. Its maximum output length is limited to 128 MB and
input values that result in output bigger than that will not be inspected fully.
Such values can have a significant performance overhead that can block the event
loop for a significant amount of time.
intended as a debugging tool. Its maximum output length is limited to
approximately 128 MB and input values that result in output bigger than that
will not be inspected fully. Such values can have a significant performance
overhead that can block the event loop for a significant amount of time.

### Customizing `util.inspect` colors

Expand Down