ember-getowner-polyfill is now deprecated
See original GitHub issueDEPRECATION: ember-getowner-polyfill is now a true polyfill. Use Ember.getOwner directly instead of importing from ember-getowner-polyfill [deprecation id: ember-getowner-polyfill.import]
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (1 by maintainers)
Top Results From Across the Web
Fixing the ember-getowner-polyfill deprecation - EmberMap
DEPRECATION : ember-getowner-polyfill is now a true polyfill. Use Ember.getOwner directly instead of importing from ember-getowner-polyfill ...
Read more >Deprecations Added in Ember 2.x
Now currentWhen is deprecated in favour of the hyphenated current-when ... the newer paradigms. ember-getowner-polyfill was created for this exact reason.
Read more >Getting deprecation warnings · Issue #286 · ember-cli ... - GitHub
I am trying to upgrade from version 2.10.1 to 2.18.2. This is the command I tried to do ember update --from "2.10.1" --to...
Read more >npm errors. DEPRECATION: ember-cli-babel 5.x has been ...
I am using npm install . Now I get these deprecation errors (for some packages which I have as dependancies in package.json ):...
Read more >ember-moment/CHANGELOG.md - UNPKG
3, * @fenekku deprecated hideSuffix/hidePrefix in favor of hideAffix ... 14, * Setting locale now sets locale on global moment object.
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 FreeTop 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
Top GitHub Comments
btw, it appears from the polyfill code the conditional warning takes place for the addon during build time. The run-time warning is always happening: https://github.com/rwjblue/ember-getowner-polyfill/blob/master/addon/index.js
We are seeing this deprecation warning despite being on the latest Ember (2.12) and latest ember-concurrency (0.8.1). I’ve heard several times from several sources that the polyfill shouldn’t warn if you don’t need it, in reality I have never seen this happen. It always warns even if isn’t necessary.
Considering that 2.12 will be an LTS that means we are three LTS releases beyond when Owner was introduced. That’s a year and a half. If ember-concurrency is trying to maintain lock-step with Ember, I get that. If not then I would advocate for it to drop the polyfill.