How to fix EXTEND_PROTOTYPES deprecation ?
See original GitHub issueJust updated deps and got
DEPRECATION: Accessing Ember.EXTEND_PROTOTYPES is deprecated, please migrate to Ember.ENV.EXTEND_PROTOTYPES [deprecation id: ember-env.old-extend-prototypes]
Nothing can find about it
I have standard config in config/environment.js
EmberENV: {
FEATURES: {
// Here you can enable experimental features on an ember canary build
// e.g. 'with-controller': true
},
EXTEND_PROTOTYPES: {
// Prevent Ember Data from overriding Date.parse.
Date: false
}
},
Issue Analytics
- State:
- Created 5 years ago
- Comments:18 (11 by maintainers)
Top Results From Across the Web
Deprecations Added in Ember 3.x
Invoking the <LinkTo> component with positional arguments is deprecated. See below how to migrate different usages of the component. Inline form. Before: {{link ......
Read more >js.ember Changelog - pyup.io
merge` deprecation. ... with usage of objects created by older addons that are attempting to use `Ember.inject.service()`. ... properties. Fixes scenarios where the ......
Read more >ember-source | Yarn - Package Manager
#13273 [BUGFIX] Fix a number of query param related issues reported. #13424 [DEPRECATE] Deprecate Ember.Binding. See the deprecation guide for more details. # ......
Read more >Replace NOBR Tags with CSS
... you to avoid using deprecated "NOBR" tags within your HTML markup. ... When I first started learning html I ran into the...
Read more >web.mit.edu/kolya/.f/root/net.mit.edu/athena.mit.e...
... added `titleCase()` method [#149](https://github.com/jprichardson/string.js/pull/149) - fix ... Renamed `clobberPrototype()` to `extendPrototype()`.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
So in my case it was an outdated transitive ember-inflector@2.2.0 dependency.
yarn upgrade ember-cli-mirage ember-data
fixed the issue for me.I ran into the same deprecation warning. I updated
ember-inflector
to"^2.3.0"
in my package.json and then did ayarn install
. After that the warning was gone.