dargmuesli / randomwinpicker

A website that chooses a "true" random winner for CS:GO case openings.
https://randomwinpicker.jonas-thelemann.de
GNU General Public License v3.0
1 stars 0 forks source link

fix(deps): update dependency i18next to v18 #60

Closed renovate[bot] closed 4 years ago

renovate[bot] commented 4 years ago

This PR contains the following updates:

Package Type Update Change
i18next (source) dependencies major 17.3.0 -> 18.0.0

Release Notes

i18next/i18next ### [`v18.0.0`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1800) [Compare Source](https://togithub.com/i18next/i18next/compare/v17.3.1...v18.0.0) - When calling `i18next.changeLanguage()` both `i18next.language` and `i18next.languages` will be set to the new language after calling `loadResources` -> means when accessing `t` function meanwhile you will get still the translations for the previous language instead of the fallback. - **When is this breaking?** this does not break any current test - but if you depend on accessing i18next.language or i18next.dir during language change and expect the new language this will break your app. - Reasoning: In react-i18next we get in a not ready state for loaded translations while we would prefer just waiting for the new language ready and trigger a rerender then - also a triggered rerender outside of the bound events would end in Suspense... - How can I get the language i18next will be set to? `i18next.isLanguageChangingTo` is set to the language called ### [`v17.3.1`](https://togithub.com/i18next/i18next/blob/master/CHANGELOG.md#​1731) [Compare Source](https://togithub.com/i18next/i18next/compare/v17.3.0...v17.3.1) - typescript: Add missing `cleanCode` option to TypeScript def [1344](https://togithub.com/i18next/i18next/pull/1344)

Renovate configuration

:date: Schedule: At any time (no schedule defined).

:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.

:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".

:no_bell: Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Renovate Bot. View repository job log here.