-
Notifications
You must be signed in to change notification settings - Fork 29.9k
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
doc,assert,timers: assign deprecation codes #18564
Conversation
Overlooked when landing the respective PRs.
Oh hmm, I guess I thought these were done at release time for some reason. Sorry about that. |
I think that test case should still be |
@Fishrock123 It’s 5 because the real deprecation codes for |
lib/timers.js
Outdated
@@ -377,7 +377,7 @@ function enroll(item, msecs) { | |||
exports.enroll = util.deprecate(enroll, | |||
'timers.unenroll() is deprecated. ' + |
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.
s/unenroll/enroll/
?
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.
The deprecation code is for enroll
below, but the message is about unenroll()
.
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.
@ChALkeR done
Those were using the same deprecation number Perhaps it would be better to use |
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.
See comment.
Overlooked when landing the respective PRs. PR-URL: nodejs#18564 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Evan Lucas <evanlucas@me.com>
Landed in 82a7347 As a side note: I updated my script to complain in case something has to be replaced while landing ;-) |
Should this be backported to |
Overlooked when landing the respective PRs. PR-URL: nodejs#18564 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Evan Lucas <evanlucas@me.com>
Should this be backported to |
Overlooked when landing the respective PRs.
/cc @Fishrock123 @BridgeAR @jasnell
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passesAffected core subsystem(s)
doc,assert,timers