Nnodejs

nodejs/crypto-fips-to-getFips

Handle DEP0093 via transforming `crypto.fips` to `crypto.getFips()` and `crypto.setFips()`

transformationmigration
Public
24 executions

Run locally

npx codemod @nodejs/crypto-fips-to-getFips

crypto.fips DEP0093

This recipe transforms the usage from the deprecated crypto.fips to crypto.getFips() and crypto.setFips().

See DEP0093.

Examples

diff

Ready to contribute?

Build your own codemod and share it with the community.