node/lib/internal/util
Ruben Bridgewater e40bfd899e
util: inspect() should not exceed breakLength
Using `util.inspect()` with the `compact` option set to a number
could result in output that exceeded the `breakLength` option. This
change makes sure that limit is taken into account.

PR-URL: https://github.com/nodejs/node/pull/26914
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
2019-04-10 15:30:27 +01:00
..
comparisons.js util: extract uncurryThis function for reuse 2019-03-30 14:44:59 +01:00
debuglog.js lib: explicitly initialize debuglog during bootstrap 2019-03-27 21:10:48 +01:00
inspect.js util: inspect() should not exceed breakLength 2019-04-10 15:30:27 +01:00
inspector.js src: simplify InspectorConsoleCall 2019-02-28 23:35:35 +11:00
types.js util: extract uncurryThis function for reuse 2019-03-30 14:44:59 +01:00