Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

util: inspect constructor closer #27522

Closed

Conversation

BridgeAR
Copy link
Member

@BridgeAR BridgeAR commented May 1, 2019

This adds an extra check to util.inspect to closer inspect object
constructors in case there's not much other information about the
constructor.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. util Issues and PRs related to the built-in util module. labels May 1, 2019
src/node_util.cc Outdated Show resolved Hide resolved
@BridgeAR BridgeAR force-pushed the inspect-constructor-name-closer branch from 8a49467 to 3b22ce9 Compare May 1, 2019 22:12
@BridgeAR BridgeAR added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label May 1, 2019
@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

This adds an extra check to `util.inspect` to closer inspect object
constructors in case there's not much other information about the
constructor.
@BridgeAR BridgeAR force-pushed the inspect-constructor-name-closer branch from 3b22ce9 to d047763 Compare May 2, 2019 21:45
@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot
Copy link
Collaborator

@ZYSzys
Copy link
Member

ZYSzys commented May 4, 2019

Landed in 7910b02 🎉.

@ZYSzys ZYSzys closed this May 4, 2019
ZYSzys pushed a commit that referenced this pull request May 4, 2019
This adds an extra check to `util.inspect` to closer inspect object
constructors in case there's not much other information about the
constructor.

PR-URL: #27522
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
@targos
Copy link
Member

targos commented May 5, 2019

Backport to v12.x is blocked on #27227.

@BridgeAR BridgeAR mentioned this pull request May 5, 2019
4 tasks
BridgeAR added a commit to BridgeAR/node that referenced this pull request May 5, 2019
This adds an extra check to `util.inspect` to closer inspect object
constructors in case there's not much other information about the
constructor.

PR-URL: nodejs#27522
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
targos pushed a commit that referenced this pull request May 6, 2019
This adds an extra check to `util.inspect` to closer inspect object
constructors in case there's not much other information about the
constructor.

PR-URL: #27522
Backport-PR-URL: #27570
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
@targos targos mentioned this pull request May 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. c++ Issues and PRs that require attention from people who are familiar with C++. util Issues and PRs related to the built-in util module.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants