-
-
Notifications
You must be signed in to change notification settings - Fork 35.3k
Improve util.deprecate #1883
Copy link
Copy link
Closed
Labels
feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.utilIssues and PRs related to the built-in util module.Issues and PRs related to the built-in util module.
Metadata
Metadata
Assignees
Labels
feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.utilIssues and PRs related to the built-in util module.Issues and PRs related to the built-in util module.
As discussed in IRC recently with @Fishrock123 it would be nice if the deprecation messages contain a bit more info. Particulary I'd like to see
filename:linenumberwhere it happens in userland code. I think this could be parsed off the stack throughnew Error().stackor similar, suggestions welcome.(node)to identify where the messages come from.-print-all-deprecationsto allow more than one print per deprecation to track down all places where it's happening.