eversport / intl-codegen

generate code and type definitions from translations
MIT License
15 stars 1 forks source link

Update dependency intl-pluralrules to v2 #86

Open renovate[bot] opened 1 year ago

renovate[bot] commented 1 year ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
intl-pluralrules ^1.3.1 -> ^2.0.1 age adoption passing confidence

Release Notes

eemeli/intl-pluralrules (intl-pluralrules) ### [`v2.0.1`](https://redirect.github.com/eemeli/intl-pluralrules/releases/tag/v2.0.1) [Compare Source](https://redirect.github.com/eemeli/intl-pluralrules/compare/v2.0.0...v2.0.1) - Fix module resolution for react-native ([#​38](https://redirect.github.com/eemeli/intl-pluralrules/issues/38)) ### [`v2.0.0`](https://redirect.github.com/eemeli/intl-pluralrules/releases/tag/v2.0.0) [Compare Source](https://redirect.github.com/eemeli/intl-pluralrules/compare/v1.3.1...v2.0.0) This release adds support for [`Intl.PluralRules.prototype.selectRange()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/PluralRules/selectRange). The code is now tested against the relevant `test262` tests, and its behaviour is more aligned with the documented API. Browser tests are now run by the CI to ensure that the polyfill works in supported browsers (i.e. matching the Browserslist expression `> 0.25%, not dead`) #### Breaking Changes - The function exported from `'intl-pluralrules/factory'` gets a new required fourth argument, `getRangeSelector`. - The `'intl-pluralrules/pseudo-number-format'` endpoint is dropped ([#​30](https://redirect.github.com/eemeli/intl-pluralrules/issues/30)) - IE 11 support is dropped ([#​36](https://redirect.github.com/eemeli/intl-pluralrules/issues/36)) #### New Features - Add support for `selectRange()` ([#​23](https://redirect.github.com/eemeli/intl-pluralrules/issues/23)) #### Other Changes - Add tests & fixes for test262 compliance ([#​27](https://redirect.github.com/eemeli/intl-pluralrules/issues/27)) - Behave more normally for locale resolution ([#​28](https://redirect.github.com/eemeli/intl-pluralrules/issues/28)) - Switch from Jest to Mocha, add browser tests ([#​29](https://redirect.github.com/eemeli/intl-pluralrules/issues/29)) **Full Changelog**: https://github.com/eemeli/intl-pluralrules/compare/v1.3.1...v2.0.0

Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.