Find deprecated crypto.createCipher() and crypto.createDecipher() usage

Proprietary

crypto.createCipher() and crypto.createDecipher() were deprecated in Node.js 10 (DEP0106) and removed in Node.js 22. Use crypto.createCipheriv() and crypto.createDecipheriv() instead.

org.openrewrite.node.migrate.crypto.find-create-cipher
mod run . --recipe=org.openrewrite.node.migrate.crypto.find-create-cipher

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.