-
-
Notifications
You must be signed in to change notification settings - Fork 31.7k
Slightly improve module deprecation warnings #58442
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
Slightly improve module deprecation warnings #58442
Conversation
Review requested:
|
I've added the semver-major label since this PR is making changes to code introduced in #58337 which was under semver-major, so I figured that it probably makes sense to also mark this PR as semver-major (so that it's not going to be applied to old releases with the other changes), please let me know if I'm wrong 🙂 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #58442 +/- ##
=======================================
Coverage 90.18% 90.18%
=======================================
Files 635 635
Lines 187224 187224
Branches 36760 36762 +2
=======================================
+ Hits 168850 168851 +1
+ Misses 11139 11126 -13
- Partials 7235 7247 +12
🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. The dont-land
labels are more appropriate than the semver-major label, so I have replaced the label.
Thanks @RaisinTen 🙏 (I did consider using the |
Landed in d3bc454...83052ff |
PR-URL: #58442 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
PR-URL: #58442 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
As suggested by @shivarm I'm adding to all the various module deprecation warnings the suggestion of what alternative module should be used instead, I am also updating the sys warning to refer to
node:util
instead ofutil
.