You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: text/1003-deprecation-import-ember-from-ember.md
+13-10
Original file line number
Diff line number
Diff line change
@@ -170,16 +170,19 @@ Utility
170
170
171
171
|| API | Usage | Migration |
172
172
| - | --- | ----- | --------- |
173
-
- π `Ember.VERSION`
174
-
This has the ember version in it, but it could be converted to a virtual module to import from somewhere.
175
-
- π `Ember._Backburner`
176
-
- π `Ember.inject`
177
-
- π«£ `Ember.__loader`
178
-
- π«£ `Ember.__loader.require`
179
-
- π«£ `Ember.__loader.define`
180
-
- π«£ `Ember.__loader.registry`
181
-
- π `Ember.BOOTED`
182
-
- π `Ember.TEMPLATES`
173
+
|π |`Ember.VERSION`| EmberObserver: [Not many usages](https://emberobserver.com/code-search?codeQuery=Ember.VERSION&sort=updated&sortAscending=false). | This has the ember version in it, but it could be converted to a virtual module to import from somewhere, such as `@ember/version`|
|π |`Ember.inject`| EmberObserver: [Many, all using classic classes](https://emberobserver.com/code-search?codeQuery=Ember.inject&sort=updated&sortAscending=false). A lot of results are also classic-class docs. | Use [`@service`](https://api.emberjs.com/ember/5.6/functions/@ember%2Fservice/service)|
176
+
177
+
Any projects using these are already not safe for embroider and won't work with Vite
178
+
|| API | Usage | Migration |
179
+
| - | --- | ----- | --------- |
180
+
|π«£ |`Ember.__loader`| EmberObserver: [159 addons. Some experimental. Most from `@ascua`](https://emberobserver.com/code-search?codeQuery=Ember.__loader&sort=updated&sortAscending=false)| n/a |
181
+
| π«£ |`Ember.__loader.require`| EmberObserver: [same as `Ember.__loader`](https://emberobserver.com/code-search?codeQuery=Ember.__loader.require&sort=updated&sortAscending=false)| n/a |
182
+
| π«£ |`Ember.__loader.define`| EmberObserver: [5 addons, ~2 recent](https://emberobserver.com/code-search?codeQuery=Ember.__loader.define&sort=updated&sortAscending=false). One is `ember-cli-fastboot` (tests, test-support). | n/a |
183
+
|π«£ |`Ember.__loader.registry`| EmberObserver: [13 addons, ~5 recent](https://emberobserver.com/code-search?codeQuery=Ember.__loader.registry&sort=updated&sortAscending=false). One is `ember-cli-fastboot` (tests, test-support). | n/a |
0 commit comments