mirror of
https://github.com/maputnik/editor.git
synced 2026-11-30 13:54:20 +00:00
chore(deps): Bump i18next from 27.2.5 to 27.2.7 (#2371)
Bumps [i18next](https://github.com/i18next/i18next) from 27.2.5 to 27.2.7. <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>v27.2.7</h2> <ul> <li>fix: <code>addResource</code>, and with it <code>saveMissing</code> writing to the store, keeps a key below a number, a boolean or an array's <code>length</code> flat, like it already did below a string, instead of throwing <code>Cannot create property</code> or <code>Invalid array length</code>. A request to <code>i18next-http-middleware</code>'s <code>missingKeyHandler</code> with <code>{"a":5,"a.b":"x"}</code> got a 500 from that throw.</li> </ul> <h2>v27.2.6</h2> <ul> <li>fix: an empty plural default value counts, like <code>defaultValue: ''</code>: <code>t('key', { count: 0, defaultValue_zero: '', defaultValue_other: '{{count}} items' })</code> returns <code>''</code> instead of "0 items", and saveMissing saves <code>''</code> for a form given as <code>''</code> (<code>key_zero</code> too) instead of another form's text. A form without its own default saves <code>defaultValue</code>, then the <code>other</code> default, instead of the default resolved for the current count. Thanks <a href="https://github.com/arba-octo"><code>@arba-octo</code></a> (<a href="https://redirect.github.com/i18next/i18next/pull/2480">#2480</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>27.2.7</h2> <ul> <li>fix: <code>addResource</code>, and with it <code>saveMissing</code> writing to the store, keeps a key below a number, a boolean or an array's <code>length</code> flat, like it already did below a string, instead of throwing <code>Cannot create property</code> or <code>Invalid array length</code>. A request to <code>i18next-http-middleware</code>'s <code>missingKeyHandler</code> with <code>{"a":5,"a.b":"x"}</code> got a 500 from that throw.</li> </ul> <h2>27.2.6</h2> <ul> <li>fix: an empty plural default value counts, like <code>defaultValue: ''</code>: <code>t('key', { count: 0, defaultValue_zero: '', defaultValue_other: '{{count}} items' })</code> returns <code>''</code> instead of "0 items", and saveMissing saves <code>''</code> for a form given as <code>''</code> (<code>key_zero</code> too) instead of another form's text. A form without its own default saves <code>defaultValue</code>, then the <code>other</code> default, instead of the default resolved for the current count. Thanks <a href="https://github.com/arba-octo"><code>@arba-octo</code></a> (<a href="https://redirect.github.com/i18next/i18next/pull/2480">#2480</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/i18next/i18next/commit/020335066f004c0d1b0933fb502c27b46efcc743"><code>0203350</code></a> 27.2.7</li> <li><a href="https://github.com/i18next/i18next/commit/b34dbe54bb3e30cc790ebba99d145c3a65aa4e67"><code>b34dbe5</code></a> changelog for 27.2.7</li> <li><a href="https://github.com/i18next/i18next/commit/fe0640bae85f8bc0f702186f7a7232bac9a5a3ff"><code>fe0640b</code></a> fix: setPath keeps a key below a number, boolean or array length flat instead...</li> <li><a href="https://github.com/i18next/i18next/commit/4f8ce990dcc3445389842e54fa88c819426991b8"><code>4f8ce99</code></a> 27.2.6</li> <li><a href="https://github.com/i18next/i18next/commit/de0330622cb587ee85b5b326e7c007dcacd37f7a"><code>de03306</code></a> changelog for 27.2.6</li> <li><a href="https://github.com/i18next/i18next/commit/3a3bdfbb0c7b092734f4bf7017d69c9ed6b0f05f"><code>3a3bdfb</code></a> fix: saveMissing gives a plural form without its own default the plain or "ot...</li> <li><a href="https://github.com/i18next/i18next/commit/87fabd73e48b6b67e441a5169e1628e36dbcbc58"><code>87fabd7</code></a> fix: preserve empty plural default values (<a href="https://redirect.github.com/i18next/i18next/issues/2480">#2480</a>)</li> <li>See full diff in <a href="https://github.com/i18next/i18next/compare/v27.2.5...v27.2.7">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:
1 parent
648831ac67
commit
6a987e9164
2 files changed
+5
-5
No files matched your search
Generated
+4
-4
@@ -29,7 +29,7 @@
|
||||
"downshift": "^9.5.0",
|
||||
"events": "^3.3.0",
|
||||
"file-saver": "^2.0.5",
|
||||
"i18next": "^27.2.5",
|
||||
"i18next": "^27.2.7",
|
||||
"i18next-browser-languagedetector": "^8.3.1",
|
||||
"i18next-resources-to-backend": "^1.3.0",
|
||||
"json-stringify-pretty-compact": "^4.0.0",
|
||||
@@ -5817,9 +5817,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/i18next": {
|
||||
"version": "27.2.5",
|
||||
"resolved": "https://registry.npmjs.org/i18next/-/i18next-27.2.5.tgz",
|
||||
"integrity": "sha512-hzw6DP/OV8u9LPLFRNLxoDbehhbEeMwpjQanJv5sRLsYUVYsgqftUSRfWJUbQN5lodGIiFjV9e+lA6M2UILt2g==",
|
||||
"version": "27.2.7",
|
||||
"resolved": "https://registry.npmjs.org/i18next/-/i18next-27.2.7.tgz",
|
||||
"integrity": "sha512-q3XlM8YSo6Nmomd+MQ4JPGJGvhgHwfCRXNeFrM8l0F4TuIuoJBqhCxQrdGDHNMjObRuw5O0ReuU968ZeMVlfnw==",
|
||||
"funding": [
|
||||
{
|
||||
"type": "individual",
|
||||
|
||||
+1
-1
@@ -46,7 +46,7 @@
|
||||
"downshift": "^9.5.0",
|
||||
"events": "^3.3.0",
|
||||
"file-saver": "^2.0.5",
|
||||
"i18next": "^27.2.5",
|
||||
"i18next": "^27.2.7",
|
||||
"i18next-browser-languagedetector": "^8.3.1",
|
||||
"i18next-resources-to-backend": "^1.3.0",
|
||||
"json-stringify-pretty-compact": "^4.0.0",
|
||||
|
||||
Reference in new issue
Block a user