mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 05:14:54 +00:00
chore: bump up react-i18next version to v14 (#5375)
[](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) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](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=-->
This commit is contained in:
@@ -28,7 +28,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"i18next": "^23.5.1",
|
"i18next": "^23.5.1",
|
||||||
"react-i18next": "^13.3.0"
|
"react-i18next": "^14.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/prettier": "^3.0.0",
|
"@types/prettier": "^3.0.0",
|
||||||
|
|||||||
@@ -68,7 +68,6 @@ const standardizeLocale = (language: string) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export const createI18n = (): I18nextProviderProps['i18n'] => {
|
export const createI18n = (): I18nextProviderProps['i18n'] => {
|
||||||
// @ts-expect-error ts bug
|
|
||||||
const i18n: I18nextProviderProps['i18n'] = i18next.createInstance();
|
const i18n: I18nextProviderProps['i18n'] = i18next.createInstance();
|
||||||
i18n
|
i18n
|
||||||
.use(initReactI18next)
|
.use(initReactI18next)
|
||||||
|
|||||||
10
yarn.lock
10
yarn.lock
@@ -569,7 +569,7 @@ __metadata:
|
|||||||
"@types/prettier": "npm:^3.0.0"
|
"@types/prettier": "npm:^3.0.0"
|
||||||
i18next: "npm:^23.5.1"
|
i18next: "npm:^23.5.1"
|
||||||
prettier: "npm:^3.0.3"
|
prettier: "npm:^3.0.3"
|
||||||
react-i18next: "npm:^13.3.0"
|
react-i18next: "npm:^14.0.0"
|
||||||
ts-node: "npm:^10.9.1"
|
ts-node: "npm:^10.9.1"
|
||||||
typescript: "npm:^5.2.2"
|
typescript: "npm:^5.2.2"
|
||||||
languageName: unknown
|
languageName: unknown
|
||||||
@@ -31682,9 +31682,9 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"react-i18next@npm:^13.3.0":
|
"react-i18next@npm:^14.0.0":
|
||||||
version: 13.5.0
|
version: 14.0.0
|
||||||
resolution: "react-i18next@npm:13.5.0"
|
resolution: "react-i18next@npm:14.0.0"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@babel/runtime": "npm:^7.22.5"
|
"@babel/runtime": "npm:^7.22.5"
|
||||||
html-parse-stringify: "npm:^3.0.1"
|
html-parse-stringify: "npm:^3.0.1"
|
||||||
@@ -31696,7 +31696,7 @@ __metadata:
|
|||||||
optional: true
|
optional: true
|
||||||
react-native:
|
react-native:
|
||||||
optional: true
|
optional: true
|
||||||
checksum: 903b486d112cd0aa40bdc3afaefd0c32b91c0a1e3e3561367c8d91ddc0fbad9945f1d630c3ddcd4764795fc00e0887252e2d337256a825caf3a86de038f6b2db
|
checksum: e445768c576c5993e723375c030071e720abacc830c1810acfcec5c27185cba95affb11c0f71bb551ce98d30f6723e179de7f771487b1a1a6a9077821c5ec1f9
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user