Closed stasm closed 5 years ago
I have no good reason for the divergence any more, so yeah, ought to update the polyfill. Please remind me if I've not gotten to this within the next week or so?
Updated, and released as 1.0.0.
I went and also added support for min/max significant digits and improved the locale support detection when used as a polyfill.
Hi @eemeli, thank you for creating this polyfill!
Now that the
PluralRules
proposal has reached Stage 4, I wonder if the reasons for the diversion from the spec described in the README still hold?Even if
Intl.PluralRules
is now avaiable in Chrome, Firefox and Node.js 10+, your polyfill continues to useful in environments still running Node 8 (now in maintenance mode). The native v8 implementation also appears to be buggy wrt. consideringminimumFractionDigits
, which could make your polyfill viable even in modern Node and Chrome.Would you be open to updating the polyfill to match the spec?