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.7 (#13502)
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.6` → `26.4.7`](https://renovatebot.com/diffs/npm/i18next/26.4.6/26.4.7) |  |  | --- ### Release Notes <details> <summary>i18next/i18next (i18next)</summary> ### [`v26.4.7`](https://redirect.github.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2647) [Compare Source](https://redirect.github.com/i18next/i18next/compare/v26.4.6...v26.4.7) - perf: `cloneInstance()` no longer inherits `preload`. `loadResources()` adds every `preload` language to each load, and clones copied `preload` from the parent, so a clone's `init()` and every `changeLanguage()` walked all preloaded languages × all namespaces through `queueLoad()` / `hasResourceBundle()`, although the parent had already loaded them into the shared store. With i18next-http-middleware (one clone + `changeLanguage()` per request), 25 preloaded languages and 20 namespaces, that was most of the per-request CPU: the reproduction from the issue went from \~90 µs to \~10 µs per request, the same as with a single language. A clone now only loads what it uses itself: its `changeLanguage()` no longer waits for parent preload languages that are still loading (the parent's own `init()` still does), and `clone.loadNamespaces()` loads the new namespace for the clone's language and fallbacks instead of every preloaded language. `clone.loadLanguages()` works as before, the parent instance is unchanged, and passing `preload` to `cloneInstance()` keeps the old behavior. Thanks [@​theMostCuriousHomunculus](https://redirect.github.com/theMostCuriousHomunculus) for the detailed report ([#​2451](https://redirect.github.com/i18next/i18next/issues/2451)). </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
b7c99bc024
commit
3999636391
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.6",
|
||||
"i18next": "26.4.7",
|
||||
"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.6
|
||||
version: 26.4.6(@typescript/typescript6@6.0.2)
|
||||
specifier: 26.4.7
|
||||
version: 26.4.7(@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.18
|
||||
version: 17.0.18(@typescript/typescript6@6.0.2)(i18next@26.4.6(@typescript/typescript6@6.0.2))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)
|
||||
version: 17.0.18(@typescript/typescript6@6.0.2)(i18next@26.4.7(@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.6:
|
||||
resolution: {integrity: sha512-f/QHPNtH3XmBjL3sCRCrp5+jycwgV0W9fr1Vsy5msg1mR5grgaHc8eIbZhU7ASFwiGtF9PHVRQDqQ8Nf6iDTFA==}
|
||||
i18next@26.4.7:
|
||||
resolution: {integrity: sha512-p/3hqy6EcuqRs6wNwBYwGGC1fzBJSMxV9zMuN814ab/7QjdZbXfjXwuPZdQbngX6KDOTxM01uUiZyqmMB8ghZg==}
|
||||
peerDependencies:
|
||||
typescript: ^5 || ^6 || ^7
|
||||
peerDependenciesMeta:
|
||||
@@ -6515,7 +6515,7 @@ snapshots:
|
||||
|
||||
i18next-http-backend@4.0.3: {}
|
||||
|
||||
i18next@26.4.6(@typescript/typescript6@6.0.2):
|
||||
i18next@26.4.7(@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.18(@typescript/typescript6@6.0.2)(i18next@26.4.6(@typescript/typescript6@6.0.2))(react-dom@19.3.1(react@19.3.1))(react@19.3.1):
|
||||
react-i18next@17.0.18(@typescript/typescript6@6.0.2)(i18next@26.4.7(@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.6(@typescript/typescript6@6.0.2)
|
||||
i18next: 26.4.7(@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