Replace deprecated util.types.isWebAssemblyCompiledModule()
Recipe ID
org.openrewrite.node.migrate.util.replace-is-webassembly-compiled-moduleArtifact@openrewrite/recipes-nodejsReplace 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-moduleIf the recipe isn’t available locally, install it with:
mod config recipes npm install @openrewrite/recipes-nodejs