mirror of
https://github.com/maputnik/editor.git
synced 2026-11-27 04:23:45 +00:00
chore(deps): Bump i18next from 27.1.2 to 27.1.3 (#2343)
Bumps [i18next](https://github.com/i18next/i18next) from 27.1.2 to 27.1.3. <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.1.3</h2> <ul> <li>security: a language code named after a property every object inherits (<code>hasOwnProperty</code>, <code>isPrototypeOf</code>, <code>toLocaleString</code>, <code>__defineGetter__</code>, ...) made the backend connector throw <code>obj[k].push is not a function</code> when its load finished. A language detector passes such a code on from a request (<code>?lng=hasOwnProperty</code>), and with an asynchronous backend nothing caught the throw, so one request ended a Node.js server process (in a browser, <code>init()</code> never resolved). Now these codes load like any other unknown language. Thanks <a href="https://github.com/superbot-helper"><code>@superbot-helper</code></a> (<a href="https://github.com/i18next/i18next/security/advisories/GHSA-q76c-gcvw-89x9">GHSA-q76c-gcvw-89x9</a>)</li> <li>fix: with an object <code>fallbackLng</code>, a language code named like an <code>Object.prototype</code> property (<code>constructor</code>, <code>toString</code>, <code>hasOwnProperty</code>, <code>constructor-US</code>) gets the <code>default</code> fallback instead of making <code>t()</code>, <code>exists()</code>, <code>getFixedT()</code> and <code>changeLanguage()</code> throw <code>fallbackCodes.forEach is not a function</code>. Thanks <a href="https://github.com/cyphercodes"><code>@cyphercodes</code></a> (<a href="https://redirect.github.com/i18next/i18next/pull/2473">#2473</a>, <a href="https://redirect.github.com/i18next/i18next/issues/2472">#2472</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.1.3</h2> <ul> <li>security: a language code named after a property every object inherits (<code>hasOwnProperty</code>, <code>isPrototypeOf</code>, <code>toLocaleString</code>, <code>__defineGetter__</code>, ...) made the backend connector throw <code>obj[k].push is not a function</code> when its load finished. A language detector passes such a code on from a request (<code>?lng=hasOwnProperty</code>), and with an asynchronous backend nothing caught the throw, so one request ended a Node.js server process (in a browser, <code>init()</code> never resolved). Now these codes load like any other unknown language. Thanks <a href="https://github.com/superbot-helper"><code>@superbot-helper</code></a> (<a href="https://github.com/i18next/i18next/security/advisories/GHSA-q76c-gcvw-89x9">GHSA-q76c-gcvw-89x9</a>)</li> <li>fix: with an object <code>fallbackLng</code>, a language code named like an <code>Object.prototype</code> property (<code>constructor</code>, <code>toString</code>, <code>hasOwnProperty</code>, <code>constructor-US</code>) gets the <code>default</code> fallback instead of making <code>t()</code>, <code>exists()</code>, <code>getFixedT()</code> and <code>changeLanguage()</code> throw <code>fallbackCodes.forEach is not a function</code>. Thanks <a href="https://github.com/cyphercodes"><code>@cyphercodes</code></a> (<a href="https://redirect.github.com/i18next/i18next/pull/2473">#2473</a>, <a href="https://redirect.github.com/i18next/i18next/issues/2472">#2472</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/i18next/i18next/commit/aefe926785e023be2bf83ecfec4ab74ed7835646"><code>aefe926</code></a> 27.1.3</li> <li><a href="https://github.com/i18next/i18next/commit/036eb434cf0736fb0a21d64ff7409289d4e079b8"><code>036eb43</code></a> changelog for 27.1.3</li> <li><a href="https://github.com/i18next/i18next/commit/5fc2523a6184f1252e6cbcfbbaf2fcbc5e9615e8"><code>5fc2523</code></a> security: language codes named after an inherited property no longer throw wh...</li> <li><a href="https://github.com/i18next/i18next/commit/8b22d149305d4c9fa241b8325acfef509730d304"><code>8b22d14</code></a> fix: ignore inherited fallback language mappings (<a href="https://redirect.github.com/i18next/i18next/issues/2473">#2473</a>)</li> <li>See full diff in <a href="https://github.com/i18next/i18next/compare/v27.1.2...v27.1.3">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
@@ -29,7 +29,7 @@
|
||||
"downshift": "^9.5.0",
|
||||
"events": "^3.3.0",
|
||||
"file-saver": "^2.0.5",
|
||||
"i18next": "^27.1.2",
|
||||
"i18next": "^27.1.3",
|
||||
"i18next-browser-languagedetector": "^8.3.0",
|
||||
"i18next-resources-to-backend": "^1.2.4",
|
||||
"json-stringify-pretty-compact": "^4.0.0",
|
||||
@@ -5843,9 +5843,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/i18next": {
|
||||
"version": "27.1.2",
|
||||
"resolved": "https://registry.npmjs.org/i18next/-/i18next-27.1.2.tgz",
|
||||
"integrity": "sha512-851D6dY9vuhn9hF0p5KpY7FPeYnm3P73tqyX2nxfsjeEYVg7Du0Fflw0rJtv7nFnZcDQS0+Hqn0UP6+SPx8mew==",
|
||||
"version": "27.1.3",
|
||||
"resolved": "https://registry.npmjs.org/i18next/-/i18next-27.1.3.tgz",
|
||||
"integrity": "sha512-Qih5Erw8m9qJPmuNUjoSiBctutYkfgg+mhzLaQ7xbn2Y9e2tsB8dNhYyMB00fUfBRt6v0UTFjPPCSROJPn93JQ==",
|
||||
"funding": [
|
||||
{
|
||||
"type": "individual",
|
||||
|
||||
+1
-1
@@ -46,7 +46,7 @@
|
||||
"downshift": "^9.5.0",
|
||||
"events": "^3.3.0",
|
||||
"file-saver": "^2.0.5",
|
||||
"i18next": "^27.1.2",
|
||||
"i18next": "^27.1.3",
|
||||
"i18next-browser-languagedetector": "^8.3.0",
|
||||
"i18next-resources-to-backend": "^1.2.4",
|
||||
"json-stringify-pretty-compact": "^4.0.0",
|
||||
|
||||
Reference in New Issue
Block a user