From 05d38becbd33fc9ed73c80ed30e84f923f4ff550 Mon Sep 17 00:00:00 2001 From: Gao Sun Date: Fri, 21 Apr 2023 18:23:45 +0800 Subject: [PATCH] chore(deps): upgrade i18next series packages --- packages/console/package.json | 4 +-- packages/demo-app/package.json | 4 +-- packages/ui/package.json | 4 +-- pnpm-lock.yaml | 47 +++++++++++++--------------------- 4 files changed, 24 insertions(+), 35 deletions(-) diff --git a/packages/console/package.json b/packages/console/package.json index 6247f4978..3c751ba8c 100644 --- a/packages/console/package.json +++ b/packages/console/package.json @@ -66,7 +66,7 @@ "eslint": "^8.34.0", "history": "^5.3.0", "i18next": "^22.4.15", - "i18next-browser-languagedetector": "^6.1.4", + "i18next-browser-languagedetector": "^7.0.1", "just-kebab-case": "^4.2.0", "ky": "^0.33.0", "lint-staged": "^13.0.0", @@ -89,7 +89,7 @@ "react-helmet": "^6.1.0", "react-hook-form": "^7.34.0", "react-hot-toast": "^2.2.0", - "react-i18next": "^11.18.3", + "react-i18next": "^12.2.0", "react-markdown": "^8.0.0", "react-modal": "^3.15.1", "react-paginate": "^8.1.3", diff --git a/packages/demo-app/package.json b/packages/demo-app/package.json index 7f8025ec5..17e1f437a 100644 --- a/packages/demo-app/package.json +++ b/packages/demo-app/package.json @@ -36,14 +36,14 @@ "cross-env": "^7.0.3", "eslint": "^8.34.0", "i18next": "^22.4.15", - "i18next-browser-languagedetector": "^6.1.4", + "i18next-browser-languagedetector": "^7.0.1", "lint-staged": "^13.0.0", "parcel": "2.8.3", "postcss": "^8.4.6", "prettier": "^2.8.2", "react": "^18.0.0", "react-dom": "^18.0.0", - "react-i18next": "^11.18.3", + "react-i18next": "^12.2.0", "stylelint": "^15.0.0", "typescript": "^5.0.0", "zod": "^3.20.2" diff --git a/packages/ui/package.json b/packages/ui/package.json index 2ba4def97..eab71c258 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -56,7 +56,7 @@ "cross-env": "^7.0.3", "eslint": "^8.34.0", "i18next": "^22.4.15", - "i18next-browser-languagedetector": "^6.1.4", + "i18next-browser-languagedetector": "^7.0.1", "identity-obj-proxy": "^3.0.0", "jest": "^29.5.0", "jest-environment-jsdom": "^29.0.0", @@ -76,7 +76,7 @@ "react-dom": "^18.0.0", "react-helmet": "^6.1.0", "react-hook-form": "^7.34.0", - "react-i18next": "^11.18.3", + "react-i18next": "^12.2.0", "react-modal": "^3.15.1", "react-router-dom": "^6.10.0", "react-string-replace": "^1.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 40ed28102..3effcd386 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2898,8 +2898,8 @@ importers: specifier: ^22.4.15 version: 22.4.15 i18next-browser-languagedetector: - specifier: ^6.1.4 - version: 6.1.4 + specifier: ^7.0.1 + version: 7.0.1 just-kebab-case: specifier: ^4.2.0 version: 4.2.0 @@ -2967,8 +2967,8 @@ importers: specifier: ^2.2.0 version: 2.2.0(csstype@3.0.11)(react-dom@18.2.0)(react@18.2.0) react-i18next: - specifier: ^11.18.3 - version: 11.18.3(i18next@22.4.15)(react-dom@18.2.0)(react@18.2.0) + specifier: ^12.2.0 + version: 12.2.0(i18next@22.4.15)(react-dom@18.2.0)(react@18.2.0) react-markdown: specifier: ^8.0.0 version: 8.0.0(@types/react@18.0.31)(react@18.2.0) @@ -3334,8 +3334,8 @@ importers: specifier: ^22.4.15 version: 22.4.15 i18next-browser-languagedetector: - specifier: ^6.1.4 - version: 6.1.4 + specifier: ^7.0.1 + version: 7.0.1 lint-staged: specifier: ^13.0.0 version: 13.0.0 @@ -3355,8 +3355,8 @@ importers: specifier: ^18.0.0 version: 18.2.0(react@18.2.0) react-i18next: - specifier: ^11.18.3 - version: 11.18.3(i18next@22.4.15)(react-dom@18.2.0)(react@18.2.0) + specifier: ^12.2.0 + version: 12.2.0(i18next@22.4.15)(react-dom@18.2.0)(react@18.2.0) stylelint: specifier: ^15.0.0 version: 15.0.0 @@ -3895,8 +3895,8 @@ importers: specifier: ^22.4.15 version: 22.4.15 i18next-browser-languagedetector: - specifier: ^6.1.4 - version: 6.1.4 + specifier: ^7.0.1 + version: 7.0.1 identity-obj-proxy: specifier: ^3.0.0 version: 3.0.0 @@ -3955,8 +3955,8 @@ importers: specifier: ^7.34.0 version: 7.34.0(react@18.2.0) react-i18next: - specifier: ^11.18.3 - version: 11.18.3(i18next@22.4.15)(react-dom@18.2.0)(react@18.2.0) + specifier: ^12.2.0 + version: 12.2.0(i18next@22.4.15)(react-dom@18.2.0)(react@18.2.0) react-modal: specifier: ^3.15.1 version: 3.15.1(react-dom@18.2.0)(react@18.2.0) @@ -6153,13 +6153,6 @@ packages: regenerator-runtime: 0.13.11 dev: true - /@babel/runtime@7.18.3: - resolution: {integrity: sha512-38Y8f7YUhce/K7RMwTp7m0uCumpv9hZkitCbBClqQIow1qSbCvGkcegKOXpEWCQLfWmevgRiWokZ1GkpfhbZug==} - engines: {node: '>=6.9.0'} - dependencies: - regenerator-runtime: 0.13.9 - dev: true - /@babel/runtime@7.19.4: resolution: {integrity: sha512-EXpLCrk55f+cYqmHsSR+yD/0gAIMxxA9QK9lnQWzhMCvt+YmoBN7Zx94s++Kv0+unHk39vxNO8t+CMA2WSS3wA==} engines: {node: '>=6.9.0'} @@ -13300,10 +13293,10 @@ packages: uuid: 8.3.2 uuid-parse: 1.1.0 - /i18next-browser-languagedetector@6.1.4: - resolution: {integrity: sha512-wukWnFeU7rKIWT66VU5i8I+3Zc4wReGcuDK2+kuFhtoxBRGWGdvYI9UQmqNL/yQH1KogWwh+xGEaIPH8V/i2Zg==} + /i18next-browser-languagedetector@7.0.1: + resolution: {integrity: sha512-Pa5kFwaczXJAeHE56CHG2aWzFBMJNUNghf0Pm4SwSrEMps/PTKqW90EYWlIvhuYStf3Sn1K0vw+gH3+TLdkH1g==} dependencies: - '@babel/runtime': 7.18.3 + '@babel/runtime': 7.21.0 dev: true /i18next@22.4.15: @@ -17446,8 +17439,8 @@ packages: - csstype dev: true - /react-i18next@11.18.3(i18next@22.4.15)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-EttTX31HbqzZymUM3SIrMPuvamfSXFZVsDHm/ZAqoDfTLjhzlwyxqfbDNxcKNAGOi2mjZaXfR7hSNMlvLNpB/g==} + /react-i18next@12.2.0(i18next@22.4.15)(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-5XeVgSygaGfyFmDd2WcXvINRw2WEC1XviW1LXY/xLOEMzsCFRwKqfnHN+hUjla8ZipbVJR27GCMSuTr0BhBBBQ==} peerDependencies: i18next: '>= 19.0.0' react: '>= 16.8.0 || ^18.0.0' @@ -17459,7 +17452,7 @@ packages: react-native: optional: true dependencies: - '@babel/runtime': 7.18.3 + '@babel/runtime': 7.21.0 html-parse-stringify: 3.0.1 i18next: 22.4.15 react: 18.2.0 @@ -17797,10 +17790,6 @@ packages: /regenerator-runtime@0.13.11: resolution: {integrity: sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==} - /regenerator-runtime@0.13.9: - resolution: {integrity: sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==} - dev: true - /regexp-tree@0.1.24: resolution: {integrity: sha512-s2aEVuLhvnVJW6s/iPgEGK6R+/xngd2jNQ+xy4bXNDKxZKJH6jpPHY6kVeVv1IeLCHgswRj+Kl3ELaDjG6V1iw==} hasBin: true