mirror of
https://github.com/authelia/authelia.git
synced 2026-10-28 09:34:52 +08:00
build(deps): update dependency react-i18next to v17.1.0 (#13525)
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [react-i18next](https://redirect.github.com/i18next/react-i18next) | [`17.0.21` → `17.1.0`](https://renovatebot.com/diffs/npm/react-i18next/17.0.21/17.1.0) |  |  | --- ### Release Notes <details> <summary>i18next/react-i18next (react-i18next)</summary> ### [`v17.1.0`](https://redirect.github.com/i18next/react-i18next/blob/HEAD/CHANGELOG.md#1710) [Compare Source](https://redirect.github.com/i18next/react-i18next/compare/v17.0.21...v17.1.0) - feat(types): with i18next's new `parseInterpolation: 'icu'` (or `'mf2'`) type option (i18next v26.5.0), the `values` of `IcuTrans` and `IcuTransWithoutContext` are typed from the message of `i18nKey`, like the options of `t()`: a misspelled argument, a value of the wrong type or a value meant for another key is a type error. `values` was `Record<string, any>` before, and still is with any other `parseInterpolation` setting. `values` stays optional, as on `Trans`. `useTranslation`'s `t` and `Trans` `values` get the checks from i18next's types without changes here. - fix(types): `IcuTrans` and `IcuTransWithoutContext` now infer the literal `i18nKey` (`const` type parameter, as `Trans` does), so props that depend on the key are checked against that key instead of all keys of the namespace. </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
e14db7d79c
commit
cba3340141
2 files changed
+6
-6
No files matched your search
+1
-1
@@ -21,7 +21,7 @@
|
||||
"qrcode.react": "4.2.0",
|
||||
"react": "19.3.1",
|
||||
"react-dom": "19.3.1",
|
||||
"react-i18next": "17.0.21",
|
||||
"react-i18next": "17.1.0",
|
||||
"react-router": "8.4.0",
|
||||
"zxcvbn": "4.4.2"
|
||||
},
|
||||
|
||||
Generated
+5
-5
@@ -59,8 +59,8 @@ importers:
|
||||
specifier: 19.3.1
|
||||
version: 19.3.1(react@19.3.1)
|
||||
react-i18next:
|
||||
specifier: 17.0.21
|
||||
version: 17.0.21(@typescript/typescript6@6.0.2)(i18next@26.5.2(@typescript/typescript6@6.0.2))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)
|
||||
specifier: 17.1.0
|
||||
version: 17.1.0(@typescript/typescript6@6.0.2)(i18next@26.5.2(@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)
|
||||
@@ -3365,8 +3365,8 @@ packages:
|
||||
peerDependencies:
|
||||
react: ^19.3.1
|
||||
|
||||
react-i18next@17.0.21:
|
||||
resolution: {integrity: sha512-bcOTaZQKsNb4KKIc+T6Dx1Cf0x3UTV5io8X1PyaC38oOeNEbU5CNkW+5QmOGEyDSEbK/QC2kLXOgL9zeCIxR3g==}
|
||||
react-i18next@17.1.0:
|
||||
resolution: {integrity: sha512-4VouOnTDyvhvqXx6WZ+s3/cgSiaLutILdYkO3P1Ms+4qcKR7At+JP4Vi7IeHkVLyVV+DmN1l23Pn73UcwSGGPA==}
|
||||
peerDependencies:
|
||||
i18next: '>= 26.2.0'
|
||||
react: '>= 16.8.0'
|
||||
@@ -7258,7 +7258,7 @@ snapshots:
|
||||
react: 19.3.1
|
||||
scheduler: 0.28.0
|
||||
|
||||
react-i18next@17.0.21(@typescript/typescript6@6.0.2)(i18next@26.5.2(@typescript/typescript6@6.0.2))(react-dom@19.3.1(react@19.3.1))(react@19.3.1):
|
||||
react-i18next@17.1.0(@typescript/typescript6@6.0.2)(i18next@26.5.2(@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
|
||||
|
||||
Reference in new issue
Block a user