Replace deprecated util.isX() methods with native JavaScript
Recipe ID
org.openrewrite.node.migrate.util.use-native-type-checking-methodsArtifact@openrewrite/recipes-nodejsThe util module's type-checking methods have been removed in Node 22.
Single recipeDEP0052DEP0053DEP0054DEP0044DEP0055DEP0050DEP0051DEP0049DEP0045DEP0056DEP0046DEP0057DEP0047DEP0058DEP0048Proprietary
Usage
This recipe has no required configuration options. You’ll need the Moderne CLI configured before running the command below.
mod run . --recipe org.openrewrite.node.migrate.util.use-native-type-checking-methodsIf the recipe isn’t available locally, install it with:
mod config recipes npm install @openrewrite/recipes-nodejs