• Ember/5/Object New Constructor

    new EmberObject() is deprecated in Ember.js v3.9 in favor of constructing instances of EmberObject and its subclasses. 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.

  • Ember/5/Notify Property Change

    This codemod removes all calls to propertyWillChange and replaces all calls to propertyDidChange with notifyPropertyChange.

  • Ember/5/Jquery Event

    Using event object APIs that are specific to jQuery.Event, such as originalEvent, is deprecated in Ember.js v3.3. This codemod removes all calls to originalEvent in case of accessing properties that work with jQuery events as well as native events.

  • Ember/5/Jquery Apis

    This codemod replaces all calls to this.$() inside of an Ember.Component with this.element property, which provides a reference to a native DOM element.

  • Ember/5/Es5 Getter Ember Codemod

    This codemod transforms get() to getProperties() to use traditional object dot notation. This standard was proposed by Ember.js team in https://github.com/emberjs/rfcs/blob/master/text/0281-es5-getters.md.

  • Ember/5/Ember Jquery Legacy

    Using event object APIs that are specific to jQuery.Event, such as originalEvent, is deprecated in Ember.js v3.3. This codemod ensures the access to the native event without triggering any deprecations via wrapping the event with the normalizeEvent function provided by ember-jquery-legacy.

  • Ember/5/Deprecate Router Events

    This codemod removes all calls to willTransition or didTransition events on the Router via usage of routeWillChange event listener and routeDidChange event listener.

  • Ember/5/Deprecate Merge

    This codemod replaces all calls to Ember.merge with Ember.assign.

  • Ember/5/Cp Volatile

    This codemod removes all calls to volatile() and ensures that native getters are directly used.

  • Ember/5/Cp Property Map

    .property() is a modifier that adds additional property dependencies to an existing computed property. For filter, map, and sort computed property macros, this codemod ensures they receive an array of additional dependent keys as a second parameter.

  • Ember/5/Cp Property

    .property() is a modifier that adds additional property dependencies to an existing computed property. This codemod moves the dependencies to the main computed property definition.

  • Ember/5/Convert Module For To Setup Test

    This codemod transforms from the older moduleFor* syntax of ember-qunit@2 to the newer setup*Test syntax.

  • Ember/5/Array Wrapper

    This codemod removes any usage of new with A, and calls A as a standard function.

  • Ember/5/App Controller Router Props

    This codemod replaces all occurrences of this.currentRouteName with this.router.currentRouteName and this.currentPath with this.router.currentPath.