Pass the 'showHidden' and 'colors' params along to custom inspect() functions #2443

wants to merge 3 commits into
Commits on Dec 30, 2011
  1. Pass the 'showHidden' and 'colors' to custom inspect() functions.

    TooTallNate committed Dec 30, 2011
    Previously, it was impossible to determine whether or not 'colors'
    should be used in a custom inspect() function, which was a flaw.
    Passing all the necessary variables is the propery way to do it.
    The order of variables passed doesn't quite match `util.inspect()`, for
    legacy purposes.