diff options
author | unknown <rosaxny@gmail.com> | 2020-04-09 19:19:41 +0300 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2020-04-13 20:46:35 +0300 |
commit | 1211b9a72f291d487c4ded97b005484e0c6a8a87 (patch) | |
tree | 4485b600165f233cc92d447f0579dc2934f480d0 /lib/internal/util | |
parent | 1f9761f4cc027315376cd669ceed2eeaca865d76 (diff) |
util: change default value of `maxStringLength` to 10000
Refs: https://github.com/nodejs/node/pull/32392
PR-URL: https://github.com/nodejs/node/pull/32744
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matheus Marchini <mat@mmarchini.me>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'lib/internal/util')
-rw-r--r-- | lib/internal/util/inspect.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/internal/util/inspect.js b/lib/internal/util/inspect.js index f59e7db3a97..fe21854e16a 100644 --- a/lib/internal/util/inspect.js +++ b/lib/internal/util/inspect.js @@ -146,7 +146,7 @@ const inspectDefaultOptions = ObjectSeal({ customInspect: true, showProxy: false, maxArrayLength: 100, - maxStringLength: Infinity, + maxStringLength: 10000, breakLength: 80, compact: 3, sorted: false, |