summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRuben Bridgewater <ruben@bridgewater.de>2019-04-05 22:02:57 +0200
committerRuben Bridgewater <ruben@bridgewater.de>2019-04-10 17:59:12 +0200
commit892c51f330f99b7eb57481e183df61530a9c5956 (patch)
tree9ab32cbbca4dab915a54e6a18eabad49a4264549 /doc
parentbd9109c24165109a1d0585790f3ed963506d8ef3 (diff)
downloadandroid-node-v8-892c51f330f99b7eb57481e183df61530a9c5956.tar.gz
android-node-v8-892c51f330f99b7eb57481e183df61530a9c5956.tar.bz2
android-node-v8-892c51f330f99b7eb57481e183df61530a9c5956.zip
util: improve inspect edge cases
This makes sure `compact` number mode causes small proxies and map entries to be printed on a single line. It also fixed the line break calculation for `compact` mode when not set to `true`. It now also adds the additional whitespace, comma and quotes to the formula to prevent exceeding the `breakLength`. PR-URL: https://github.com/nodejs/node/pull/27109 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Minwoo Jung <minwoo@nodesource.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions