Skip to content

Commit

Permalink
chore: bump up react-i18next version to v14 (#5375)
Browse files Browse the repository at this point in the history
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [react-i18next](https://togithub.com/i18next/react-i18next) | [`^13.3.0` -> `^14.0.0`](https://renovatebot.com/diffs/npm/react-i18next/13.5.0/14.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/react-i18next/14.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-i18next/14.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-i18next/13.5.0/14.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-i18next/13.5.0/14.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>i18next/react-i18next (react-i18next)</summary>

### [`v14.0.0`](https://togithub.com/i18next/react-i18next/blob/HEAD/CHANGELOG.md#1400)

[Compare Source](https://togithub.com/i18next/react-i18next/compare/v13.5.0...v14.0.0)

-   types: reportNamespaces is now optional, should fix [1693](https://togithub.com/i18next/react-i18next/issues/1693)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), 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.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjEwMy4xIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5In0=-->
  • Loading branch information
Brooooooklyn committed Dec 26, 2023
1 parent 8042140 commit cb4f6d3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/frontend/i18n/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
"dependencies": {
"i18next": "^23.5.1",
"react-i18next": "^13.3.0"
"react-i18next": "^14.0.0"
},
"devDependencies": {
"@types/prettier": "^3.0.0",
Expand Down
1 change: 0 additions & 1 deletion packages/frontend/i18n/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ const standardizeLocale = (language: string) => {
};

export const createI18n = (): I18nextProviderProps['i18n'] => {
// @ts-expect-error ts bug
const i18n: I18nextProviderProps['i18n'] = i18next.createInstance();
i18n
.use(initReactI18next)
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ __metadata:
"@types/prettier": "npm:^3.0.0"
i18next: "npm:^23.5.1"
prettier: "npm:^3.0.3"
react-i18next: "npm:^13.3.0"
react-i18next: "npm:^14.0.0"
ts-node: "npm:^10.9.1"
typescript: "npm:^5.2.2"
languageName: unknown
Expand Down Expand Up @@ -31682,9 +31682,9 @@ __metadata:
languageName: node
linkType: hard

"react-i18next@npm:^13.3.0":
version: 13.5.0
resolution: "react-i18next@npm:13.5.0"
"react-i18next@npm:^14.0.0":
version: 14.0.0
resolution: "react-i18next@npm:14.0.0"
dependencies:
"@babel/runtime": "npm:^7.22.5"
html-parse-stringify: "npm:^3.0.1"
Expand All @@ -31696,7 +31696,7 @@ __metadata:
optional: true
react-native:
optional: true
checksum: 903b486d112cd0aa40bdc3afaefd0c32b91c0a1e3e3561367c8d91ddc0fbad9945f1d630c3ddcd4764795fc00e0887252e2d337256a825caf3a86de038f6b2db
checksum: e445768c576c5993e723375c030071e720abacc830c1810acfcec5c27185cba95affb11c0f71bb551ce98d30f6723e179de7f771487b1a1a6a9077821c5ec1f9
languageName: node
linkType: hard

Expand Down

0 comments on commit cb4f6d3

Please sign in to comment.