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.

DEPRECATION: Use of `assign` has been deprecated. Please use `Object.assign` or the spread operator instead.

See original GitHub issue

Ember: 4.0.x Ember Fontawesome: 0.2.3

DEPRECATION: Use of assign has been deprecated. Please use Object.assign or the spread operator instead. [deprecation id: ember-polyfills.deprecate-assign] See https://deprecations.emberjs.com/v4.x/#toc_ember-polyfills-deprecate-assign for more details.

https://github.com/FortAwesome/ember-fontawesome/blob/8c0e215d92fac8fe7baa44bd4c208aa5e880b40c/addon/components/fa-icon.js#L4

https://github.com/FortAwesome/ember-fontawesome/blob/8c0e215d92fac8fe7baa44bd4c208aa5e880b40c/addon/components/fa-icon.js#L92

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:3
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
jrjohnsoncommented, Jan 20, 2022

0.3.0 is out now with this fix.

0reactions
jrjohnsoncommented, Jan 13, 2022

Yes. Hopefully the changes for embroider support will land very soon and we’ll get a release out with both. In the interim you can always silence deprecation warnings using ember-cli-deprecation-workflow.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Migrate to Object.assign for ember-4.0.0 compatibility #221
DEPRECATION : Use of `assign` has been deprecated. Please use `Object.assign` or the spread operator instead.
Read more >
Object spread vs. Object.assign - javascript - Stack Overflow
Assign Assign is somewhat the opposite to copy. Assign will generate a setter which assigns the value to the instance variable directly, rather...
Read more >
Deprecations Added in Ember 4.x
Use of Ember.assign is deprecated. You should replace any calls to Ember.assign with Object.assign or use the object spread operator. Before:
Read more >
Object.assign vs Object Spread in Node.js - The Code Barbarian
The Object spread operator {...obj} is similar to Object.assign() , so which one should you use? Turns out the answer is a bit...
Read more >
Deprecated and obsolete features - JavaScript - MDN Web Docs
This page lists features of JavaScript that are deprecated (that is, still available ... You should work to remove their use from your...
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