From ed7f74c99c87f052f633fe3aa9d7a0bfe73fad71 Mon Sep 17 00:00:00 2001 From: AkaraChen Date: Mon, 28 Oct 2024 15:32:39 +0800 Subject: [PATCH] build: update i18n pkg --- web/package.json | 10 +++++----- web/pnpm-lock.yaml | 38 +++++++++++++++++++------------------- 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/web/package.json b/web/package.json index 558c45bb28..aa9c4953ca 100644 --- a/web/package.json +++ b/web/package.json @@ -28,7 +28,7 @@ "@dagrejs/dagre": "^1.1.2", "@emoji-mart/data": "^1.2.1", "@floating-ui/react": "^0.25.2", - "@formatjs/intl-localematcher": "^0.5.4", + "@formatjs/intl-localematcher": "^0.5.6", "@headlessui/react": "^1.7.13", "@heroicons/react": "^2.0.16", "@hookform/resolvers": "^3.3.4", @@ -54,8 +54,8 @@ "emoji-mart": "^5.6.0", "fast-deep-equal": "^3.1.3", "globals": "^15.11.0", - "i18next": "^22.4.13", - "i18next-resources-to-backend": "^1.1.3", + "i18next": "^23.16.4", + "i18next-resources-to-backend": "^1.2.1", "immer": "^9.0.19", "js-audio-recorder": "^1.0.7", "js-cookie": "^3.0.5", @@ -79,7 +79,7 @@ "react-error-boundary": "^4.1.2", "react-headless-pagination": "^1.1.4", "react-hook-form": "^7.51.4", - "react-i18next": "^12.2.0", + "react-i18next": "^15.1.0", "react-infinite-scroll-component": "^6.1.0", "react-markdown": "^8.0.6", "react-multi-email": "^1.0.14", @@ -134,7 +134,7 @@ "@types/jest": "^29.5.13", "@types/js-cookie": "^3.0.6", "@types/lodash-es": "^4.17.12", - "@types/negotiator": "^0.6.1", + "@types/negotiator": "^0.6.3", "@types/node": "18.15.0", "@types/qs": "^6.9.16", "@types/react": "~18.2.0", diff --git a/web/pnpm-lock.yaml b/web/pnpm-lock.yaml index ed50dd143f..040f88e83f 100644 --- a/web/pnpm-lock.yaml +++ b/web/pnpm-lock.yaml @@ -26,8 +26,8 @@ importers: specifier: ^0.25.2 version: 0.25.4(react-dom@18.2.0(react@18.2.0))(react@18.2.0) '@formatjs/intl-localematcher': - specifier: ^0.5.4 - version: 0.5.5 + specifier: ^0.5.6 + version: 0.5.6 '@headlessui/react': specifier: ^1.7.13 version: 1.7.19(react-dom@18.2.0(react@18.2.0))(react@18.2.0) @@ -104,10 +104,10 @@ importers: specifier: ^15.11.0 version: 15.11.0 i18next: - specifier: ^22.4.13 - version: 22.5.1 + specifier: ^23.16.4 + version: 23.16.4 i18next-resources-to-backend: - specifier: ^1.1.3 + specifier: ^1.2.1 version: 1.2.1 immer: specifier: ^9.0.19 @@ -179,8 +179,8 @@ importers: specifier: ^7.51.4 version: 7.53.1(react@18.2.0) react-i18next: - specifier: ^12.2.0 - version: 12.3.1(i18next@22.5.1)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + specifier: ^15.1.0 + version: 15.1.0(i18next@23.16.4)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react-infinite-scroll-component: specifier: ^6.1.0 version: 6.1.0(react@18.2.0) @@ -339,7 +339,7 @@ importers: specifier: ^4.17.12 version: 4.17.12 '@types/negotiator': - specifier: ^0.6.1 + specifier: ^0.6.3 version: 0.6.3 '@types/node': specifier: 18.15.0 @@ -1439,8 +1439,8 @@ packages: '@floating-ui/utils@0.2.8': resolution: {integrity: sha512-kym7SodPp8/wloecOpcmSnWJsK7M0E5Wg8UcFA+uO4B9s5d0ywXOEro/8HM9x0rW+TljRzul/14UYz3TleT3ig==} - '@formatjs/intl-localematcher@0.5.5': - resolution: {integrity: sha512-t5tOGMgZ/i5+ALl2/offNqAQq/lfUnKLEw0mXQI4N4bqpedhrSE+fyKLpwnd22sK0dif6AV+ufQcTsKShB9J1g==} + '@formatjs/intl-localematcher@0.5.6': + resolution: {integrity: sha512-roz1+Ba5e23AHX6KUAWmLEyTRZegM5YDuxuvkHCyK3RJddf/UXB2f+s7pOMm9ktfPGla0g+mQXOn5vsuYirnaA==} '@headlessui/react@1.7.19': resolution: {integrity: sha512-Ll+8q3OlMJfJbAKM/+/Y2q6PPYbryqNTXDbryx7SXLIDamkF6iQFbriYHga0dY44PvDhvvBWCx1Xj4U5+G4hOw==} @@ -4982,8 +4982,8 @@ packages: i18next-resources-to-backend@1.2.1: resolution: {integrity: sha512-okHbVA+HZ7n1/76MsfhPqDou0fptl2dAlhRDu2ideXloRRduzHsqDOznJBef+R3DFZnbvWoBW+KxJ7fnFjd6Yw==} - i18next@22.5.1: - resolution: {integrity: sha512-8TGPgM3pAD+VRsMtUMNknRz3kzqwp/gPALrWMsDnmC1mKqJwpWyooQRLMcbTwq8z8YwSmuj+ZYvc+xCuEpkssA==} + i18next@23.16.4: + resolution: {integrity: sha512-9NIYBVy9cs4wIqzurf7nLXPyf3R78xYbxExVqHLK9od3038rjpyOEzW+XB130kZ1N4PZ9inTtJ471CRJ4Ituyg==} iconv-lite@0.4.24: resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==} @@ -6791,10 +6791,10 @@ packages: peerDependencies: react: ^16.8.0 || ^17 || ^18 || ^19 - react-i18next@12.3.1: - resolution: {integrity: sha512-5v8E2XjZDFzK7K87eSwC7AJcAkcLt5xYZ4+yTPDAW1i7C93oOY1dnr4BaQM7un4Hm+GmghuiPvevWwlca5PwDA==} + react-i18next@15.1.0: + resolution: {integrity: sha512-zj3nJynMnZsy2gPZiOTC7XctCY5eQGqT3tcKMmfJWC9FMvgd+960w/adq61j8iPzpwmsXejqID9qC3Mqu1Xu2Q==} peerDependencies: - i18next: '>= 19.0.0' + i18next: '>= 23.2.3' react: '>= 16.8.0' react-dom: '*' react-native: '*' @@ -9357,7 +9357,7 @@ snapshots: '@floating-ui/utils@0.2.8': {} - '@formatjs/intl-localematcher@0.5.5': + '@formatjs/intl-localematcher@0.5.6': dependencies: tslib: 2.8.0 @@ -13924,7 +13924,7 @@ snapshots: dependencies: '@babel/runtime': 7.25.7 - i18next@22.5.1: + i18next@23.16.4: dependencies: '@babel/runtime': 7.25.7 @@ -16399,11 +16399,11 @@ snapshots: dependencies: react: 18.2.0 - react-i18next@12.3.1(i18next@22.5.1)(react-dom@18.2.0(react@18.2.0))(react@18.2.0): + react-i18next@15.1.0(i18next@23.16.4)(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: '@babel/runtime': 7.25.7 html-parse-stringify: 3.0.1 - i18next: 22.5.1 + i18next: 23.16.4 react: 18.2.0 optionalDependencies: react-dom: 18.2.0(react@18.2.0)