util: improve empty typed array inspection#22284
util: improve empty typed array inspection#22284BridgeAR wants to merge 3 commits intonodejs:masterfrom
Conversation
They should be aligned with all other empty objects. Therefore the whitespace is removed and they got a fast path for that.
|
I really don't want this to be semver-major but the output change may require it. Thoughts @nodejs/tsc? |
devsnek
left a comment
There was a problem hiding this comment.
lgtm without semver-major. the docs explicitly say not to use the output of util.inspect programmatically.
addaleax
left a comment
There was a problem hiding this comment.
I think in this case it’s okay to land it as a non-breaking change if CITGM is okay with it.
(I’d generally keep it a case-by-case decision, though.)
|
I just pushed another commit to prevent this path from being taken in case |
They should be aligned with all other empty objects. Therefore the whitespace is removed and they got a fast path for that. PR-URL: nodejs#22284 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
|
CITGM runs came out fine. |
|
Landed in db6a246 |
|
Should this be backported to |
|
Landed easily after #21869 |
They should be aligned with all other empty objects. Therefore the whitespace is removed and they got a fast path for that. PR-URL: #22284 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
They should be aligned with all other empty objects. Therefore the whitespace is removed and they got a fast path for that. PR-URL: #22284 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
They should be aligned with all other empty objects. Therefore the
whitespace is removed and they got a fast path for that.
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes