ember-simple-auth icon indicating copy to clipboard operation
ember-simple-auth copied to clipboard

ember-polyfills.deprecate-assign deprication in Ember 4.4

Open usamahamed opened this issue 3 years ago • 1 comments

I am currently upgrading Ember version to 4.4 and now i get this depreciation with id ember-polyfills.deprecate-assign

Seems it comes from ember-simple-auth/addon/utils/assign.js

More info: https://deprecations.emberjs.com/v4.x/

versions ember-simple-auth: 4.2.2 ember-source and ember-cli: 4.4.0 npm: 16.14.0 node: 8.3.1

usamahamed avatar Jun 22 '22 12:06 usamahamed

In 4.2.0 we've released a fix for that which should use Object.assign instead of the polyfill when available.

Is the deprecation happening inside some older browser by any chance?

BobrImperator avatar Jul 22 '22 11:07 BobrImperator

@BobrImperator You're right, looks like it was because of this issue https://github.com/ember-cli/ember-fetch/issues/707

Sorry for my late reply, vacations time 😆

usamahamed avatar Aug 16 '22 09:08 usamahamed