crypto.fips DEP0093
This recipe transforms the usage from the deprecated crypto.fips to crypto.getFips() and crypto.setFips().
See DEP0093.
Examples
Before:
js
After:
js
Explore community-led codemods to migrate, optimize, and transform your codebase.
Build your own codemod and share it with the community.
Handle DEP0093 via transforming `crypto.fips` to `crypto.getFips()` and `crypto.setFips()`
The easiest way to run this codemod without installing anything globally:
This recipe transforms the usage from the deprecated crypto.fips to crypto.getFips() and crypto.setFips().
See DEP0093.
Before:
js
After:
js
Build your own codemod and share it with the community.