empress / field-guide

SEO friendly static site implementation of a design system documentation site
https://field-guide.netlify.app/
MIT License
17 stars 7 forks source link

ember-cli-babel needs update #40

Open MelSumner opened 3 years ago

MelSumner commented 3 years ago

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:

* ember-cli-babel@6.18.0, currently used by:
  * ember-cli-showdown@4.5.0
    * Depends on ember-cli-babel@^6.8.1
    * Added by field-guide@1.6.0
  * ember-get-config@0.2.4
    * Depends on ember-cli-babel@^6.3.0
    * Added by field-guide@1.6.0
    * Added by field-guide@1.6.0 > ember-meta@1.0.0
  * ember-maybe-import-regenerator@0.1.6 (Dormant)
    * Depends on ember-cli-babel@^6.0.0-beta.4
  * ember-truth-helpers@2.1.0
    * Depends on ember-cli-babel@^6.6.0
    * Added by field-guide@1.6.0 > ember-meta@1.0.0
  * prember@1.0.5 (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 commented 1 year ago

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