We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
compat-adapters
The compat-adapter for ember-inflector checks for Ember.ENV.EXTEND_PROTOTYPES. As of v3.27, accessing the Ember global throws a deprecation notice.
compat-adapter
ember-inflector
Ember.ENV.EXTEND_PROTOTYPES
v3.27
embroider/packages/compat/src/compat-adapters/ember-inflector.ts
Line 9 in 75344d8
Replace Ember.ENV with EmberENV.
Ember.ENV
EmberENV
I assume the use of the global after this check is fine for 1. backwards compatibility reasons 2. why are you extending prototypes in a modern app.
Run ember new with [email protected] and inspect the console. The errors before boot should come from ember-inflector/make-configurable.js
ember new
[email protected]
ember-inflector/make-configurable.js
The text was updated successfully, but these errors were encountered:
Remove usage of the Ember global
c182ed6
Fixes embroider-build#779.
Successfully merging a pull request may close this issue.
The
compat-adapter
forember-inflector
checks forEmber.ENV.EXTEND_PROTOTYPES
. As ofv3.27
, accessing the Ember global throws a deprecation notice.embroider/packages/compat/src/compat-adapters/ember-inflector.ts
Line 9 in 75344d8
Proposed solution
Replace
Ember.ENV
withEmberENV
.I assume the use of the global after this check is fine for 1. backwards compatibility reasons 2. why are you extending prototypes in a modern app.
Steps to reproduce
Run
ember new
with[email protected]
and inspect the console. The errors before boot should come fromember-inflector/make-configurable.js
The text was updated successfully, but these errors were encountered: