Skip to content

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

@sindresorhus

Description

@sindresorhus
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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions