Replace deprecated util._extend() with Object.assign()
Recipe ID
org.openrewrite.node.migrate.util.replace-util-extendArtifact@openrewrite/recipes-nodejsReplace deprecated util._extend(target, source) calls with Object.assign(target, source) which preserves the mutation behavior.
Single recipeDEP0060Proprietary
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-util-extendIf the recipe isn’t available locally, install it with:
mod config recipes npm install @openrewrite/recipes-nodejs