← All recipes
Moderne licensed

Find deprecated process.assert() usage

Recipe IDorg.openrewrite.node.migrate.find-process-assertArtifact@openrewrite/recipes-nodejs

process.assert() was deprecated in Node.js 10 (DEP0100) and removed in Node.js 23. Use the assert module instead.

Single recipeDEP0100Proprietary

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.find-process-assert

If the recipe isn’t available locally, install it with:

mod config recipes npm install @openrewrite/recipes-nodejs