Skip to content

Commit

Permalink
chore: bump i18next
Browse files Browse the repository at this point in the history
  • Loading branch information
chybisov committed Oct 21, 2022
1 parent 0b37abe commit 689ca8c
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"@testing-library/user-event": "^14.4.3",
"@types/big.js": "^6.1.6",
"@types/events": "^3.0.0",
"@types/node": "^18.11.2",
"@types/node": "^18.11.3",
"@types/react": "^18.0.21",
"@types/react-dom": "^18.0.6",
"@types/uuid": "^8.3.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/widget-embedded/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"devDependencies": {
"@esbuild-plugins/node-globals-polyfill": "^0.1.1",
"@types/events": "^3.0.0",
"@types/node": "^18.11.2",
"@types/node": "^18.11.3",
"@types/react": "^18.0.21",
"@types/react-dom": "^18.0.6",
"@vitejs/plugin-react": "^2.1.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/widget/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,15 @@
"@tanstack/react-query": "^4.12.0",
"@tanstack/react-virtual": "^3.0.0-beta.18",
"big.js": "^6.2.1",
"i18next": "^22.0.1",
"i18next": "^22.0.2",
"i18next-browser-languagedetector": "^6.1.8",
"immer": "^9.0.15",
"microdiff": "^1.3.1",
"mitt": "^3.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hook-form": "^7.38.0",
"react-i18next": "^11.18.6",
"react-i18next": "^12.0.0",
"react-router-dom": "^6.4.2",
"react-timer-hook": "^3.0.5",
"zustand": "^4.1.2"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import 'react-i18next';
import 'i18next';
import en from './en.json';

const defaultResource = { translation: en };

declare module 'react-i18next' {
declare module 'i18next' {
interface CustomTypeOptions {
defaultNS: 'translation';
resources: typeof defaultResource;
Expand Down
24 changes: 12 additions & 12 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3076,10 +3076,10 @@
resolved "https://registry.yarnpkg.com/@types/node/-/node-18.8.4.tgz#54be907698f40de8a45770b48486aa3cbd3adff7"
integrity sha512-WdlVphvfR/GJCLEMbNA8lJ0lhFNBj4SW3O+O5/cEGw9oYrv0al9zTwuQsq+myDUXgNx2jgBynoVgZ2MMJ6pbow==

"@types/node@^18.11.2":
version "18.11.2"
resolved "https://registry.yarnpkg.com/@types/node/-/node-18.11.2.tgz#c59b7641832531264fda3f1ba610362dc9a7dfc8"
integrity sha512-BWN3M23gLO2jVG8g/XHIRFWiiV4/GckeFIqbU/C4V3xpoBBWSMk4OZomouN0wCkfQFPqgZikyLr7DOYDysIkkw==
"@types/node@^18.11.3":
version "18.11.3"
resolved "https://registry.yarnpkg.com/@types/node/-/node-18.11.3.tgz#78a6d7ec962b596fc2d2ec102c4dd3ef073fea6a"
integrity sha512-fNjDQzzOsZeKZu5NATgXUPsaFaTxeRgFXoosrHivTl8RGeV733OLawXsGfEk9a8/tySyZUyiZ6E8LcjPFZ2y1A==

"@types/normalize-package-data@^2.4.0":
version "2.4.1"
Expand Down Expand Up @@ -6213,10 +6213,10 @@ i18next-browser-languagedetector@^6.1.8:
dependencies:
"@babel/runtime" "^7.19.0"

i18next@^22.0.1:
version "22.0.1"
resolved "https://registry.yarnpkg.com/i18next/-/i18next-22.0.1.tgz#cf21f5152c8cf4d29341ff44818cfe9f12fec87b"
integrity sha512-CRbtl6urEcIDbIzP4sGoPf9YuDNto1JgCRsfdvcVUOPb8nPAQ0azhPZiSdD5AFg/Erb58+/nDRmhm8bzVyjABQ==
i18next@^22.0.2:
version "22.0.2"
resolved "https://registry.yarnpkg.com/i18next/-/i18next-22.0.2.tgz#04634aa751388625735cdb41f625a6b0dd1dcb2f"
integrity sha512-rGXWILemhx0dpNE5PfudVU1g4SdW0hkh4WYHaP8Cl6gm1KkMdBckmNqj9WvYqp8fOSocqX5FFJeadwiOZHLSXQ==
dependencies:
"@babel/runtime" "^7.17.2"

Expand Down Expand Up @@ -8110,10 +8110,10 @@ react-hook-form@^7.38.0:
resolved "https://registry.yarnpkg.com/react-hook-form/-/react-hook-form-7.38.0.tgz#53d6a68df587ce4ce88352f63e0ecc7fc8779320"
integrity sha512-gxWW1kMeru9xR1GoR+Iw4hA+JBOM3SHfr4DWCUKY0xc7Vv1MLsF109oHtBeWl9shcyPFx67KHru44DheN0XY5A==

react-i18next@^11.18.6:
version "11.18.6"
resolved "https://registry.yarnpkg.com/react-i18next/-/react-i18next-11.18.6.tgz#e159c2960c718c1314f1e8fcaa282d1c8b167887"
integrity sha512-yHb2F9BiT0lqoQDt8loZ5gWP331GwctHz9tYQ8A2EIEUu+CcEdjBLQWli1USG3RdWQt3W+jqQLg/d4rrQR96LA==
react-i18next@^12.0.0:
version "12.0.0"
resolved "https://registry.yarnpkg.com/react-i18next/-/react-i18next-12.0.0.tgz#634015a2c035779c5736ae4c2e5c34c1659753b1"
integrity sha512-/O7N6aIEAl1FaWZBNvhdIo9itvF/MO/nRKr9pYqRc9LhuC1u21SlfwpiYQqvaeNSEW3g3qUXLREOWMt+gxrWbg==
dependencies:
"@babel/runtime" "^7.14.5"
html-parse-stringify "^3.0.1"
Expand Down

0 comments on commit 689ca8c

Please sign in to comment.