Codemod verified
Regularly tested and maintained by our engineers and codemod expert community.
Ember
migration
byCodemod
Ember/5/Deprecate Merge
Last update
Jul 24, 2024
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