util._extend DEP0060
This recipe transforms the usage of deprecated util._extend() to use Object.assign().
See DEP0060.
Example
diff
Explore community-led codemods to migrate, optimize, and transform your codebase.
Build your own codemod and share it with the community.
Handle DEP0060 by replacing `util._extend()` with `Object.assign()`.
The easiest way to run this codemod without installing anything globally:
This recipe transforms the usage of deprecated util._extend() to use Object.assign().
See DEP0060.
diff
Build your own codemod and share it with the community.