Commit c867b98
authored
[ENG-4005][ENG-4006][ENG-4014] ember-source.deprecation-without-for/since and Fontawesome (#1652)
- Tickets:
- [ENG-4005]
- [ENG-4006]
- [ENG-4014]
## Purpose
Turn off some deprecation warning silencing and fix the related deprecations. The two major deprecation warnings are `ember-source.deprecation-without-for` and `ember-source.deprecation-without-since`, which affect other deprecation warnings from addons. The addons affected were ember-fontawesome and ember-composable-helpers, so I've fixed those deprecations while I was here.
This also fixes resolution of `@embroider/macros` to 1.0.0 because just about every addon we update wants to use a newer version of `ember-get-config` that updates `@embroider/macros` to a version that conflicts with engines. So far, fixing the resolution is working fine, so hopefully that trend will continue as we do more deprecation fixing.
## Summary of Changes
1. Turn on deprecation warnings for `ember-source.deprecation-without-for`, `ember-source.deprecation-without-since`, and `@fortawesome/ember-fontawesome.no-positional-params`
2. Fix problem icons
3. Use `includes` instead of `contains`
4. Upgrade Fontawesome
5. Fix resolution of `@embroider/macros` to 1.0.0 so it won't conflict with engines
6. Update caniuse-lite database
## Side Effects
The FontAwesome upgrade will cause improperly called icons to not display. All of the normal invocations have been caught, but if you look at [lib/registries/addon/components/registries-navbar/template.hbs](https://github.com/CenterForOpenScience/ember-osf-web/compare/develop...brianjgeiger:feature/ember-source.deprecation-without-for?expand=1#diff-0ce0e492c8262f290e43171d03065b878c2d088fc69a8ea6525fcf57f462a02f) you'll see someone was getting clever with their invocation of FaIcon which made it hard to find. Hopefully there aren't any more of those, but if there are, you'll see a warning in the JS Console that the icon with name of `null` couldn't be found.
## QA Notes
The biggest change was the icons, and hoooopefully Percy will pick up most of those.1 parent 1428cf8 commit c867b98
File tree
37 files changed
+126
-196
lines changed- app
- guid-node
- forks
- registrations
- guid-registration/forks
- institutions/index
- settings
- developer-apps
- -components/client-secret
- create
- edit
- tokens
- create
- edit
- config
- lib
- analytics-page/addon/application
- collections/addon/components/collection-search-result
- osf-components/addon/components
- bs-alert
- contributors/user-search/card
- copyable-text
- file-browser
- file-item
- folder-item
- institution-select-list
- join-osf-banner
- new-project-modal
- node-card
- node-icon
- registries
- schema-block-renderer/read-only/multi-select
- update-dropdown
- sort-button
- registries/addon
- components
- comment-card
- registries-discover-search/x-sidebar
- registries-header
- drafts/draft/metadata
37 files changed
+126
-196
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
| 133 | + | |
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
0 commit comments