added
console
labels
Dec 28, 2017
BridgeAR
added
the
semver-major
label
Dec 28, 2017Currently inspecting the BufferList can result a maximum call stack size error. Adding a individual inspect function prevents this.
The current default is not ideal in most use cases. Therefore it is changed to showing unlimited depth in case util.inspect is called directly. The default is kept as before for console.log and similar. Using console.dir will now show a depth of up to five and console.assert / console.trace will show a unlimited depth.
Closed
BridgeAR
added
author ready
and removed author ready
PRs that have at least one approval, no pending requests for changes, and a CI started.labels
Jan 2, 2018BridgeAR added a commit to BridgeAR/node that referenced this pull request
Sep 24, 2018The current default is not ideal in most use cases. Therefore it is changed to inspect objects to a maximum depth of 20 in case util.inspect is called with it's defaults. The default is kept at 2 when using console.log() and similar in the repl. PR-URL: nodejs#17907 Refs: nodejs#12693
BridgeAR added a commit to BridgeAR/node that referenced this pull request
Sep 24, 2018Since the default for depth is changed to `20` it is logical to change the %o default as well. It will now always use the default depth. PR-URL: nodejs#17907 Refs: nodejs#12693
BridgeAR added a commit to BridgeAR/node that referenced this pull request
Oct 2, 2018The current default is not ideal in most use cases. Therefore it is changed to inspect objects to a maximum depth of 20 in case util.inspect is called with it's defaults. The default is kept at 2 when using console.log() and similar in the repl. PR-URL: nodejs#17907 Refs: nodejs#12693 PR-URL: nodejs#22846 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Denys Otrishko <shishugi@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io>
BridgeAR added a commit to BridgeAR/node that referenced this pull request
Oct 2, 2018Since the default for depth is changed to `20` it is logical to change the %o default as well. It will now always use the default depth. PR-URL: nodejs#17907 Refs: nodejs#12693 PR-URL: nodejs#22846 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Denys Otrishko <shishugi@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io>
BridgeAR deleted the change-inspect-defaults branch
April 1, 2019 23:38