mirror of
https://github.com/authelia/authelia.git
synced 2026-10-28 09:34:52 +08:00
build(deps): update dependency i18next to v26.4.5 (#13470)
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [i18next](https://www.i18next.com) ([source](https://redirect.github.com/i18next/i18next)) | [`26.4.4` → `26.4.5`](https://renovatebot.com/diffs/npm/i18next/26.4.4/26.4.5) |  |  | --- ### Release Notes <details> <summary>i18next/i18next (i18next)</summary> ### [`v26.4.5`](https://redirect.github.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2645) [Compare Source](https://redirect.github.com/i18next/i18next/compare/v26.4.4...v26.4.5) - fix: `hasLoadedNamespace(ns, { lng })` no longer stays `false` forever when the passed in `lng` is loaded under another code, or not at all. It checked the load state of the raw `lng`, but `loadLanguages()` stores a language under its resolved code (`de-ch` → `de-CH`, `de-CH` → `de` with `load: 'languageOnly'`) and skips a `lng` outside `supportedLngs` entirely (only the fallback gets loaded), so that state never got set. react-i18next's `useTranslation(ns, { lng })` then never became ready: with `useSuspense` it kept throwing an already resolved promise and React retried forever (100% CPU, SSR never finished), without it the load effect re-rendered in a loop. It now checks the code the language is actually loaded under, and for a `lng` outside `supportedLngs` only waits for the fallback, which is also what `t()` resolves to. Calls without `lng` and the `precheck` (react-i18next's `bindI18n: 'languageChanging'`) are unchanged ([react-i18next#1934](https://redirect.github.com/i18next/react-i18next/issues/1934)). </details> --- ### Configuration 📅 **Schedule**: (UTC) - 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 was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/authelia/authelia). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xNjQuMSIsInVwZGF0ZWRJblZlciI6IjQ0LjE2NC4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyIsImphdmFzY3JpcHQiXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
19e031d8f1
commit
509237c937
2 files changed
+9
-9
No files matched your search
+1
-1
@@ -14,7 +14,7 @@
|
||||
"broadcast-channel": "7.4.0",
|
||||
"class-variance-authority": "0.7.1",
|
||||
"cn": "0.4.0",
|
||||
"i18next": "26.4.4",
|
||||
"i18next": "26.4.5",
|
||||
"i18next-browser-languagedetector": "8.2.1",
|
||||
"i18next-http-backend": "4.0.3",
|
||||
"lucide-react": "1.57.0",
|
||||
|
||||
Generated
+8
-8
@@ -38,8 +38,8 @@ importers:
|
||||
specifier: 0.4.0
|
||||
version: 0.4.0
|
||||
i18next:
|
||||
specifier: 26.4.4
|
||||
version: 26.4.4(@typescript/typescript6@6.0.2)
|
||||
specifier: 26.4.5
|
||||
version: 26.4.5(@typescript/typescript6@6.0.2)
|
||||
i18next-browser-languagedetector:
|
||||
specifier: 8.2.1
|
||||
version: 8.2.1
|
||||
@@ -60,7 +60,7 @@ importers:
|
||||
version: 19.3.1(react@19.3.1)
|
||||
react-i18next:
|
||||
specifier: 17.0.16
|
||||
version: 17.0.16(@typescript/typescript6@6.0.2)(i18next@26.4.4(@typescript/typescript6@6.0.2))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)
|
||||
version: 17.0.16(@typescript/typescript6@6.0.2)(i18next@26.4.5(@typescript/typescript6@6.0.2))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)
|
||||
react-router:
|
||||
specifier: 8.4.0
|
||||
version: 8.4.0(react-dom@19.3.1(react@19.3.1))(react@19.3.1)
|
||||
@@ -2533,8 +2533,8 @@ packages:
|
||||
resolution: {integrity: sha512-B5GJysCsJwqiDQRpUcikWsut82Vmekix58WIyiCpYtxaZ/wY8kwJCicMRvVcMoIa1x84siiRl5vBt6iCBVO6zg==}
|
||||
engines: {node: '>=18'}
|
||||
|
||||
i18next@26.4.4:
|
||||
resolution: {integrity: sha512-O+rqmQUi54OwAgnZ4SAwO6aRrbXZt36VZXWt6zvq0FpC3vJbH46oQRs6u4Uwm1vf8ZI7UqOXQiJhQVTor7vRiQ==}
|
||||
i18next@26.4.5:
|
||||
resolution: {integrity: sha512-CY9xqbWNQ+eLGDhFX3eNl1kDO1amJixszVKjC4Nd0tvfxUFLKqarN0VUHRt+2b88U7bkNIhnL84dRKQ5mFI+fg==}
|
||||
peerDependencies:
|
||||
typescript: ^5 || ^6 || ^7
|
||||
peerDependenciesMeta:
|
||||
@@ -6515,7 +6515,7 @@ snapshots:
|
||||
|
||||
i18next-http-backend@4.0.3: {}
|
||||
|
||||
i18next@26.4.4(@typescript/typescript6@6.0.2):
|
||||
i18next@26.4.5(@typescript/typescript6@6.0.2):
|
||||
optionalDependencies:
|
||||
typescript: '@typescript/typescript6@6.0.2'
|
||||
|
||||
@@ -7258,11 +7258,11 @@ snapshots:
|
||||
react: 19.3.1
|
||||
scheduler: 0.28.0
|
||||
|
||||
react-i18next@17.0.16(@typescript/typescript6@6.0.2)(i18next@26.4.4(@typescript/typescript6@6.0.2))(react-dom@19.3.1(react@19.3.1))(react@19.3.1):
|
||||
react-i18next@17.0.16(@typescript/typescript6@6.0.2)(i18next@26.4.5(@typescript/typescript6@6.0.2))(react-dom@19.3.1(react@19.3.1))(react@19.3.1):
|
||||
dependencies:
|
||||
'@babel/runtime': 7.29.7
|
||||
html-parse-stringify: 4.0.1
|
||||
i18next: 26.4.4(@typescript/typescript6@6.0.2)
|
||||
i18next: 26.4.5(@typescript/typescript6@6.0.2)
|
||||
react: 19.3.1
|
||||
use-sync-external-store: 1.7.0(react@19.3.1)
|
||||
optionalDependencies:
|
||||
|
||||
Reference in new issue
Block a user