mirror of
https://github.com/maputnik/editor.git
synced 2026-11-11 04:33:45 +00:00
chore(deps-dev): Bump i18next-cli from 1.85.1 to 1.87.0 (#2312)
Bumps [i18next-cli](https://github.com/i18next/i18next-cli) from 1.85.1 to 1.87.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.87.0</h2> <ul> <li>chore: depends on i18next 27 and react-i18next 18 (<code>^27.0.0</code>, <code>^18.0.0</code>). The cli loads react-i18next only to build <code><Trans></code> keys with its <code>nodesToString</code>, whose output is the same in 18, so extracted keys do not change. Projects on i18next 26 or react-i18next 17 keep working: npm installs the cli's own copies next to theirs.</li> <li>fix(instrument): the generated i18next init file for i18next-fs-backend sets <code>initAsync: false</code> instead of <code>initImmediate: false</code>, an option i18next 26 removed, so it was ignored.</li> <li>fix(instrument): the comment on <code>returnEmptyString: false</code> in the generated init file said the opposite of what the option does. It now says that an empty translation falls back, which is the default since i18next 27.</li> </ul> <h2>1.86.0</h2> <ul> <li>feat: new <code>extract.omitMissingKeys</code> (<code>true</code> or a list of languages): <code>extract</code> and <code>sync</code> leave keys that are missing in those secondary languages out of their files instead of writing <code>defaultValue</code> (<code>""</code>), so i18next falls back to <code>fallbackLng</code> at runtime, also where <code>returnEmptyString: false</code> can't be set or translators treat an empty string as done. Existing translations stay, unused keys are still removed, and <code>status</code> still counts the omitted keys as missing. (<a href="https://redirect.github.com/i18next/i18next-cli/pull/328">#328</a>, thanks <a href="https://github.com/BenjaminVanRyseghem"><code>@BenjaminVanRyseghem</code></a>).</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/i18next/i18next-cli/commit/f843f59a2388103f9f2374d4f60b4e71f08f8998"><code>f843f59</code></a> 1.87.0</li> <li><a href="https://github.com/i18next/i18next-cli/commit/9045c20ae63a0e1dc78bc9a1df11675111803608"><code>9045c20</code></a> docs: changelog for 1.87.0</li> <li><a href="https://github.com/i18next/i18next-cli/commit/44c69e48a845659c4f8710c23d1657cdf74231ec"><code>44c69e4</code></a> chore: depend on i18next 27 and react-i18next 18</li> <li><a href="https://github.com/i18next/i18next-cli/commit/881547dd2f383dffc05519c069f6ca0f171fd4ba"><code>881547d</code></a> fix(instrument): the generated init file uses initAsync and describes returnE...</li> <li><a href="https://github.com/i18next/i18next-cli/commit/fcb5a93980cfae56def1e0ba3fe5dd036afeb953"><code>fcb5a93</code></a> test: give the git-based sync --changed-only tests 30s</li> <li><a href="https://github.com/i18next/i18next-cli/commit/d025e00115562c1655922d7dfe211fde36dac4f2"><code>d025e00</code></a> 1.86.0</li> <li><a href="https://github.com/i18next/i18next-cli/commit/a41bf8589a104cf16a53e7231f5c1cffc0115f97"><code>a41bf85</code></a> docs: changelog for 1.86.0</li> <li><a href="https://github.com/i18next/i18next-cli/commit/bd32bb37267fd51eaa82a5d58e7b2606a3423094"><code>bd32bb3</code></a> feat(sync): leave missing keys out for omitMissingKeys languages</li> <li><a href="https://github.com/i18next/i18next-cli/commit/88a105c4f78ee7692e6360551d90b2b7da127412"><code>88a105c</code></a> feat(extract): add omitMissingKeys option for per-language fallback (<a href="https://redirect.github.com/i18next/i18next-cli/issues/328">#328</a>)</li> <li>See full diff in <a href="https://github.com/i18next/i18next-cli/compare/v1.85.1...v1.87.0">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>
This commit is contained in:
Generated
+61
-6
@@ -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.85.1",
|
||||
"i18next-cli": "^1.87.0",
|
||||
"istanbul": "^0.4.5",
|
||||
"istanbul-lib-coverage": "^3.2.2",
|
||||
"nyc": "^18.0.0",
|
||||
@@ -5846,9 +5846,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/i18next-cli": {
|
||||
"version": "1.85.1",
|
||||
"resolved": "https://registry.npmjs.org/i18next-cli/-/i18next-cli-1.85.1.tgz",
|
||||
"integrity": "sha512-LyblXTvK7CTKKmbEVZ3t8nA863AR6oEpeipJenEc2QNuWAvDngKvFaYXf77NlDRzHjqLuPNnugd4AArskZMAdg==",
|
||||
"version": "1.87.0",
|
||||
"resolved": "https://registry.npmjs.org/i18next-cli/-/i18next-cli-1.87.0.tgz",
|
||||
"integrity": "sha512-Qa8jZdaB1zv1nCiLG+aULPfw/SbVEzoKFspFyRq/f0a5kdDqSChT72vLHlHOoMeQBviM32GgRZK8I4yHIWqcmw==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
@@ -5862,7 +5862,7 @@
|
||||
"chokidar": "^5.0.0",
|
||||
"commander": "^15.0.0",
|
||||
"glob": "^14.0.3",
|
||||
"i18next": "^26.7.1",
|
||||
"i18next": "^27.0.0",
|
||||
"i18next-resources-for-ts": "^2.1.2",
|
||||
"jiti": "^2.7.0",
|
||||
"jsonc-parser": "^3.3.1",
|
||||
@@ -5870,7 +5870,7 @@
|
||||
"messageformat": "^4.1.0",
|
||||
"minimatch": "^11.0.4",
|
||||
"nano-spawn": "^2.1.0",
|
||||
"react-i18next": "^17.1.11",
|
||||
"react-i18next": "^18.0.0",
|
||||
"yaml": "^2.9.1",
|
||||
"yocto-spinner": "^1.2.2"
|
||||
},
|
||||
@@ -5881,6 +5881,38 @@
|
||||
"node": ">=22"
|
||||
}
|
||||
},
|
||||
"node_modules/i18next-cli/node_modules/i18next": {
|
||||
"version": "27.0.0",
|
||||
"resolved": "https://registry.npmjs.org/i18next/-/i18next-27.0.0.tgz",
|
||||
"integrity": "sha512-lCP39wHw2s0MZLyNXNvVEVhSRx3STHXB7XUbyS5qVabE3b+SSqFM/Ffb6HIygeKjYrMAwRV2qDShBQRba/DvAQ==",
|
||||
"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.4",
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-11.0.4.tgz",
|
||||
@@ -5898,6 +5930,29 @@
|
||||
"url": "https://github.com/sponsors/isaacs"
|
||||
}
|
||||
},
|
||||
"node_modules/i18next-cli/node_modules/react-i18next": {
|
||||
"version": "18.0.0",
|
||||
"resolved": "https://registry.npmjs.org/react-i18next/-/react-i18next-18.0.0.tgz",
|
||||
"integrity": "sha512-xXq/pcuMRwrW4iH0If/RjbPH3zuEqWVtaw4PjDsG54vx0FTook7aS3kop7DXy3g66wHkYUji8l7ZBrA8kfj67Q==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"html-parse-stringify": "^4.0.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=22"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"i18next": ">= 27.0.0",
|
||||
"react": ">= 18.0.0",
|
||||
"typescript": "^5 || ^6 || ^7"
|
||||
},
|
||||
"peerDependenciesMeta": {
|
||||
"typescript": {
|
||||
"optional": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"node_modules/i18next-resources-for-ts": {
|
||||
"version": "2.1.2",
|
||||
"resolved": "https://registry.npmjs.org/i18next-resources-for-ts/-/i18next-resources-for-ts-2.1.2.tgz",
|
||||
|
||||
+1
-1
@@ -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.85.1",
|
||||
"i18next-cli": "^1.87.0",
|
||||
"istanbul": "^0.4.5",
|
||||
"istanbul-lib-coverage": "^3.2.2",
|
||||
"nyc": "^18.0.0",
|
||||
|
||||
Reference in New Issue
Block a user