mirror of
https://github.com/maputnik/editor.git
synced 2026-10-23 19:33:49 +00:00
chore(deps): Bump react-i18next from 17.0.21 to 17.1.0 in the react group (#2253)
Bumps the react group with 1 update: [react-i18next](https://github.com/i18next/react-i18next). Updates `react-i18next` from 17.0.21 to 17.1.0 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/i18next/react-i18next/blob/master/CHANGELOG.md">react-i18next's changelog</a>.</em></p> <blockquote> <h2>17.1.0</h2> <ul> <li>feat(types): with i18next's new <code>parseInterpolation: 'icu'</code> (or <code>'mf2'</code>) type option (i18next v26.5.0), the <code>values</code> of <code>IcuTrans</code> and <code>IcuTransWithoutContext</code> are typed from the message of <code>i18nKey</code>, like the options of <code>t()</code>: a misspelled argument, a value of the wrong type or a value meant for another key is a type error. <code>values</code> was <code>Record<string, any></code> before, and still is with any other <code>parseInterpolation</code> setting. <code>values</code> stays optional, as on <code>Trans</code>. <code>useTranslation</code>'s <code>t</code> and <code>Trans</code> <code>values</code> get the checks from i18next's types without changes here.</li> <li>fix(types): <code>IcuTrans</code> and <code>IcuTransWithoutContext</code> now infer the literal <code>i18nKey</code> (<code>const</code> type parameter, as <code>Trans</code> does), so props that depend on the key are checked against that key instead of all keys of the namespace.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/i18next/react-i18next/commit/d3b12369660975aa73e8c2648de5e7cfa4fcbc57"><code>d3b1236</code></a> 17.1.0</li> <li><a href="https://github.com/i18next/react-i18next/commit/efed87d91449ad3cfcbdfd0d9ec3b24ff19691fb"><code>efed87d</code></a> chore: i18next ^26.5.0 for the parseInterpolation 'icu' / 'mf2' type tests</li> <li><a href="https://github.com/i18next/react-i18next/commit/6300ae2e5860c00e34c8157ec4203c99204fefeb"><code>6300ae2</code></a> feat(types): IcuTrans values typed from the message under parseInterpolation ...</li> <li>See full diff in <a href="https://github.com/i18next/react-i18next/compare/v17.0.21...v17.1.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
Generated
+4
-4
@@ -55,7 +55,7 @@
|
||||
"react-collapse": "^5.1.1",
|
||||
"react-color": "^2.19.3",
|
||||
"react-dom": "^19.3.1",
|
||||
"react-i18next": "^17.0.21",
|
||||
"react-i18next": "^17.1.0",
|
||||
"react-icons": "^5.7.0",
|
||||
"react-markdown": "^10.1.0",
|
||||
"react-resizable-panels": "^4.14.5",
|
||||
@@ -10684,9 +10684,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/react-i18next": {
|
||||
"version": "17.0.21",
|
||||
"resolved": "https://registry.npmjs.org/react-i18next/-/react-i18next-17.0.21.tgz",
|
||||
"integrity": "sha512-bcOTaZQKsNb4KKIc+T6Dx1Cf0x3UTV5io8X1PyaC38oOeNEbU5CNkW+5QmOGEyDSEbK/QC2kLXOgL9zeCIxR3g==",
|
||||
"version": "17.1.0",
|
||||
"resolved": "https://registry.npmjs.org/react-i18next/-/react-i18next-17.1.0.tgz",
|
||||
"integrity": "sha512-4VouOnTDyvhvqXx6WZ+s3/cgSiaLutILdYkO3P1Ms+4qcKR7At+JP4Vi7IeHkVLyVV+DmN1l23Pn73UcwSGGPA==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.29.7",
|
||||
|
||||
+1
-1
@@ -73,7 +73,7 @@
|
||||
"react-collapse": "^5.1.1",
|
||||
"react-color": "^2.19.3",
|
||||
"react-dom": "^19.3.1",
|
||||
"react-i18next": "^17.0.21",
|
||||
"react-i18next": "^17.1.0",
|
||||
"react-icons": "^5.7.0",
|
||||
"react-markdown": "^10.1.0",
|
||||
"react-resizable-panels": "^4.14.5",
|
||||
|
||||
Reference in New Issue
Block a user