chore(deps-dev): Bump i18next-cli from 1.87.0 to 1.88.0 (#2334)

Bumps [i18next-cli](https://github.com/i18next/i18next-cli) from 1.87.0
to 1.88.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/i18next/i18next-cli/blob/main/CHANGELOG.md">i18next-cli's
changelog</a>.</em></p>
<blockquote>
<h2>1.88.0</h2>
<ul>
<li>feat(lint, instrument): <code>acceptedAttributes</code> also takes
an object that sets the translatable attributes
per JSX element, e.g. <code>{ '*': ['!label'], Button: ['label'],
'Select.Option': ['hint'] }</code>: a name adds
an attribute to the recommended list, <code>!name</code> removes it,
<code>'*'</code> applies first. The same prop name can
mean different things on different components (<code>label</code> is a
button's text but a chart axis's data
key). Set in <code>extract</code>, the rules apply to <code>lint</code>
and now also to <code>instrument</code>; the array form is
unchanged. See &quot;Translatable attributes per element&quot; in the
README.</li>
<li>fix(extract): when a <code>t()</code> or <code>&lt;Trans&gt;</code>
key appears more than once, a default given in source
(<code>t('key', 'Text')</code>, <code>defaults=&quot;...&quot;</code>)
now wins over <code>&lt;Trans&gt;</code> children, and both win over a
fallback
built from the key, whatever the order of files and calls; an empty
default (<code>''</code>) beats only the
key fallback, never text. An empty <code>&lt;Trans
i18nKey=&quot;ns:key&quot; /&gt;</code> no longer blocks the text of a
later
<code>&lt;Trans&gt;</code>. A default equal to the key now counts as a
source default: <code>t('key', 'key')</code> keeps its
value next to <code>t('key', 'Text')</code> (the first one wins), and
<code>warnOnConflicts</code> flags the pair.
<code>warnOnConflicts</code> no longer flags a plural key without a
default. Plugins get where a default came
from in the new optional <code>ExtractedKey.defaultValueSource</code>.
(<a
href="https://redirect.github.com/i18next/i18next-cli/pull/329">#329</a>,
thanks <a
href="https://github.com/skoeva"><code>@​skoeva</code></a>).</li>
<li>fix(extract): the primary language gets what i18next 27 and
react-i18next 18 render for an empty
default. <code>t('key', '')</code> and <code>t('key', { defaultValue: ''
})</code> write <code>&quot;&quot;</code> instead of the key, since
i18next 27 returns <code>''</code> for them (plural forms included).
<code>&lt;Trans defaults=&quot;&quot;&gt;</code> still writes its
children or the key, which is what react-i18next falls back to.</li>
<li>docs: the Quick Start has a copyable one-prompt setup for coding
agents
(<code>npx i18next-cli localize --print-agent-prompt</code>).</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/i18next/i18next-cli/commit/0b15991a87d37493c5fa44201bbe72a4e8524646"><code>0b15991</code></a>
1.88.0</li>
<li><a
href="https://github.com/i18next/i18next-cli/commit/ba2870973bbd78c495af1c84d6bba215a3601f01"><code>ba28709</code></a>
fix(extract): follow i18next 27 and react-i18next 18 for empty and
dynamic Tr...</li>
<li><a
href="https://github.com/i18next/i18next-cli/commit/d496449daf98d1956f67fecb8a7c29cf22238b67"><code>d496449</code></a>
docs: copyable one-prompt agent setup in the Quick Start; list where the
prom...</li>
<li><a
href="https://github.com/i18next/i18next-cli/commit/2451085b5b3ba902c4639772397cb8fa64c09b93"><code>2451085</code></a>
fix(extract): preserve source defaults during deduplication (<a
href="https://redirect.github.com/i18next/i18next-cli/issues/329">#329</a>)</li>
<li><a
href="https://github.com/i18next/i18next-cli/commit/f797b6a7d948ffbf45d60a8d954ae4f22d1dfdf3"><code>f797b6a</code></a>
feat(lint, instrument): set translatable attributes per JSX element</li>
<li><a
href="https://github.com/i18next/i18next-cli/commit/992d2666fea11b5ff08fe63a5e9fcb6cac80b19f"><code>992d266</code></a>
docs: the status comment on optional plural forms describes the
runtime's _ot...</li>
<li>See full diff in <a
href="https://github.com/i18next/i18next-cli/compare/v1.87.0...v1.88.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=i18next-cli&package-manager=npm_and_yarn&previous-version=1.87.0&new-version=1.88.0)](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-17 13:53:07 +00:00
committed by GitHub
parent 94be8094da
commit 9eb30deda0
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -96,7 +96,7 @@
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react-refresh": "^0.5.7",
"i18next-cli": "^1.87.0",
"i18next-cli": "^1.88.0",
"istanbul": "^0.4.5",
"istanbul-lib-coverage": "^3.2.2",
"nyc": "^18.0.0",
@@ -5849,9 +5849,9 @@
}
},
"node_modules/i18next-cli": {
"version": "1.87.0",
"resolved": "https://registry.npmjs.org/i18next-cli/-/i18next-cli-1.87.0.tgz",
"integrity": "sha512-Qa8jZdaB1zv1nCiLG+aULPfw/SbVEzoKFspFyRq/f0a5kdDqSChT72vLHlHOoMeQBviM32GgRZK8I4yHIWqcmw==",
"version": "1.88.0",
"resolved": "https://registry.npmjs.org/i18next-cli/-/i18next-cli-1.88.0.tgz",
"integrity": "sha512-+2vM5VEWXkPqCocOQTPNp8VQfxmcHOF2RTvlp3u8E/rpNdTtXL4jbWKAIYEG/zdBGz/ljzCTJ89iOFpBJoeYWw==",
"dev": true,
"license": "MIT",
"dependencies": {
+1 -1
View File
@@ -130,7 +130,7 @@
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react-refresh": "^0.5.7",
"i18next-cli": "^1.87.0",
"i18next-cli": "^1.88.0",
"istanbul": "^0.4.5",
"istanbul-lib-coverage": "^3.2.2",
"nyc": "^18.0.0",