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

use util.inspect.custom in recent versions of Node #208

Merged
merged 1 commit into from
May 31, 2018

Conversation

davidchambers
Copy link
Member

https://nodejs.org/api/deprecations.html:

DEP0079: Custom inspection function on Objects via .inspect()

Type: Runtime

Using a property named inspect on an object to specify a custom inspection function for util.inspect() is deprecated. Use util.inspect.custom instead. For backward compatibility with Node.js prior to version 6.4.0, both may be specified.

@davidchambers davidchambers merged commit a3887c5 into master May 31, 2018
@davidchambers davidchambers deleted the davidchambers/inspect branch May 31, 2018 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant