-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
crypto: fix error in deprecation message #6344
Conversation
LGTM |
7da4fd4
to
c7066fb
Compare
The deprecation message for `crypto.Credentials` says to use `tls.createSecureContext` but the correct property to use is `tls.SecureContext()`. Fix the deprecation message and add a test that checks the mappings of deprecated properties and their warning messages.
CI failures are one buildbot failure and the current problematic tick processor issue on OS X. Unrelated, of course. |
The deprecation message for `crypto.Credentials` says to use `tls.createSecureContext` but the correct property to use is `tls.SecureContext()`. Fix the deprecation message and add a test that checks the mappings of deprecated properties and their warning messages. PR-URL: nodejs#6344 Reviewed-By: James M Snell <jasnell@gmail.com>
Landed in 296bfd2 |
The deprecation message for `crypto.Credentials` says to use `tls.createSecureContext` but the correct property to use is `tls.SecureContext()`. Fix the deprecation message and add a test that checks the mappings of deprecated properties and their warning messages. PR-URL: #6344 Reviewed-By: James M Snell <jasnell@gmail.com>
@Trott lts? |
@thealphanerd Yes. |
@Trott test failure on v4.x-staging, can you manually backport? edit: please include all original meta data |
@thealphanerd Is the test failing because |
|
This depends on So the test needs to be re-written for LTS. Or we could choose not to land. Or you could just land the deprecation message text change and not land the test. |
@Trott I'm leaving this as don't land for now. Please feel free to open a new PR |
Checklist
Affected core subsystem(s)
crypto test
Description of change
The deprecation message for
crypto.Credentials
says to usetls.createSecureContext
but the correct property to use istls.SecureContext()
.Fix the deprecation message and add a test that checks the mappings of
deprecated properties and their warning messages.
@nodejs/crypto