util: truncate inspect array and typed array
As an alternative to https://github.com/nodejs/node/pull/5070, set the max length of Arrays/TypedArrays in util.inspect() to `100` and provide a `maxArrayLength` option to override. PR-URL: https://github.com/nodejs/node/pull/6334 Reviewed-By:Anna Henningsen <anna@addaleax.net> Reviewed-By:
Matteo Collina <matteo.collina@gmail.com> Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By:
Roman Reiss <me@silverwind.io>
parent
2aa37691
Please register or sign in to comment