Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ember-cli-babel needs update #40

Open
MelSumner opened this issue Aug 5, 2021 · 1 comment
Open

ember-cli-babel needs update #40

MelSumner opened this issue Aug 5, 2021 · 1 comment

Comments

@MelSumner
Copy link
Contributor

Here's the console warning output when I install field-guide on a brand new addon:

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:
  * field-guide

### 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:

* [email protected], currently used by:
  * [email protected]
    * Depends on ember-cli-babel@^6.8.1
    * Added by [email protected]
  * [email protected]
    * Depends on ember-cli-babel@^6.3.0
    * Added by [email protected]
    * Added by [email protected] > [email protected]
  * [email protected] (Dormant)
    * Depends on ember-cli-babel@^6.0.0-beta.4
  * [email protected]
    * Depends on ember-cli-babel@^6.6.0
    * Added by [email protected] > [email protected]
  * [email protected] (Dormant)
    * Depends on ember-cli-babel@^6.6.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.
@elwayman02
Copy link
Contributor

This should be resolved now with the latest updates, once we cut the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants