mike-north / ember-phoenix

Phoenix Framework integration and tooling for Ember.js apps
MIT License
138 stars 24 forks source link

Outdated Ember-Cli-Babel dependency #325

Open abueloshika opened 2 years ago

abueloshika commented 2 years ago

EDIT: I've realised that the library itself is considerably out of date and this is unlikely to be resolved!

Updating to Ember 3.28 has caused a deprecation warning to display around the use of the Ember Global.

This appears to be because ember-phoenix is using ember-cli-bable@6.18.0. The deprecation warning suggests an update to ember-cli-babel@7.26.6.

Full Deprecation text:

WARNING: [DEPRECATION] [DEPRECATION] Usage of the Ember Global is deprecated. You should import the Ember module or the specific API instead.

See https://deprecations.emberjs.com/v3.x/#toc_ember-global for details.

Usages of the Ember Global may be caused by an outdated ember-cli-babel dependency. The following steps may help:

* Upgrade the following addons to the latest version:
  * ember-phoenix

### Important ###

In order to avoid repeatedly showing the same deprecation messages, no further deprecation messages will be shown for usages of the Ember Global until ember-cli-babel is upgraded to v7.26.6 or above.

To see all instances of this deprecation message, set the `EMBER_GLOBAL_DEPRECATIONS` environment variable to "all", e.g. `EMBER_GLOBAL_DEPRECATIONS=all ember test`.

### Details ###

Prior to v7.26.6, ember-cli-babel sometimes transpiled imports into the equivalent Ember Global API, potentially triggering this deprecation message indirectly, even when you did not observe these deprecated usages in your code.

The following outdated versions are found in your project:

* ember-cli-babel@6.18.0, currently used by:
  * ember-phoenix@1.0.3
    * Depends on ember-cli-babel@6.18.0

Note: Addons marked as "Dormant" does not appear to have any JavaScript files. Therefore, even if they are using an old version ember-cli-babel, they are unlikely to be the culprit of this deprecation and can likely be ignored.