From 82e21aca0e8357e52ff95ae5d7ccb7eba02e8bb2 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 4 Apr 2023 10:38:32 +0100 Subject: [PATCH] fix(deps): update dependency react-i18next to v12 (#49800) * fix(deps): update dependency react-i18next to v12 * chore: address linting issues --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Mrugesh Mohapatra --- client/package.json | 2 +- client/src/components/ProgressBar/progress-bar.tsx | 3 ++- pnpm-lock.yaml | 8 ++++---- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/client/package.json b/client/package.json index 4eda74d0ea5..8145eb6fc2b 100644 --- a/client/package.json +++ b/client/package.json @@ -106,7 +106,7 @@ "react-gtm-module": "2.0.11", "react-helmet": "6.1.0", "react-hotkeys": "2.0.0", - "react-i18next": "11.18.6", + "react-i18next": "12.2.0", "react-instantsearch-core": "6.39.1", "react-instantsearch-dom": "6.39.1", "react-monaco-editor": "0.40.0", diff --git a/client/src/components/ProgressBar/progress-bar.tsx b/client/src/components/ProgressBar/progress-bar.tsx index 744f04ecb94..c1206bdfe96 100644 --- a/client/src/components/ProgressBar/progress-bar.tsx +++ b/client/src/components/ProgressBar/progress-bar.tsx @@ -1,7 +1,8 @@ import React from 'react'; import { connect } from 'react-redux'; import { createSelector } from 'reselect'; -import { TFunction, withTranslation } from 'react-i18next'; +import { TFunction } from 'i18next'; +import { withTranslation } from 'react-i18next'; import { challengeMetaSelector, currentBlockIdsSelector, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ea814a5908b..3e568029af2 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -632,8 +632,8 @@ importers: specifier: 2.0.0 version: 2.0.0(react@16.14.0) react-i18next: - specifier: 11.18.6 - version: 11.18.6(i18next@22.4.13)(react-dom@16.14.0)(react@16.14.0) + specifier: 12.2.0 + version: 12.2.0(i18next@22.4.13)(react-dom@16.14.0)(react@16.14.0) react-instantsearch-core: specifier: 6.39.1 version: 6.39.1(algoliasearch@4.16.0)(react@16.14.0) @@ -27427,8 +27427,8 @@ packages: react: 16.14.0 dev: false - /react-i18next@11.18.6(i18next@22.4.13)(react-dom@16.14.0)(react@16.14.0): - resolution: {integrity: sha512-yHb2F9BiT0lqoQDt8loZ5gWP331GwctHz9tYQ8A2EIEUu+CcEdjBLQWli1USG3RdWQt3W+jqQLg/d4rrQR96LA==} + /react-i18next@12.2.0(i18next@22.4.13)(react-dom@16.14.0)(react@16.14.0): + resolution: {integrity: sha512-5XeVgSygaGfyFmDd2WcXvINRw2WEC1XviW1LXY/xLOEMzsCFRwKqfnHN+hUjla8ZipbVJR27GCMSuTr0BhBBBQ==} peerDependencies: i18next: '>= 19.0.0' react: '>= 16.8.0'