Fully delegate your migrations to Codemod.com-certified experts.
Instantly build codemods with GPT4 & specialized helpers. All for free.
Read our latest blog post about the Next.js "Dream Migration."
This codemod replaces all calls to new EmberObject()
with EmberObject.create()
and adds a constructor
function to classes that extend from EmberObject
so that the classes no longer extend from EmberObject
.
This automation removes all calls to propertyWillChange
and replaces all calls to propertyDidChange
with notifyPropertyChange
.
This automation removes all calls to originalEvent
in case of accessing properties that work with jQuery events as well as native events.
This automation updates event handling in Ember.js by transitioning from the .on
method to using the on
function for event listeners.
This automation refactors observer definitions in Ember.js from using the .observes
method to the modern observer
function syntax.
The "Fpe Computed" codemod for Ember.js V5 refactors computed property definitions from the older .property
method to the modern computed
function syntax.
This automation transforms get()
to getProperties()
to use traditional object dot notation.
This codemod ensures access to the native event without triggering any deprecations via wrapping the event
with the normalizeEvent
function provided by ember-jquery-legacy
.
This automation removes all calls to willTransition
or didTransition
events on the Router via usage of routeWillChange
event listener and routeDidChange
event listener.
This automation replaces all calls to Ember.merge
with Ember.assign
.
This automation removes all calls to volatile()
and ensures that native getters are directly used.
This automation modifies the .property()
to move additional property dependencies directly into the main definition of an existing computed property.
This automation adds extra property dependencies to computed properties like filter
, map
, and sort
, automating the inclusion of an array of dependent keys as a second parameter.
This automation transforms from the older moduleFor*
syntax of ember-qunit@2
to the newer setup*Test
syntax.
This automation removes any usage of new
with A
, and calls A
as a standard function.
This codemod replaces all occurrences of this.currentRouteName
with this.router.currentRouteName
and this.currentPath
with this.router.currentPath
.