mirror of
https://github.com/evroon/bracket.git
synced 2026-04-17 22:07:01 -04:00
Bumps [react-i18next](https://github.com/i18next/react-i18next) from 16.5.0 to 16.6.2. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/i18next/react-i18next/blob/master/CHANGELOG.md">react-i18next's changelog</a>.</em></p> <blockquote> <h3>16.6.2</h3> <ul> <li>feat(types): <code>useTranslation</code> now accepts selector functions as <code>keyPrefix</code> with full type-safe key narrowing when <code>enableSelector</code> is enabled <a href="https://redirect.github.com/i18next/i18next/issues/2367">2367</a></li> </ul> <h3>16.6.1</h3> <ul> <li>feat(types): i18nKey of <code><Trans i18nKey={sk} /></code> to accept a <code>SelectorKey</code> <a href="https://redirect.github.com/i18next/i18next/issues/2364">2364</a></li> </ul> <h3>16.6.0</h3> <ul> <li>warn when <code>t</code> is called before <code>ready</code> with <code>useSuspense: false</code> <a href="https://redirect.github.com/i18next/react-i18next/issues/1896">1896</a></li> <li>type-safe <code>values</code> prop on <code><Trans /></code> component — interpolation variables are now inferred from the translation string when custom types are configured <a href="https://redirect.github.com/i18next/react-i18next/issues/1772">1772</a></li> </ul> <h3>16.5.8</h3> <ul> <li>A selector function cannot be resolved without an i18n instance... returning empty string is safer than leaking the raw function reference. <a href="https://redirect.github.com/i18next/react-i18next/issues/1907">1907</a></li> </ul> <h3>16.5.7</h3> <ul> <li>fix: <code><Trans></code> component with <code>enableSelector: true</code> does not support multiple selectors for fallbacks <a href="https://redirect.github.com/i18next/react-i18next/issues/1907">1907</a></li> </ul> <h3>16.5.6</h3> <ul> <li>fix: prevent crash in <code>useSSR</code> when <code>init()</code> hasn't been called before <code>useSSR</code> — now logs a warning instead of throwing <a href="https://github.com/i18next/react-i18next/discussions/1604">1604</a></li> </ul> <h3>16.5.5</h3> <ul> <li>fix: prevent crash in <code>useSSR</code>, <code>getInitialProps</code> and <code>Translation</code> when no i18next instance is available (e.g. in monorepo setups with duplicate <code>react-i18next</code> copies) — now logs a clear warning instead of throwing <a href="https://github.com/i18next/react-i18next/discussions/1604">1604</a></li> </ul> <h3>16.5.4</h3> <ul> <li>fix: Overriding React component props not working <a href="https://redirect.github.com/i18next/react-i18next/pull/1902">1902</a></li> </ul> <h3>16.5.3</h3> <ul> <li>fix: Trans named tags with underscore <a href="https://redirect.github.com/i18next/react-i18next/pull/1901">1901</a></li> </ul> <h3>16.5.2</h3> <ul> <li>fix: Type errors when you've declared a resources type <a href="https://redirect.github.com/i18next/react-i18next/issues/1899">1899</a> via <a href="https://redirect.github.com/i18next/react-i18next/pull/1900">1900</a></li> </ul> <h3>16.5.1</h3> <ul> <li>fix: export <code>nodesToString</code> (runtime + TypeScript typings) to support <code>i18next-cli</code> (<a href="https://redirect.github.com/i18next/i18next-cli/pull/155">i18next/i18next-cli#155</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="5190452b99"><code>5190452</code></a> 16.6.2</li> <li><a href="598dd8e0d7"><code>598dd8e</code></a> address: <a href="https://redirect.github.com/i18next/i18next/issues/2367">i18next/i18next#2367</a></li> <li><a href="683156b25c"><code>683156b</code></a> 16.6.1</li> <li><a href="723d84bbcb"><code>723d84b</code></a> feat(types): i18nKey of <code>\<Trans i18nKey={sk} /></code> to accept a <code>SelectorKey</code></li> <li><a href="5c9f9f04e2"><code>5c9f9f0</code></a> update i18next dep</li> <li><a href="3a68a0bcc0"><code>3a68a0b</code></a> 16.6.0</li> <li><a href="87eac5f84b"><code>87eac5f</code></a> type-safe <code>values</code> prop on <code>\<Trans /></code> component — interpolation variables ar...</li> <li><a href="522885581d"><code>5228855</code></a> warn when <code>t</code> is called before <code>ready</code> with <code>useSuspense: false</code> <a href="https://redirect.github.com/i18next/react-i18next/issues/1896">#1896</a></li> <li><a href="a75ef78d50"><code>a75ef78</code></a> update deps and adjust tests</li> <li><a href="b00adfad42"><code>b00adfa</code></a> 16.5.8</li> <li>Additional commits viewable in <a href="https://github.com/i18next/react-i18next/compare/v16.5.0...v16.6.2">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>