mirror of
https://github.com/maputnik/editor.git
synced 2026-03-18 16:20:01 +00:00
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<string | undefined></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 /> [](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>
4.9 KiB
4.9 KiB