Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(deps): update dependency i18next to v23 (#5251)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [i18next](https://www.i18next.com) ([source](https://togithub.com/i18next/i18next)) | [`^22.5.1` -> `^23.11.2`](https://renovatebot.com/diffs/npm/i18next/22.5.1/23.11.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/i18next/23.11.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/i18next/23.11.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/i18next/22.5.1/23.11.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/i18next/22.5.1/23.11.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>i18next/i18next (i18next)</summary> ### [`v23.11.2`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#23112) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.11.1...v23.11.2) - allow defaultValue in nested translation [2174](https://togithub.com/i18next/i18next/issues/2174) ### [`v23.11.1`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#23111) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.11.0...v23.11.1) - types: remove const from ParseKeys Context type parameter and disable `skipLibCheck` [2169](https://togithub.com/i18next/i18next/pull/2169) ### [`v23.11.0`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#23110) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.10.1...v23.11.0) - Fix typing performance regression [2166](https://togithub.com/i18next/i18next/pull/2166) ### [`v23.10.1`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#23101) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.10.0...v23.10.1) - optimize getBestMatchFromCodes for [i18next/i18next-browser-languageDetector#281 ### [`v23.10.0`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#23100) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.9.0...v23.10.0) - Add 'isInitializing' property so we're able to detect init() was already called [2141](https://togithub.com/i18next/i18next/issues/2141) ### [`v23.9.0`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2390) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.8.3...v23.9.0) - types: support nested keys in `InterpolationMap` [2140](https://togithub.com/i18next/i18next/pull/2140) fixes [2014](https://togithub.com/i18next/i18next/issues/2014) ### [`v23.8.3`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2383) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.8.2...v23.8.3) - prevent resource mutation when using `addResourceBundle` [2081](https://togithub.com/i18next/i18next/issues/2081) ### [`v23.8.2`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2382) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.8.1...v23.8.2) - optimize `addResources` to address [2130](https://togithub.com/i18next/i18next/issues/2130) ### [`v23.8.1`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2381) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.8.0...v23.8.1) - types: support stricter typechecking for returnEmptyString and returnNull [2129](https://togithub.com/i18next/i18next/pull/2129) ### [`v23.8.0`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2380) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.7.20...v23.8.0) - improve performance by reducing array slices and RegExp recreation [2128](https://togithub.com/i18next/i18next/pull/2128) ### [`v23.7.20`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#23720) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.7.19...v23.7.20) - optimize: consistent \_zero special handling also for defaultValue_zero [2124](https://togithub.com/i18next/i18next/issues/2124) - intl plural rule for dev is now en (consistent with v3 compatibility) ### [`v23.7.19`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#23719) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.7.18...v23.7.19) - fix: consistent \_zero special handling also for defaultValue_zero [2124](https://togithub.com/i18next/i18next/issues/2124) ### [`v23.7.18`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#23718) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.7.17...v23.7.18) - types: support readonly defaultNS [2123](https://togithub.com/i18next/i18next/pull/2123) ### [`v23.7.17`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#23717) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.7.16...v23.7.17) - types: fix support for defaultNS as array (fixes [2118](https://togithub.com/i18next/i18next/issues/2118)) [2121](https://togithub.com/i18next/i18next/pull/2121) - types: fix typo in `CustomInstanceExtensions` [2122](https://togithub.com/i18next/i18next/pull/2122) ### [`v23.7.16`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#23716) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.7.15...v23.7.16) - fix: Use Typescript 5 types with Typescript 5+ [2108](https://togithub.com/i18next/i18next/pull/2108) - Hint: If you're using TypeScript 4 and you navigate to the type definitions in your code editor, it might be you will see the TypeScript 5 types, but the TS compiler should use the correct types. ### [`v23.7.15`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#23715) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.7.14...v23.7.15) - types: simplifies types for array access and fixes [2103](https://togithub.com/i18next/i18next/issues/2103) ### [`v23.7.14`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#23714) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.7.13...v23.7.14) - types: fix types for array access ### [`v23.7.13`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#23713) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.7.12...v23.7.13) - types: optimise ParseTReturn [2095](https://togithub.com/i18next/i18next/pull/2095) ### [`v23.7.12`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#23712) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.7.11...v23.7.12) - types: fix for older ts version (context validation only for TS 5) ### [`v23.7.11`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#23711) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.7.10...v23.7.11) - types: fix for older ts versions [2090](https://togithub.com/i18next/i18next/issues/2090) ### [`v23.7.10`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#23710) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.7.9...v23.7.10) - types: initializedStoreOnce and initializedLanguageOnce [2089](https://togithub.com/i18next/i18next/pull/2089) ### [`v23.7.9`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2379) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.7.8...v23.7.9) - types: fix FormatFunction should allow any value inside options parameter ### [`v23.7.8`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2378) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.7.7...v23.7.8) - prevent cosmetic SyntaxError because of non catched error variable ### [`v23.7.7`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2377) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.7.6...v23.7.7) - optimize TypeScript V4 export ### [`v23.7.6`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2376) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.7.5...v23.7.6) - types: CustomInstanceExtenstions ### [`v23.7.5`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2375) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.7.4...v23.7.5) - fix types export for TypeScript v4 in combination with react-i18next ### [`v23.7.4`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2374) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.7.3...v23.7.4) - fix for TypeScript v4 in combination with react-i18next ### [`v23.7.3`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2373) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.7.2...v23.7.3) - fix: consider importing '\*.js' ### [`v23.7.2`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2372) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.7.1...v23.7.2) - types: optimize mts ### [`v23.7.1`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2371) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.7.0...v23.7.1) - fix some mjs typings ### [`v23.7.0`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2370) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.6.0...v23.7.0) - fix: separate cjs and mjs typings [2010](https://togithub.com/i18next/i18next/issues/2010) - fix: consider importing './typescript/t.js' [2048](https://togithub.com/i18next/i18next/issues/2048) ### [`v23.6.0`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2360) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.5.1...v23.6.0) - add interpolation data to response if returnDetails is true [2053](https://togithub.com/i18next/i18next/pull/2053) ### [`v23.5.1`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2351) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.5.0...v23.5.1) - types: use unknown to better infer types on nested t functions also for older typescript version [2032](https://togithub.com/i18next/i18next/issues/2032) ### [`v23.5.0`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2350) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.4.9...v23.5.0) - types: use unknown to better infer types on nested t functions [2018](https://togithub.com/i18next/i18next/pull/2018) ### [`v23.4.9`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2349) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.4.8...v23.4.9) - fix: preload languages also on cimode, if configured also as fallbackLng ### [`v23.4.8`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2348) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.4.7...v23.4.8) - fix: preload languages also on cimode, if configured ### [`v23.4.7`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2347) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.4.6...v23.4.7) - preload languages also on cimode, if configured ### [`v23.4.6`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2346) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.4.5...v23.4.6) - pass correct language for custom i18nFormat ### [`v23.4.5`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2345) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.4.4...v23.4.5) - types: named export for FlatNamespace ### [`v23.4.4`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2344) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.4.3...v23.4.4) - types: add customisation of contextSeparator also on v4 t types [2019](https://togithub.com/i18next/i18next/pull/2019) ### [`v23.4.3`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2343) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.4.2...v23.4.3) - types: add customisation of contextSeparator [2017](https://togithub.com/i18next/i18next/pull/2017) ### [`v23.4.2`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2342) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.4.1...v23.4.2) - types: export some types for next-i18next ### [`v23.4.1`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2341) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.4.0...v23.4.1) - types: fix typescript imports ### [`v23.4.0`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2340) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.3.0...v23.4.0) - types: Support const modifier for options and key [2007](https://togithub.com/i18next/i18next/pull/2007) - types: Support context [2006](https://togithub.com/i18next/i18next/pull/2006) ### [`v23.3.0`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2330) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.2.11...v23.3.0) - types: Fix performance issue that affects flat object with multiple (thousands) keys [2004](https://togithub.com/i18next/i18next/pull/2004) ### [`v23.2.11`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#23211) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.2.10...v23.2.11) - types: Fix $TFunctionBrand [1997](https://togithub.com/i18next/i18next/pull/1997) ### [`v23.2.10`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#23210) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.2.9...v23.2.10) - types: emit function can have additional arguments [1993](https://togithub.com/i18next/i18next/issues/1993) ### [`v23.2.9`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2329) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.2.8...v23.2.9) - types: Add brand to TFunction type so different namespaces' TFunctions are not treated as compatible [1994](https://togithub.com/i18next/i18next/pull/1994) ### [`v23.2.8`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2328) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.2.7...v23.2.8) - types for hasLoadedNamespace ### [`v23.2.7`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2327) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.2.6...v23.2.7) - fix utils import (for Deno) ### [`v23.2.6`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2326) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.2.5...v23.2.6) - Re-allow unknown keys, when a defaultValue is provided [1867](https://togithub.com/i18next/i18next/issues/1867) ### [`v23.2.5`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2325) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.2.3...v23.2.5) - Clean language code before passing to formatters [1988](https://togithub.com/i18next/i18next/pull/1988) ### [`v23.2.3`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2323) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.2.2...v23.2.3) - types: Optimize logic for fallback ns [1984](https://togithub.com/i18next/i18next/pull/1984) ### [`v23.2.2`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2322) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.2.1...v23.2.2) - types: try to fix fallbackNS type handling also for older TS version [1981](https://togithub.com/i18next/i18next/issues/1981) ### [`v23.2.1`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#23211) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.2.0...v23.2.1) - types: Fix $TFunctionBrand [1997](https://togithub.com/i18next/i18next/pull/1997) ### [`v23.2.0`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2320) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.1.0...v23.2.0) - types: add fallbackNS type handling [1975](https://togithub.com/i18next/i18next/pull/1975) ### [`v23.1.0`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2310) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.0.2...v23.1.0) - cloneInstance: introduce `forkResourceStore` [1974](https://togithub.com/i18next/i18next/issues/1974) - types: default argument values for ParseKeys type ### [`v23.0.2`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2302) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.0.1...v23.0.2) - refactor: static createInstance for wider browser support [1973](https://togithub.com/i18next/i18next/pull/1973) ### [`v23.0.1`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2301) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.0.0...v23.0.1) - types: export ParseKeys ### [`v23.0.0`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2300) [Compare Source](https://togithub.com/i18next/i18next/compare/v22.5.1...v23.0.0) **This is a major breaking release:** - redesigned TypeScript types [1911](https://togithub.com/i18next/i18next/pull/1911) - removed `setDebug` function in the logger: [1954](https://togithub.com/i18next/i18next/issues/1954#issuecomment-1537117407) - changed `returnNull` default to `false` [1885](https://togithub.com/i18next/i18next/pull/1885) - drop support for old browsers and Node.js < v12 [1948](https://togithub.com/i18next/i18next/issues/1948) - ordinal plural keys are now prefixed with `_ordinal` to help translators (non-breaking, because of fallback) [1945](https://togithub.com/i18next/i18next/pull/1945) ➡️ check out the [migration guide](https://www.i18next.com/misc/migration-guide#v22.x.x-to-v23.0.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 5pm,every weekend" in timezone America/Los_Angeles, Automerge - "after 5pm,every weekend" in timezone America/Los_Angeles. 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/valora-inc/wallet). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjMwMS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Kathy Luo <kathyluo18@gmail.com>
- Loading branch information