Skip to content

Commit

Permalink
fixup: address comments in util.md
Browse files Browse the repository at this point in the history
  • Loading branch information
BridgeAR committed Sep 12, 2018
1 parent e133551 commit 0dde647
Showing 1 changed file with 6 additions and 6 deletions.
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

0 comments on commit 0dde647

Please sign in to comment.