ember-fontawesome
ember-fontawesome copied to clipboard
`htmlSafe` From `@ember/string` Is Deprecated
Console deprecation warnings are now present with Ember-3.25 as htmlSafe
should actually be imported via @ember/template
.
Essentially replace: import { htmlSafe } from '@ember/string'
with import { htmlSafe } from '@ember/template'
import { htmlSafe } from '@ember/template';
seems to have been around since Ember 3.8. No action required in this addon's README. Thanks for maintaining!
Looks like this will still be a problem until this is resolved? 🤷♂️
https://github.com/emberjs/ember.js/issues/19393
Note from core team here: https://discuss.emberjs.com/t/fixing-htmlsafe-and-ishtmlsafe-deprecation/18639/2
Upgrading to Ember 3.25.2 should turn down that deprecation noise:
- https://github.com/emberjs/ember.js/releases/tag/v3.25.2
- https://github.com/emberjs/ember.js/pull/19396