← All recipes
Moderne licensed

Replace deprecated util.types.isWebAssemblyCompiledModule()

Recipe IDorg.openrewrite.node.migrate.util.replace-is-webassembly-compiled-moduleArtifact@openrewrite/recipes-nodejs

Replace util.types.isWebAssemblyCompiledModule(value) with value instanceof WebAssembly.Module.

Single recipeDEP0177Proprietary

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.replace-is-webassembly-compiled-module

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

mod config recipes npm install @openrewrite/recipes-nodejs