vue-i18n icon indicating copy to clipboard operation
vue-i18n copied to clipboard

Use different polyfill

Open SinBirb opened this issue 4 years ago • 1 comments

Hi. Thank you for your great plugin!

Recently there has been an addition to ECMA402 to support units in NumberFormat (related: https://github.com/kazupon/vue-i18n/pull/751).

If I understand it correctly, the polyfill library, that's used by vue-i18n, doesn't support this addition and is unmaintained, the last version was published 4 years ago.

In practice that means that there will be an error thrown to the user in the latest Firefox 76 if the unit property is used (Firefox Bug). This will only change in Firefox 78!

Can you please switch to a different polyfill that supports style: "unit", for example https://formatjs.io/docs/polyfills/intl-numberformat ?

SinBirb avatar May 18 '20 16:05 SinBirb

Any update on this?

HZooly avatar Oct 19 '23 14:10 HZooly