ember-cp-validations
ember-cp-validations copied to clipboard
Ember Global deprecation warning due to old version of ember-cli-babel
Environment
- Ember Version: 3.28
- Ember CLI Version: 3.28
- Ember CP Validations Version: 4.0.0-beta.12
Steps to Reproduce
Install Ember CP Validations in to a freshly generated 3.28.x Ember application and run ember serve. A deprecation warning is displayed in your logs like so
➜ ember328app git:(master) ✗ ember s --port 3001
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-cp-validations
### 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] (Dormant)
* Depends on ember-cli-babel@^6.0.0-beta.4
* [email protected]
* Depends on ember-cli-babel@^6.9.2
* Added by [email protected]
* Added by [email protected] > [email protected]
* [email protected]
* Depends on ember-cli-babel@^6.9.2
* Added by [email protected]
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.
I understand this repository does not appear to be maintained anymore so primarily raising this for visibility.
@offirgolan any plans to upgrade addon?
I am also running into the same issue. Does anyone have a workaround for this? @offirgolan will this addon be upgraded?
@rahulk94 @AmilKey @RosarioAleCali that should be fixed in the new beta release.
I'm closing this. Feel free to reopen if there are still problems.