-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
errors: decapitalize PBKDF2 error #22687
Conversation
This should not be semver-major. The whole point of having the error codes as they are is to change the message when ever we feel like it without the need to declare it semver-major. |
@BridgeAR That was the intention, yes, but the |
The code property has already changed by using the new error types in general. As soon as that is in place, changing the message again should AFAIK be semver- |
@BrigeAR Acknowledged, adding semver-minor in that case. |
Sorry, I meant semver-patch. |
At some point, @nodejs/tsc decided that message changes were still semver-major even though codes had been introduced because (it was believed) there is so much message-sniffing code out there. I'm personally OK with that rule being rescinded, but @-mentioning TSC here in case there's anyone who feels differently. |
Landed in a1a0c59. |
PR-URL: #22687 Refs: #20816 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
PR-URL: #22687 Refs: #20816 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
The error code was added in #20816 and I assume it couldn't be fixed in that PR because changing the error message would have made the change semver-major.
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes