mirror of
https://github.com/maputnik/editor.git
synced 2026-08-22 13:07:26 +00:00
chore(deps-dev): Bump i18next-cli from 1.67.8 to 1.67.9 (#2080)
Bumps [i18next-cli](https://github.com/i18next/i18next-cli) from 1.67.8 to 1.67.9. <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.67.9</h2> <ul> <li>fix(types): derive <code>defaultNS</code> from the generated resources when <code>extract.defaultNS</code> is <code>false</code>. i18next's type system cannot express <code>defaultNS: false</code> — <code>DefaultNamespace = TypeOptions['defaultNS']</code> feeds <code>Ns extends Namespace</code>, so emitting <code>false</code> made every <code>t()</code> call silently accept any string and the generated definitions checked nothing. The namespace is now taken from the keys of the generated <code>Resources</code> interface (deduplicated and sorted, preferring <code>'translation'</code>, and preferring a namespace inside <code>types.basePath</code> over one resolved outside of it), with a warning naming the pick. <code>false</code> is still emitted when the resource files are named after locales (<code>en.json</code> + <code>de.json</code>), where deriving would turn sibling languages into namespaces. Only affects <code>i18next.d.ts</code> on first creation; <code>resources.d.ts</code> and <code>--ci</code> behavior are unchanged (<a href="https://redirect.github.com/i18next/i18next-cli/pull/280">#280</a>).</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/i18next/i18next-cli/commit/00708034b762476c5038a16a21f5b700a35f04e0"><code>0070803</code></a> 1.67.9</li> <li><a href="https://github.com/i18next/i18next-cli/commit/454065065630ade85c46f315ddf7b6c07249e74f"><code>4540650</code></a> fix(types): harden defaultNS derivation when extract.defaultNS is false</li> <li><a href="https://github.com/i18next/i18next-cli/commit/e42bdaf3976e5d453953298f67dd0b2451dd8c64"><code>e42bdaf</code></a> fix(types): derive defaultNS from generated resources when extract.defaultNS ...</li> <li>See full diff in <a href="https://github.com/i18next/i18next-cli/compare/v1.67.8...v1.67.9">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
+4
-4
@@ -96,7 +96,7 @@
|
||||
"eslint-plugin-react": "^7.37.5",
|
||||
"eslint-plugin-react-hooks": "^7.1.1",
|
||||
"eslint-plugin-react-refresh": "^0.5.3",
|
||||
"i18next-cli": "^1.67.8",
|
||||
"i18next-cli": "^1.67.9",
|
||||
"istanbul": "^0.4.5",
|
||||
"istanbul-lib-coverage": "^3.2.2",
|
||||
"nyc": "^18.0.0",
|
||||
@@ -7241,9 +7241,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/i18next-cli": {
|
||||
"version": "1.67.8",
|
||||
"resolved": "https://registry.npmjs.org/i18next-cli/-/i18next-cli-1.67.8.tgz",
|
||||
"integrity": "sha512-v1/lw078Eu5CZfkHqk6mmqJw3tuBCl6IRpjnHrb5fnrheLyBTHNK/p9onUkqbP4QAxSXHQF6WCdBkmVf64QS9g==",
|
||||
"version": "1.67.9",
|
||||
"resolved": "https://registry.npmjs.org/i18next-cli/-/i18next-cli-1.67.9.tgz",
|
||||
"integrity": "sha512-mSYg1RwsU8ABeCS+b9D8i50UOw5XxM1X9wytGhrSzjF6lnwskQKAxduujFhgFM9YLRweXBC0qtz9KgzvBTBfmg==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
||||
+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.3",
|
||||
"i18next-cli": "^1.67.8",
|
||||
"i18next-cli": "^1.67.9",
|
||||
"istanbul": "^0.4.5",
|
||||
"istanbul-lib-coverage": "^3.2.2",
|
||||
"nyc": "^18.0.0",
|
||||
|
||||
Reference in New Issue
Block a user