mirror of
https://github.com/maputnik/editor.git
synced 2026-10-29 22:33:43 +00:00
chore(deps): Bump i18next from 26.5.10 to 26.5.11 (#2281)
Bumps [i18next](https://github.com/i18next/i18next) from 26.5.10 to 26.5.11. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/i18next/i18next/releases">i18next's releases</a>.</em></p> <blockquote> <h2>v26.5.11</h2> <ul> <li>fix: a nested <code>false</code>, <code>0</code> or <code>''</code> is now returned when a flat key with the same dotted name also exists. With <code>{ a: { b: false }, 'a.b': 'flat' }</code>, <code>getResource('en', 'translation', 'a.b')</code> and <code>t('a.b')</code> returned <code>'flat'</code>: the nested result was checked for truthiness, so these present values fell through to the flat-key lookup. Without such a flat key they were already returned. A nested <code>null</code>, which is not a valid lookup by default (<code>returnNull: false</code>), still falls back to the flat key. Thanks <a href="https://github.com/lprnmns"><code>@lprnmns</code></a> (<a href="https://redirect.github.com/i18next/i18next/pull/2461">#2461</a>).</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/i18next/i18next/blob/master/CHANGELOG.md">i18next's changelog</a>.</em></p> <blockquote> <h2>26.5.11</h2> <ul> <li>fix: a nested <code>false</code>, <code>0</code> or <code>''</code> is now returned when a flat key with the same dotted name also exists. With <code>{ a: { b: false }, 'a.b': 'flat' }</code>, <code>getResource('en', 'translation', 'a.b')</code> and <code>t('a.b')</code> returned <code>'flat'</code>: the nested result was checked for truthiness, so these present values fell through to the flat-key lookup. Without such a flat key they were already returned. A nested <code>null</code>, which is not a valid lookup by default (<code>returnNull: false</code>), still falls back to the flat key. Thanks <a href="https://github.com/lprnmns"><code>@lprnmns</code></a> (<a href="https://redirect.github.com/i18next/i18next/pull/2461">#2461</a>).</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/i18next/i18next/commit/a0ab5e992120d62b353d6f75e4f63a39e0eb6e44"><code>a0ab5e9</code></a> 26.5.11</li> <li><a href="https://github.com/i18next/i18next/commit/a08cf9e2c95ccee198ecd1b4b3f5f39d2af214b5"><code>a08cf9e</code></a> build</li> <li><a href="https://github.com/i18next/i18next/commit/81677f99c468ffa8e946986707af34abc7535fc0"><code>81677f9</code></a> changelog for 26.5.11</li> <li><a href="https://github.com/i18next/i18next/commit/a92934eacf5740ce40767bb82f2df9cf5e36867d"><code>a92934e</code></a> fix: keep a nested null falling back to a flat key</li> <li><a href="https://github.com/i18next/i18next/commit/ad6e1ac337cdd7ab952e5e22598e0fe50b23e568"><code>ad6e1ac</code></a> fix: preserve falsy nested resource values (<a href="https://redirect.github.com/i18next/i18next/issues/2461">#2461</a>)</li> <li>See full diff in <a href="https://github.com/i18next/i18next/compare/v26.5.10...v26.5.11">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
@@ -30,7 +30,7 @@
|
||||
"downshift": "^9.4.0",
|
||||
"events": "^3.3.0",
|
||||
"file-saver": "^2.0.5",
|
||||
"i18next": "^26.5.10",
|
||||
"i18next": "^26.5.11",
|
||||
"i18next-browser-languagedetector": "^8.2.2",
|
||||
"i18next-resources-to-backend": "^1.2.3",
|
||||
"json-stringify-pretty-compact": "^4.0.0",
|
||||
@@ -6645,9 +6645,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/i18next": {
|
||||
"version": "26.5.10",
|
||||
"resolved": "https://registry.npmjs.org/i18next/-/i18next-26.5.10.tgz",
|
||||
"integrity": "sha512-YS4EiLQhhk0wGThm4Zy+BL2c9rBNIK+kAbksi4l/B+D6kVRQLIFZgu2b/MU2LibJJHwWNTYoOYR52T+jfV8kPQ==",
|
||||
"version": "26.5.11",
|
||||
"resolved": "https://registry.npmjs.org/i18next/-/i18next-26.5.11.tgz",
|
||||
"integrity": "sha512-Wc0klBPKxqZ2tL2qdAnF8xvvnWgr1IMGSY2ikTiAvaFVbz7xiFARtkoU4RidBDw1SyziGROp0qxu6qnJ7l2Wug==",
|
||||
"funding": [
|
||||
{
|
||||
"type": "individual",
|
||||
|
||||
Reference in New Issue
Block a user