Skip to content
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

The `no-deprecated-api` replacement for `crypto.createDecipher` is incorrect #142

Closed
sindresorhus opened this issue Nov 5, 2018 · 1 comment

Comments

@sindresorhus
Copy link

commented Nov 5, 2018

crypto.createDecipher was deprecated since v10.0.0. Use tls.createDecipheriv() instead.                        node/no-deprecated-api
crypto.createCipher was deprecated since v10.0.0. Use tls.createCipheriv() instead.                            node/no-deprecated-api

It says tls there, but tls has no such methods. It should be crypto.

@mysticatea mysticatea added the bug label Nov 5, 2018

@chriszhao1988

This comment has been minimized.

Copy link

commented Nov 15, 2018

Yes, I have the same problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.