chore(deps-dev): Bump i18next-cli from 1.49.4 to 1.50.1 (#1709)

Bumps [i18next-cli](https://github.com/i18next/i18next-cli) from 1.49.4
to 1.50.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><a
href="https://github.com/i18next/i18next-cli/compare/v1.50.0...v1.50.1">1.50.1</a>
- 2026-03-13</h2>
<ul>
<li>Improve Non-JS/TS file support via <code>onLoad</code> plugin hook
(<a
href="https://redirect.github.com/i18next/i18next-cli/issues/217">#217</a>)
<ul>
<li>A warning is emitted when a non-native extension is explicitly
listed in the input glob patterns (e.g.
<code>src/**/*.{ts,svelte}</code>) but no plugin handled it, this helps
catch forgotten or misconfigured plugins early</li>
</ul>
</li>
</ul>
<h2><a
href="https://github.com/i18next/i18next-cli/compare/v1.49.7...v1.50.0">1.50.0</a>
- 2026-03-13</h2>
<h3>Added</h3>
<ul>
<li>Non-JS/TS file support via <code>onLoad</code> plugin hook (<a
href="https://redirect.github.com/i18next/i18next-cli/issues/217">#217</a>)
<ul>
<li>Plugins can now return transformed JS/TS code from
<code>onLoad</code> for any file type (e.g. <code>.svelte</code>,
<code>.vue</code>), and the extractor will parse it correctly using TSX
syntax</li>
<li>Files with unsupported extensions that no plugin handles are now
silently skipped instead of throwing an <code>ExtractorError</code></li>
<li>The <code>onLoad</code> return type now explicitly allows
<code>undefined</code> (pass-through) in addition to
<code>string</code>, matching the documented behaviour</li>
</ul>
</li>
</ul>
<h3>Fixed</h3>
<ul>
<li><code>Plugin.onLoad</code> TypeScript signature corrected to
<code>MaybePromise&lt;string | undefined&gt;</code> — returning
<code>undefined</code> to opt out of transformation was always the
intended pattern but the type incorrectly disallowed it</li>
</ul>
<h2><a
href="https://github.com/i18next/i18next-cli/compare/v1.49.6...v1.49.7">1.49.7</a>
- 2026-03-12</h2>
<ul>
<li>fix: sync and extract --ci produce inconsistent plural key ordering
in JSON locale files <a
href="https://redirect.github.com/i18next/i18next-cli/issues/216">#216</a></li>
</ul>
<h2><a
href="https://github.com/i18next/i18next-cli/compare/v1.49.5...v1.49.6">1.49.6</a>
- 2026-03-10</h2>
<ul>
<li>fix: sync clears locale-specific plural forms like _many in
secondary locales, causing status to report missing translations <a
href="https://redirect.github.com/i18next/i18next-cli/issues/215">#215</a></li>
</ul>
<h2><a
href="https://github.com/i18next/i18next-cli/compare/v1.49.4...v1.49.5">1.49.5</a>
- 2026-03-10</h2>
<ul>
<li>updated dependencies</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="f73d5883a5"><code>f73d588</code></a>
1.50.1</li>
<li><a
href="31fea642c6"><code>31fea64</code></a>
A warning is emitted when a non-native extension is explicitly listed in
the ...</li>
<li><a
href="18f7fd5241"><code>18f7fd5</code></a>
1.50.0</li>
<li><a
href="71f66a939b"><code>71f66a9</code></a>
try to address <a
href="https://redirect.github.com/i18next/i18next-cli/issues/217">#217</a></li>
<li><a
href="6d5688312e"><code>6d56883</code></a>
1.49.7</li>
<li><a
href="6ad888c097"><code>6ad888c</code></a>
fix: sync and extract --ci produce inconsistent plural key ordering in
JSON l...</li>
<li><a
href="7ac177c3bb"><code>7ac177c</code></a>
fix test for windows</li>
<li><a
href="54f8f93fd6"><code>54f8f93</code></a>
1.49.6</li>
<li><a
href="06f4de0fb8"><code>06f4de0</code></a>
fix: sync clears locale-specific plural forms like _many in secondary
locales...</li>
<li><a
href="eb2b6679f3"><code>eb2b667</code></a>
1.49.5</li>
<li>Additional commits viewable in <a
href="https://github.com/i18next/i18next-cli/compare/v1.49.4...v1.50.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.49.4&new-version=1.50.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]
2026-03-16 14:03:44 +00:00
committed by GitHub
parent ed51a7f835
commit d137106185
2 changed files with 25 additions and 25 deletions

48
package-lock.json generated
View File

@@ -100,7 +100,7 @@
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-refresh": "^0.5.2",
"i18next-cli": "^1.49.4",
"i18next-cli": "^1.50.1",
"istanbul": "^0.4.5",
"istanbul-lib-coverage": "^3.2.2",
"postcss": "^8.5.8",
@@ -8288,28 +8288,28 @@
}
},
"node_modules/i18next-cli": {
"version": "1.49.4",
"resolved": "https://registry.npmjs.org/i18next-cli/-/i18next-cli-1.49.4.tgz",
"integrity": "sha512-ts/5iEO7/j30kzw+G0jpwpZ/0ChaggZt2ASQVJPizIrG8pjGh/StnQULfPPn0dWwOpCmEi9DQYm/WwrCJkoRRQ==",
"version": "1.50.1",
"resolved": "https://registry.npmjs.org/i18next-cli/-/i18next-cli-1.50.1.tgz",
"integrity": "sha512-Gz+/ZHGqTlKBWJ3zyBwtd+yRZLqJR06WuGSHJUpAsRIrsTa1/AJZD77wZTRLZh2B5w6gnMVsXN8jrNjVvNLvkw==",
"dev": true,
"license": "MIT",
"dependencies": {
"@croct/json5-parser": "0.2.2",
"@swc/core": "1.15.18",
"chokidar": "5.0.0",
"commander": "14.0.3",
"execa": "9.6.1",
"glob": "13.0.6",
"i18next-resources-for-ts": "2.0.0",
"inquirer": "13.3.0",
"jiti": "2.6.1",
"jsonc-parser": "3.3.1",
"magic-string": "0.30.21",
"minimatch": "10.2.4",
"ora": "9.3.0",
"@croct/json5-parser": "^0.2.2",
"@swc/core": "^1.15.18",
"chokidar": "^5.0.0",
"commander": "^14.0.3",
"execa": "^9.6.1",
"glob": "^13.0.6",
"i18next-resources-for-ts": "^2.0.1",
"inquirer": "^13.3.0",
"jiti": "^2.6.1",
"jsonc-parser": "^3.3.1",
"magic-string": "^0.30.21",
"minimatch": "^10.2.4",
"ora": "^9.3.0",
"react": "^19.2.4",
"react-i18next": "^16.5.5",
"yaml": "2.8.2"
"react-i18next": "^16.5.6",
"yaml": "^2.8.2"
},
"bin": {
"i18next-cli": "dist/esm/cli.js"
@@ -8608,14 +8608,14 @@
}
},
"node_modules/i18next-resources-for-ts": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/i18next-resources-for-ts/-/i18next-resources-for-ts-2.0.0.tgz",
"integrity": "sha512-RvATolbJlxrwpZh2+R7ZcNtg0ewmXFFx6rdu9i2bUEBvn6ThgA82rxDe3rJQa3hFS0SopX0qPaABqVDN3TUVpw==",
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/i18next-resources-for-ts/-/i18next-resources-for-ts-2.0.2.tgz",
"integrity": "sha512-BGPebhvjrvU+pgKNsIzb3cxl6/8LJw1pxNkIlUpnxCC4SXjbIwXeHuNxFnOkTAryRfMqYf81lPjYD2gngDyOfQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.28.4",
"@swc/core": "^1.15.3",
"@babel/runtime": "^7.28.6",
"@swc/core": "^1.15.18",
"chokidar": "^5.0.0",
"yaml": "^2.8.2"
},

View File

@@ -134,7 +134,7 @@
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-refresh": "^0.5.2",
"i18next-cli": "^1.49.4",
"i18next-cli": "^1.50.1",
"istanbul": "^0.4.5",
"istanbul-lib-coverage": "^3.2.2",
"postcss": "^8.5.8",