Below is a screenshot of an Ember deprecation. It's from a brand new Ember 2.3.0 app with Ember Simple Auth
installed. I believe the depreciation comes from either Ember Simple Auth, or one of its dependencies because it's not there before installing this addon.
The depreciation is about using this.container
instead of getOwner(this)
, and was introduced in Ember 2.3.0. I've looked inside Ember Simple Auth and found a few instances of this. However, if I just fix them inside node_modules
, it doesn't get rid of the console log message (even if I restart the server manually).
I can see that the code in the Sources tab changes when I change the files inside node_modules
, so I'm not changing the wrong files like a crazy person. This leads me to believe that it must also be in one of Ember Simple Auth's dependencies.
The deprecation doesn't show up in Ember Inspector for some reason, so I can't just click the link to go to the source. I've tried hitting reload inside Ember Inspector just in case, but that's changed nothing.
I really want to track this down so I can get rid of the warning, and submit some pull requests to these projects.
What should I do to determine exactly what is causing this warning?