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 <joyeec9h3@gmail.com>
    Reviewed-By: John-David Dalton <john.david.dalton@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    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 <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>
    BridgeAR committed May 5, 2019
    Configuration menu
    Copy the full SHA
    061e7e8 View commit details
    Browse the repository at this point in the history