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

[v12.x] backport 27227 #27570

Closed
wants to merge 3 commits into from

Commits on May 5, 2019

  1. util: improve function inspection

    This commit contains the following changes:
    
    1) Add null prototype support for functions.
    2) Safely detect async and generator functions.
    3) Mark anonymous functions as such instead of just leaving out the
       name.
    
    PR-URL: nodejs#27227
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: John-David Dalton <[email protected]>
    Reviewed-By: Anto Aravinth <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    BridgeAR committed May 5, 2019
    Configuration menu
    Copy the full SHA
    e56eaea View commit details
    Browse the repository at this point in the history
  2. util: compatibility patch to backport d0667e8

    This makes sure that nodejs#27227 may
    be backported as semver-patch instead of semver-major.
    BridgeAR committed May 5, 2019
    Configuration menu
    Copy the full SHA
    87e1731 View commit details
    Browse the repository at this point in the history
  3. util: inspect constructor closer

    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 <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Yongsheng Zhang <[email protected]>
    BridgeAR committed May 5, 2019
    Configuration menu
    Copy the full SHA
    061e7e8 View commit details
    Browse the repository at this point in the history