BridgeAR · GitHub

@BridgeAR

@nodejs-github-bot nodejs-github-bot added lib / src

Issues and PRs related to general changes in the lib or src directory.

util

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

labels

Mar 9, 2018

@BridgeAR

yosuke-furukawa

mcollina

@BridgeAR BridgeAR added the semver-major

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

label

Mar 14, 2018

@BridgeAR

@BridgeAR

@BridgeAR

@BridgeAR

TimothyGu

1) So far extra keys on an (Set|Map)Iterator were ignored. Those
   will now be visible.
2) Improve the performance of showing (Set|Map)Iterator by using
   the cloned iterator instead of copying all entries first.
3) So far the output was strictly limited to up to 100 entries.
   The limit will now depend on `maxArrayLength` instead (that
   default is set to 100 as well) and the output indicates that
   more entries exist than visible.

@BridgeAR

@BridgeAR BridgeAR changed the title util,assert: improve Weak(Map|Set) support util: improve Weak(Map|Set) support

Mar 23, 2018
This adds support for WeakMap and WeakSet entries in `util.inspect`.
The output is limited to a maximum entry length of `maxArrayLength`.
Fixes: nodejs#19001

@BridgeAR

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

Mar 25, 2018
1) So far extra keys on an (Set|Map)Iterator were ignored. Those
   will now be visible.
2) Improve the performance of showing (Set|Map)Iterator by using
   the cloned iterator instead of copying all entries first.
3) So far the output was strictly limited to up to 100 entries.
   The limit will now depend on `maxArrayLength` instead (that
   default is set to 100 as well) and the output indicates that
   more entries exist than visible.
PR-URL: nodejs#19259
Reviewed-By: Yosuke Furukawa <yosuke.furukawa@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>

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

Mar 25, 2018
This adds support for WeakMap and WeakSet entries in `util.inspect`.
The output is limited to a maximum entry length of `maxArrayLength`.
PR-URL: nodejs#19259
Fixes: nodejs#19001:
Reviewed-By: Yosuke Furukawa <yosuke.furukawa@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>

@BridgeAR

Closed

Read the original on github.com ↗