chore(deps): Bump i18next from 27.2.2 to 27.2.3 (#2366)

Bumps [i18next](https://github.com/i18next/i18next) from 27.2.2 to
27.2.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/i18next/i18next/releases">i18next's
releases</a>.</em></p>
<blockquote>
<h2>v27.2.3</h2>
<ul>
<li>fix: a variable in the options of a nested <code>$t(key, {
&quot;name&quot;: &quot;{{name}}&quot; })</code> is escaped once. With
the default <code>escapeValue: true</code> it was escaped for HTML
before the options were parsed and again by the nested <code>t()</code>,
so <code>Tom &amp; Jerry</code> came out as <code>Tom &amp;amp;amp;
Jerry</code> (and react-i18next's <code>Trans</code> has shown <code>Tom
&amp;amp; Jerry</code> since 17.1.10, with <code>escapeValue:
false</code> too). These variables are now escaped for the options'
JSON, whatever <code>escapeValue</code> is, and the nested
<code>t()</code> escapes them like the values of a direct call;
<code>defaultValue</code> and <code>joinArrays</code> there, which it
does not interpolate, stay escaped once. A value with
<code>&quot;</code>, <code>'</code>, <code>\</code> or a line break no
longer breaks the options, with <code>escapeValue: false</code> a value
can no longer inject options such as <code>lng</code>, and with
<code>skipOnVariables</code> a <code>{{placeholder}}</code> inside a
value is no longer interpolated a second time. The warning added in
26.0.6 now covers <code>{{- var}}</code> in these options, the one form
still inserted unescaped, instead of <code>escapeValue:
false</code>.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/i18next/i18next/blob/master/CHANGELOG.md">i18next's
changelog</a>.</em></p>
<blockquote>
<h2>27.2.3</h2>
<ul>
<li>fix: a variable in the options of a nested <code>$t(key, {
&quot;name&quot;: &quot;{{name}}&quot; })</code> is escaped once. With
the default <code>escapeValue: true</code> it was escaped for HTML
before the options were parsed and again by the nested <code>t()</code>,
so <code>Tom &amp; Jerry</code> came out as <code>Tom &amp;amp;amp;
Jerry</code> (and react-i18next's <code>Trans</code> has shown <code>Tom
&amp;amp; Jerry</code> since 17.1.10, with <code>escapeValue:
false</code> too). These variables are now escaped for the options'
JSON, whatever <code>escapeValue</code> is, and the nested
<code>t()</code> escapes them like the values of a direct call;
<code>defaultValue</code> and <code>joinArrays</code> there, which it
does not interpolate, stay escaped once. A value with
<code>&quot;</code>, <code>'</code>, <code>\</code> or a line break no
longer breaks the options, with <code>escapeValue: false</code> a value
can no longer inject options such as <code>lng</code>, and with
<code>skipOnVariables</code> a <code>{{placeholder}}</code> inside a
value is no longer interpolated a second time. The warning added in
26.0.6 now covers <code>{{- var}}</code> in these options, the one form
still inserted unescaped, instead of <code>escapeValue:
false</code>.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/i18next/i18next/commit/2f3c6c2f666d1d153b23d4464f01528c4aa41478"><code>2f3c6c2</code></a>
27.2.3</li>
<li><a
href="https://github.com/i18next/i18next/commit/595b53ea278798948a246cd4c64e7458b628acc7"><code>595b53e</code></a>
changelog for 27.2.3</li>
<li><a
href="https://github.com/i18next/i18next/commit/bb66134a230c9a830609a5ae71a6e0f326343cef"><code>bb66134</code></a>
fix: escape a variable in $t() nesting options once</li>
<li>See full diff in <a
href="https://github.com/i18next/i18next/compare/v27.2.2...v27.2.3">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=i18next&package-manager=npm_and_yarn&previous-version=27.2.2&new-version=27.2.3)](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 this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</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:
dependabot[bot]
2026-11-25 13:54:24 +00:00
committed by GitHub
parent 1a2c3363ce
commit df58be0609
2 changed files with 37 additions and 5 deletions
+36 -4
View File
@@ -29,7 +29,7 @@
"downshift": "^9.5.0",
"events": "^3.3.0",
"file-saver": "^2.0.5",
"i18next": "^27.2.2",
"i18next": "^27.2.3",
"i18next-browser-languagedetector": "^8.3.1",
"i18next-resources-to-backend": "^1.3.0",
"json-stringify-pretty-compact": "^4.0.0",
@@ -5817,9 +5817,9 @@
}
},
"node_modules/i18next": {
"version": "27.2.2",
"resolved": "https://registry.npmjs.org/i18next/-/i18next-27.2.2.tgz",
"integrity": "sha512-1/AJgz/bpE/YL6tqekQlZAzDhkmrUBbgU8+Xon/Lwv6c5WdYuyFZ9mb86OVfR2C2XujUDT7Rz23Ydaq4l981lA==",
"version": "27.2.3",
"resolved": "https://registry.npmjs.org/i18next/-/i18next-27.2.3.tgz",
"integrity": "sha512-14wcQLAu5Aykwk4scBGl8tosKYth4S2PQDcusbES/bUsQ7X7DbcPygMzCe298U/NcAvDpqr+CX6oygbQoyLBRA==",
"funding": [
{
"type": "individual",
@@ -5893,6 +5893,38 @@
"node": ">=22"
}
},
"node_modules/i18next-cli/node_modules/i18next": {
"version": "27.2.2",
"resolved": "https://registry.npmjs.org/i18next/-/i18next-27.2.2.tgz",
"integrity": "sha512-1/AJgz/bpE/YL6tqekQlZAzDhkmrUBbgU8+Xon/Lwv6c5WdYuyFZ9mb86OVfR2C2XujUDT7Rz23Ydaq4l981lA==",
"dev": true,
"funding": [
{
"type": "individual",
"url": "https://www.locize.com/i18next"
},
{
"type": "individual",
"url": "https://www.i18next.com/how-to/faq#i18next-is-awesome.-how-can-i-support-the-project"
},
{
"type": "individual",
"url": "https://www.locize.com"
}
],
"license": "MIT",
"engines": {
"node": ">=22"
},
"peerDependencies": {
"typescript": "^5 || ^6 || ^7"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
}
}
},
"node_modules/i18next-cli/node_modules/minimatch": {
"version": "11.0.9",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-11.0.9.tgz",
+1 -1
View File
@@ -46,7 +46,7 @@
"downshift": "^9.5.0",
"events": "^3.3.0",
"file-saver": "^2.0.5",
"i18next": "^27.2.2",
"i18next": "^27.2.3",
"i18next-browser-languagedetector": "^8.3.1",
"i18next-resources-to-backend": "^1.3.0",
"json-stringify-pretty-compact": "^4.0.0",