chore(deps-dev): Bump i18next-cli from 1.95.7 to 1.96.1 (#2400)

Bumps [i18next-cli](https://github.com/i18next/i18next-cli) from 1.95.7
to 1.96.1.
<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.96.1</h2>
<ul>
<li>fix(lint): <code>checkInterpolationParams</code> no longer reports a
formatter option passed at the root of the t() options
(<code>{ defaultValue: 'Betrag: {{amount, currency}}', amount, currency
}</code>) as unused: with a formatted interpolation in
the string, i18next hands every option to the formatter. A regression in
1.96.0 for calls with a <code>defaultValue</code>
(<a
href="https://redirect.github.com/i18next/i18next-cli/issues/375">#375</a>)</li>
</ul>
<h2>1.96.0</h2>
<ul>
<li>fix(sync): empty plural forms a language needs beyond the primary's
(<code>_many</code> in French, <code>_few</code>/<code>_many</code> in
Russian)
are kept instead of removed, so <code>extract</code> and
<code>sync</code> no longer undo each other and <code>extract
--ci</code> passes after
<code>sync</code>. Thanks <a
href="https://github.com/mokshupadhyay"><code>@​mokshupadhyay</code></a>
(<a
href="https://redirect.github.com/i18next/i18next-cli/issues/356">#356</a>,
<a
href="https://redirect.github.com/i18next/i18next-cli/pull/359">#359</a>)</li>
<li>fix(types): a newly generated <code>i18next.d.ts</code> sets
<code>keySeparator</code>, <code>nsSeparator</code>,
<code>pluralSeparator</code>,
<code>contextSeparator</code>, <code>interpolationPrefix</code> and
<code>interpolationSuffix</code> in <code>CustomTypeOptions</code> when
<code>extract</code> sets them to
something other than i18next's defaults (<code>false</code> for a
disabled separator). Before, <code>t('common::title')</code> with
<code>nsSeparator: '::'</code> did not compile, and a flat key with a
<code>.</code> (<code>keySeparator: false</code>) or a
<code>{name}</code> placeholder lost
its value type and variable checks. An existing
<code>i18next.d.ts</code> is not rewritten. Thanks <a
href="https://github.com/mokshupadhyay"><code>@​mokshupadhyay</code></a>
(<a
href="https://redirect.github.com/i18next/i18next-cli/issues/357">#357</a>,
<a
href="https://redirect.github.com/i18next/i18next-cli/pull/358">#358</a>)</li>
<li>fix(lint): <code>checkInterpolationParams</code> reads params like
i18next: the keys of a literal <code>replace</code> are the variables
(keys next to it are unused), and a spread, a computed key or a
non-literal <code>replace</code> no longer reports a variable as
not provided. Thanks <a
href="https://github.com/mokshupadhyay"><code>@​mokshupadhyay</code></a>
(<a
href="https://redirect.github.com/i18next/i18next-cli/issues/360">#360</a>,
<a
href="https://redirect.github.com/i18next/i18next-cli/pull/362">#362</a>)</li>
<li>fix(lint): interpolation issues are reported on the line of their
own <code>t()</code> call, so an earlier call, string or
comment with the same key no longer takes the line, and
<code>i18next-instrument-ignore-next-line</code> applies to the right
call. Thanks <a
href="https://github.com/mokshupadhyay"><code>@​mokshupadhyay</code></a>
(<a
href="https://redirect.github.com/i18next/i18next-cli/issues/361">#361</a>,
<a
href="https://redirect.github.com/i18next/i18next-cli/pull/362">#362</a>)</li>
<li>fix(skill): the <code>i18next-localization</code> skill has the
agent add locize-agents' <code>CONVENTIONS.md</code> to the project's
<code>AGENTS.md</code> or <code>CLAUDE.md</code>; that repository no
longer has a <code>CLAUDE.md</code> or <code>AGENTS.md</code> to
copy.</li>
<li>fix(extract): a literal <code>format</code> in a
<code>&lt;Trans&gt;</code> interpolation object is written as
react-i18next builds it
(<code>{{ total, format: 'number' }}</code> gives <code>{{total,
number}}</code>, <code>{total, number}</code> with ICU, not
<code>{{total, format}}</code>), and a
child wrapped in <code>satisfies</code> is read like one wrapped in
<code>as</code>. The default value is now formatted, and a key without
<code>i18nKey</code> matches the one react-i18next looks up. Such keys
change on the next <code>extract</code>, and their old entries,
which never rendered, are removed. Thanks <a
href="https://github.com/mokshupadhyay"><code>@​mokshupadhyay</code></a>
(<a
href="https://redirect.github.com/i18next/i18next-cli/issues/363">#363</a>,
<a
href="https://redirect.github.com/i18next/i18next-cli/pull/365">#365</a>)</li>
<li>fix(status): <code>--namespace</code> scopes the exit code and the
summary to that namespace, like the locale argument since
1.64.2. A locale that is not configured, a namespace the code does not
use and a translation file that cannot be
parsed now exit 1 instead of 0, and the &quot;Incomplete translations
detected&quot; line prints again (lost since 1.80.6).
Thanks <a
href="https://github.com/mokshupadhyay"><code>@​mokshupadhyay</code></a>
(<a
href="https://redirect.github.com/i18next/i18next-cli/issues/364">#364</a>,
<a
href="https://redirect.github.com/i18next/i18next-cli/pull/366">#366</a>)</li>
<li>fix(migrate-config): an i18next-parser config's
<code>keepRemoved</code> (as <code>removeUnusedKeys: false</code>),
<code>pluralSeparator</code>
(<code>false</code> as <code>disablePlurals: true</code>),
<code>indentation</code>, key order (<code>sort: false</code> unless it
sorted) and the lexers'
functions, components and hooks (next to <code>t</code>,
<code>Trans</code> and <code>useTranslation</code>) are carried over,
and the options without
an equivalent get a warning, so the first <code>extract</code> after the
migration no longer deletes translations. Thanks
<a
href="https://github.com/mokshupadhyay"><code>@​mokshupadhyay</code></a>
(<a
href="https://redirect.github.com/i18next/i18next-cli/issues/367">#367</a>,
<a
href="https://redirect.github.com/i18next/i18next-cli/pull/368">#368</a>)</li>
<li>fix: <code>extract</code> with <code>removeUnusedKeys</code> no
longer slows down quadratically with the number of keys in the
plural-form
and <code>_zero</code> preserve passes: the extracted base keys are
looked up in a Set built once per namespace instead of being
scanned per existing key, and the written files are byte-identical
(10,000 <code>t()</code> calls: 24 s before, 0.6 s now).
Thanks <a href="https://github.com/ca057"><code>@​ca057</code></a> (<a
href="https://redirect.github.com/i18next/i18next-cli/issues/355">#355</a>,</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/i18next/i18next-cli/commit/3d762e02db7c78ec39a1d8fbe827943fb645fac1"><code>3d762e0</code></a>
1.96.1</li>
<li><a
href="https://github.com/i18next/i18next-cli/commit/673d25ea68cc2eb69bcad86a265446a8699e9a8f"><code>673d25e</code></a>
changelog for 1.96.1</li>
<li><a
href="https://github.com/i18next/i18next-cli/commit/6d4e43c0e18a9dc29e1825db1bccc7006e01d618"><code>6d4e43c</code></a>
fix(lint): don't report a root-level formatter option as unused (<a
href="https://redirect.github.com/i18next/i18next-cli/issues/375">#375</a>)</li>
<li><a
href="https://github.com/i18next/i18next-cli/commit/124ac45b9f4de887925708444f4543d55a472c52"><code>124ac45</code></a>
1.96.0</li>
<li><a
href="https://github.com/i18next/i18next-cli/commit/d6ddf86ecfb1f168186df73c6e1a3913255e8227"><code>d6ddf86</code></a>
changelog for 1.96.0</li>
<li><a
href="https://github.com/i18next/i18next-cli/commit/3ed58e93763fdba157e27232edd9839c0d77acc2"><code>3ed58e9</code></a>
changelog: <a
href="https://redirect.github.com/i18next/i18next-cli/issues/373">#373</a>
and <a
href="https://redirect.github.com/i18next/i18next-cli/issues/374">#374</a>
under Unreleased</li>
<li><a
href="https://github.com/i18next/i18next-cli/commit/29a53f9af1ae03d83cb61566f6294a11918321cb"><code>29a53f9</code></a>
fix(lint): check the default value, else the key, for an empty primary
value ...</li>
<li><a
href="https://github.com/i18next/i18next-cli/commit/8f9dfd310c1742da531ed0368c23d462c9f06916"><code>8f9dfd3</code></a>
fix(lint): don't require a nested $t() key's variables of the outer call
(<a
href="https://redirect.github.com/i18next/i18next-cli/issues/373">#373</a>)</li>
<li><a
href="https://github.com/i18next/i18next-cli/commit/86960e915fdbce11d750603d5c089c0caa631872"><code>86960e9</code></a>
changelog: <a
href="https://redirect.github.com/i18next/i18next-cli/issues/371">#371</a>
under Unreleased</li>
<li><a
href="https://github.com/i18next/i18next-cli/commit/0fb6381599f5864b1863dc48fd87066b015091ff"><code>0fb6381</code></a>
feat(lint): accept glob patterns in lint.acceptedAttributes and
lint.ignoredA...</li>
<li>Additional commits viewable in <a
href="https://github.com/i18next/i18next-cli/compare/v1.95.7...v1.96.1">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.95.7&new-version=1.96.1)](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] authored and GitHub committed 2026-12-04 13:55:01 +00:00
1 parent 683acde4f3
commit 94c701ee16
2 files changed
+5 -5

No files matched your search

+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.8",
"i18next-cli": "^1.95.7",
"i18next-cli": "^1.96.1",
"istanbul": "^0.4.5",
"istanbul-lib-coverage": "^3.2.2",
"nyc": "^18.0.0",
@@ -5874,9 +5874,9 @@
}
},
"node_modules/i18next-cli": {
"version": "1.95.7",
"resolved": "https://registry.npmjs.org/i18next-cli/-/i18next-cli-1.95.7.tgz",
"integrity": "sha512-B2NDKIWW5iuInFWAGLRNCwn5QMjmlF2l2ZDJNdJ+7caj0oWKv5Ajc8SImCzGl7WlRnbF7Md0RgoSPwvnQVpo2w==",
"version": "1.96.1",
"resolved": "https://registry.npmjs.org/i18next-cli/-/i18next-cli-1.96.1.tgz",
"integrity": "sha512-GTKFOhfEZHknHsvNuTcZ1VbIf9SvYaaOK1X5QQe2k1vqUhZA4ivPfC941k73hlhgL6wTkphDWA8HoW+YCNENMg==",
"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.8",
"i18next-cli": "^1.95.7",
"i18next-cli": "^1.96.1",
"istanbul": "^0.4.5",
"istanbul-lib-coverage": "^3.2.2",
"nyc": "^18.0.0",