Ember/5/Deprecate Merge
This codemod replaces all calls to Ember.merge
with Ember.assign
.
Before
import { merge } from '@ember/polyfills';var a = { first: 'Yehuda' };var b = { last: 'Katz' };merge(a, b);
After
import { assign } from '@ember/polyfills';var a = { first: 'Yehuda' };var b = { last: 'Katz' };assign(a, b);
Build custom codemods
Use AI-powered codemod studio and automate undifferentiated tasks for yourself, colleagues or the community