Find deprecated crypto.DEFAULT_ENCODING usage
ProprietaryThe crypto.DEFAULT_ENCODING property was deprecated in Node.js 10 (DEP0091) and removed in Node.js 20. Each API that accepted an encoding (hash, hmac, cipher, etc.) now requires the encoding to be passed explicitly. Occurrences must be reviewed and fixed by hand.
org. openrewrite. node. migrate. find-crypto-default-encodingmod run . --recipe= org. openrewrite. node. migrate. find-crypto-default-encodingInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.