nodejs-github-bot · GitHub

@nodejs-github-bot added console

Issues and PRs related to the console subsystem.

repl

Issues and PRs related to the REPL subsystem.

util

Issues and PRs related to the built-in util module.

labels

Dec 28, 2017

@BridgeAR BridgeAR added the semver-major

PRs that contain breaking changes and should be released in the next major version.

label

Dec 28, 2017

lpinca

Currently 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.
Object.assign is currently very slow. Using Object.keys is much
faster in v8 6.3.

@BridgeAR

TimothyGu

Closed

@BridgeAR

@BridgeAR BridgeAR added author ready

PRs that have at least one approval, no pending requests for changes, and a CI started.

and removed author ready

PRs that have at least one approval, no pending requests for changes, and a CI started.

labels

Jan 2, 2018

@BridgeAR

mcollina

targos

addaleax

Since the default for depth is changed to `Infinity` it is logical
to change the %o default to the same as well.
Using %o with `util.format` will now always print the whole object.

@BridgeAR

BridgeAR added a commit to BridgeAR/node that referenced this pull request

Sep 24, 2018
The 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, 2018
Since 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, 2018
The 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, 2018
Since 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

BridgeAR deleted the change-inspect-defaults branch

April 1, 2019 23:38

Read the original on github.com ↗