question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ember-getowner-polyfill is now deprecated

See original GitHub issue

DEPRECATION: 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:closed
  • Created 7 years ago
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
bcardarellacommented, Apr 19, 2017

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

1reaction
bcardarellacommented, Apr 19, 2017

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found