seek-oss / vocab

Vocab is a strongly typed internationalization framework for React
MIT License
125 stars 7 forks source link

fix: @formatjs/intl-locale ^3.0.0 #210

Closed renovate[bot] closed 6 months ago

renovate[bot] commented 7 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@formatjs/intl-locale ^2.4.47 -> ^3.0.0 age adoption passing confidence

[!WARNING] Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

formatjs/formatjs (@​formatjs/intl-locale) ### [`v3.4.5`](https://togithub.com/formatjs/formatjs/releases/tag/%40formatjs/intl-pluralrules%403.4.5) [Compare Source](https://togithub.com/formatjs/formatjs/compare/@formatjs/intl-locale@3.4.4...@formatjs/intl-locale@3.4.5) **Note:** Version bump only for package [@​formatjs/intl-pluralrules](https://togithub.com/formatjs/intl-pluralrules) ### [`v3.4.4`](https://togithub.com/formatjs/formatjs/releases/tag/%40formatjs/intl-pluralrules%403.4.4) [Compare Source](https://togithub.com/formatjs/formatjs/compare/@formatjs/intl-locale@3.4.3...@formatjs/intl-locale@3.4.4) ##### Bug Fixes - **[@​formatjs/intl-pluralrules](https://togithub.com/formatjs/intl-pluralrules):** catch error thrown by IE11 around defining a `length` property on a Function ([#​2020](https://togithub.com/formatjs/formatjs/issues/2020)) ([8eb0be6](https://togithub.com/formatjs/formatjs/commit/8eb0be6b06f2f0950f1817e5aabb85604cefa66a)) ### [`v3.4.3`](https://togithub.com/formatjs/formatjs/releases/tag/%40formatjs/intl-locale%403.4.3) [Compare Source](https://togithub.com/formatjs/formatjs/compare/@formatjs/intl-locale@3.4.2...@formatjs/intl-locale@3.4.3) ##### Bug Fixes - **[@​formatjs/intl-durationformat](https://togithub.com/formatjs/intl-durationformat):** add polyfill detector + docs ([d6d237a](https://togithub.com/formatjs/formatjs/commit/d6d237a2ffca73d5e3824df17bf5ebf7e7b135a8)) - by @​ ### [`v3.4.2`](https://togithub.com/formatjs/formatjs/releases/tag/%40formatjs/intl-pluralrules%403.4.2) [Compare Source](https://togithub.com/formatjs/formatjs/compare/@formatjs/intl-locale@3.4.1...@formatjs/intl-locale@3.4.2) **Note:** Version bump only for package [@​formatjs/intl-pluralrules](https://togithub.com/formatjs/intl-pluralrules) ### [`v3.4.1`](https://togithub.com/formatjs/formatjs/compare/@formatjs/intl-locale@3.4.0...@formatjs/intl-locale@3.4.1) [Compare Source](https://togithub.com/formatjs/formatjs/compare/@formatjs/intl-locale@3.4.0...@formatjs/intl-locale@3.4.1) ### [`v3.4.0`](https://togithub.com/formatjs/formatjs/releases/tag/%40formatjs/intl-locale%403.4.0) [Compare Source](https://togithub.com/formatjs/formatjs/compare/@formatjs/intl-locale@3.3.4...@formatjs/intl-locale@3.4.0) ##### Features - **[@​formatjs/intl-datetimeformat](https://togithub.com/formatjs/intl-datetimeformat):** upgrade cldr to v43 ([fdca75f](https://togithub.com/formatjs/formatjs/commit/fdca75f5501817e171badf26dca809386bcfb19c)) - **[@​formatjs/intl-listformat](https://togithub.com/formatjs/intl-listformat):** upgrade cldr to v43 ([1208d64](https://togithub.com/formatjs/formatjs/commit/1208d64face37cc52abfce715ac4cfe7828da7ed)) - **[@​formatjs/intl-locale](https://togithub.com/formatjs/intl-locale):** update CLDR to v43 ([afcdc55](https://togithub.com/formatjs/formatjs/commit/afcdc55d81fe55ba357176cf2a50541ff2cb4723)) ### [`v3.3.4`](https://togithub.com/formatjs/formatjs/releases/tag/%40formatjs/intl-locale%403.3.4) [Compare Source](https://togithub.com/formatjs/formatjs/compare/@formatjs/intl-locale@3.3.3...@formatjs/intl-locale@3.3.4) **Note:** Version bump only for package [@​formatjs/intl-locale](https://togithub.com/formatjs/intl-locale) ### [`v3.3.3`](https://togithub.com/formatjs/formatjs/releases/tag/%40formatjs/intl-locale%403.3.3) [Compare Source](https://togithub.com/formatjs/formatjs/compare/@formatjs/intl-locale@3.3.2...@formatjs/intl-locale@3.3.3) ##### Bug Fixes - **[@​formatjs/intl-locale](https://togithub.com/formatjs/intl-locale):** migrate locale info getters to get methods ([#​4135](https://togithub.com/formatjs/formatjs/issues/4135)) ([d63e778](https://togithub.com/formatjs/formatjs/commit/d63e778d4900728d4b2f6710f11af683ed5c4bc7)) ### [`v3.3.2`](https://togithub.com/formatjs/formatjs/compare/v3.3.1...v3.3.2) [Compare Source](https://togithub.com/formatjs/formatjs/compare/@formatjs/intl-locale@3.3.1...@formatjs/intl-locale@3.3.2) ### [`v3.3.1`](https://togithub.com/formatjs/formatjs/compare/v3.3.0...v3.3.1) [Compare Source](https://togithub.com/formatjs/formatjs/compare/@formatjs/intl-locale@3.3.0...@formatjs/intl-locale@3.3.1) ### [`v3.3.0`](https://togithub.com/formatjs/formatjs/compare/v3.2.4...v3.3.0) [Compare Source](https://togithub.com/formatjs/formatjs/compare/@formatjs/intl-locale@3.2.1...@formatjs/intl-locale@3.3.0) ### [`v3.2.1`](https://togithub.com/formatjs/formatjs/releases/tag/v3.2.1) [Compare Source](https://togithub.com/formatjs/formatjs/compare/@formatjs/intl-locale@3.2.0...@formatjs/intl-locale@3.2.1) ##### Bug Fixes - upgrade intl-messageformat ([40aa758](https://togithub.com/formatjs/react-intl/commit/40aa758)) which has the fix for nested `HTML` subtag ### [`v3.2.0`](https://togithub.com/formatjs/formatjs/releases/tag/v3.2.0) [Compare Source](https://togithub.com/formatjs/formatjs/compare/@formatjs/intl-locale@3.1.1...@formatjs/intl-locale@3.2.0) ##### Bug Fixes - fix tests & add corresponding formatToParts fns ([855e272](https://togithub.com/formatjs/react-intl/commit/855e272)) ##### Features - extend numberformat to unified ([#​1462](https://togithub.com/formatjs/react-intl/issues/1462)) ([a7f2104](https://togithub.com/formatjs/react-intl/commit/a7f2104)) Currently this is part of [Unified NumberFormat](https://togithub.com/tc39/proposal-unified-intl-numberformat) which is stage 3. We've provided a polyfill [here](https://togithub.com/formatjs/formatjs/tree/master/packages/intl-unified-numberformat) and `react-intl` types allow users to pass in a [sanctioned unit](https://togithub.com/formatjs/formatjs/tree/master/packages/intl-unified-numberformat). For example: ```tsx ``` ```html 1,000kB ``` ```tsx ``` ```html 1,000 degrees Fahrenheit ``` - add support for formatToParts ([e8167f3](https://togithub.com/formatjs/react-intl/commit/e8167f3)) - introduce Parts component ([a1b5ff1](https://togithub.com/formatjs/react-intl/commit/a1b5ff1)), closes [#​1048](https://togithub.com/formatjs/react-intl/issues/1048) This component provides more customization to `FormattedNumber/Date/Time` by allowing children function to have access to underlying parts of the formatted date. The available parts are listed [here](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat/formatToParts) **Props:** ```ts props: NumberFormatOptions & { value: number, format: string, children: (parts: Intl.NumberFormatPart[]) => ReactElement, }; ``` **Example:** ```tsx {parts => ( <> {parts[0].value} {parts[1].value} {parts[2].value} )} ``` ```html 1,000 ``` ### [`v3.1.1`](https://togithub.com/formatjs/formatjs/releases/tag/v3.1.1) [Compare Source](https://togithub.com/formatjs/formatjs/compare/@formatjs/intl-locale@3.1.0...@formatjs/intl-locale@3.1.1) ##### Bug Fixes - only createIntl from filteredProps ([d665f31](https://togithub.com/yahoo/react-intl/commit/d665f31)) ### [`v3.1.0`](https://togithub.com/formatjs/formatjs/releases/tag/v3.1.0) [Compare Source](https://togithub.com/formatjs/formatjs/compare/@formatjs/intl-locale@3.0.11...@formatjs/intl-locale@3.1.0) ##### Bug Fixes - add "types" property to package.json ([#​1394](https://togithub.com/yahoo/react-intl/issues/1394)) ([a82ddd0](https://togithub.com/yahoo/react-intl/commit/a82ddd0)) - add createIntlCache to top level index, fixes [#​1393](https://togithub.com/yahoo/react-intl/issues/1393) ([19398d7](https://togithub.com/yahoo/react-intl/commit/19398d7)) ##### Features - generate .mjs instead of lib ([5fd070d](https://togithub.com/yahoo/react-intl/commit/5fd070d)) ### [`v3.0.11`](https://togithub.com/formatjs/formatjs/releases/tag/%40formatjs/intl-locale%403.0.11) [Compare Source](https://togithub.com/formatjs/formatjs/compare/@formatjs/intl-locale@3.0.10...@formatjs/intl-locale@3.0.11) **Note:** Version bump only for package [@​formatjs/intl-locale](https://togithub.com/formatjs/intl-locale) ### [`v3.0.10`](https://togithub.com/formatjs/formatjs/releases/tag/%40formatjs/intl-locale%403.0.10) [Compare Source](https://togithub.com/formatjs/formatjs/compare/@formatjs/intl-locale@3.0.8...@formatjs/intl-locale@3.0.10) **Note:** Version bump only for package [@​formatjs/intl-locale](https://togithub.com/formatjs/intl-locale) ### [`v3.0.8`](https://togithub.com/formatjs/formatjs/releases/tag/%40formatjs/intl-locale%403.0.8) [Compare Source](https://togithub.com/formatjs/formatjs/compare/@formatjs/intl-locale@3.0.7...@formatjs/intl-locale@3.0.8) **Note:** Version bump only for package [@​formatjs/intl-locale](https://togithub.com/formatjs/intl-locale) ### [`v3.0.7`](https://togithub.com/formatjs/formatjs/releases/tag/%40formatjs/intl-locale%403.0.7) [Compare Source](https://togithub.com/formatjs/formatjs/compare/@formatjs/intl-locale@3.0.6...@formatjs/intl-locale@3.0.7) **Note:** Version bump only for package [@​formatjs/intl-locale](https://togithub.com/formatjs/intl-locale) ### [`v3.0.6`](https://togithub.com/formatjs/formatjs/releases/tag/%40formatjs/intl-locale%403.0.6) [Compare Source](https://togithub.com/formatjs/formatjs/compare/@formatjs/intl-locale@3.0.5...@formatjs/intl-locale@3.0.6) **Note:** Version bump only for package [@​formatjs/intl-locale](https://togithub.com/formatjs/intl-locale) ### [`v3.0.5`](https://togithub.com/formatjs/formatjs/releases/tag/%40formatjs/intl-locale%403.0.5) [Compare Source](https://togithub.com/formatjs/formatjs/compare/@formatjs/intl-locale@3.0.4...@formatjs/intl-locale@3.0.5) **Note:** Version bump only for package [@​formatjs/intl-locale](https://togithub.com/formatjs/intl-locale) ### [`v3.0.4`](https://togithub.com/formatjs/formatjs/releases/tag/%40formatjs/intl-locale%403.0.4) [Compare Source](https://togithub.com/formatjs/formatjs/compare/@formatjs/intl-locale@3.0.3...@formatjs/intl-locale@3.0.4) **Note:** Version bump only for package [@​formatjs/intl-locale](https://togithub.com/formatjs/intl-locale) ### [`v3.0.3`](https://togithub.com/formatjs/formatjs/releases/tag/%40formatjs/intl-locale%403.0.3) [Compare Source](https://togithub.com/formatjs/formatjs/compare/@formatjs/intl-locale@3.0.2...@formatjs/intl-locale@3.0.3) **Note:** Version bump only for package [@​formatjs/intl-locale](https://togithub.com/formatjs/intl-locale) ### [`v3.0.2`](https://togithub.com/formatjs/formatjs/releases/tag/%40formatjs/intl-pluralrules%403.0.2) [Compare Source](https://togithub.com/formatjs/formatjs/compare/@formatjs/intl-locale@3.0.1...@formatjs/intl-locale@3.0.2) **Note:** Version bump only for package [@​formatjs/intl-pluralrules](https://togithub.com/formatjs/intl-pluralrules) ### [`v3.0.1`](https://togithub.com/formatjs/formatjs/releases/tag/%40formatjs/intl-pluralrules%403.0.1) [Compare Source](https://togithub.com/formatjs/formatjs/compare/@formatjs/intl-locale@2.4.47...@formatjs/intl-locale@3.0.1) **Note:** Version bump only for package [@​formatjs/intl-pluralrules](https://togithub.com/formatjs/intl-pluralrules)

Configuration

šŸ“… Schedule: Branch creation - "after 3:00 am and before 6:00 am on Monday and Friday" in timezone Australia/Melbourne, Automerge - At any time (no schedule defined).

šŸš¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.

ā™» Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

šŸ”• Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

changeset-bot[bot] commented 7 months ago

āš ļø No Changeset found

Latest commit: 80b81eb809092784c44a4dd1a5807b84bd955f66

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

renovate[bot] commented 6 months ago

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

āš  Warning: custom changes will be lost.

askoufis commented 6 months ago

I think this dep was accidentally left in by this PR. It's not used anywhere, so I've removed it.

Also un-skipped the only test that didn't work on CI. Node 16 has full-icu enabled by default, so it should just work on CI.

Updated the pnpm github action verison.

Finally, did a bit of cleanup of that test file. Just some whitespace adjustments.