Skip to content

Commit f57fa62

Browse files
committed
Update i18next deps
1 parent fa04883 commit f57fa62

File tree

4 files changed

+26
-25
lines changed

4 files changed

+26
-25
lines changed

example/yarn.lock

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3556,10 +3556,10 @@ i18next-xhr-backend@^1.5.1:
35563556
resolved "https://registry.yarnpkg.com/i18next-xhr-backend/-/i18next-xhr-backend-1.5.1.tgz#50282610780c6a696d880dfa7f4ac1d01e8c3ad5"
35573557
integrity sha512-9OLdC/9YxDvTFcgsH5t2BHCODHEotHCa6h7Ly0EUlUC7Y2GS09UeoHOGj3gWKQ3HCqXz8NlH4gOrK3NNc9vPuw==
35583558

3559-
i18next@^12.0.0:
3560-
version "12.0.0"
3561-
resolved "https://registry.yarnpkg.com/i18next/-/i18next-12.0.0.tgz#27c1494219dde0451a8d714d5bfc19bf055d51bb"
3562-
integrity sha512-Zy/nFpmBZxgmi6k9HkHbf+MwvAwiY5BDzNjNfvyLPKyalc2YBwwZtblESDlTKLDO8XSv23qYRY2uZcADDlRSjQ==
3559+
i18next@^13.0.0:
3560+
version "13.0.0"
3561+
resolved "https://registry.yarnpkg.com/i18next/-/i18next-13.0.0.tgz#3d8de7ff3c2cf23cd6d91c4d5861c4756d8a73c6"
3562+
integrity sha512-P8SDA5PN4bI5/ZdLE2AlanZhU+eXh31icrojQvbGcG7jovoDoz79eKY9mSgQ0LAeuDFKAw4Vl4mGf1/EWGFACg==
35633563

35643564
35653565
version "0.4.23"
@@ -4480,18 +4480,18 @@ neo-async@^2.5.0:
44804480
integrity sha512-MFh0d/Wa7vkKO3Y3LlacqAEeHK0mckVqzDieUKTT+KGxi+zIpeVsFxymkIiRpbpDziHc290Xr9A1O4Om7otoRA==
44814481

44824482
next-i18next@../:
4483-
version "0.10.3"
4483+
version "0.12.2"
44844484
dependencies:
44854485
detect-node "^2.0.4"
44864486
hoist-non-react-statics "^3.2.0"
4487-
i18next "^12.0.0"
4487+
i18next "^13.0.0"
44884488
i18next-browser-languagedetector "^2.2.4"
44894489
i18next-express-middleware "^1.5.0"
44904490
i18next-node-fs-backend "^2.1.0"
44914491
i18next-xhr-backend "^1.5.1"
44924492
prop-types "^15.6.2"
44934493
react "^16.6.3"
4494-
react-i18next "^8.3.8"
4494+
react-i18next "^8.4.0"
44954495
url-parse "^1.4.4"
44964496

44974497
next@^7.0.2:
@@ -5224,10 +5224,10 @@ [email protected]:
52245224
resolved "https://registry.yarnpkg.com/react-error-overlay/-/react-error-overlay-4.0.0.tgz#d198408a85b4070937a98667f500c832f86bd5d4"
52255225
integrity sha512-FlsPxavEyMuR6TjVbSSywovXSEyOg6ZDj5+Z8nbsRl9EkOzAhEIcS+GLoQDC5fz/t9suhUXWmUrOBrgeUvrMxw==
52265226

5227-
react-i18next@^8.3.8:
5228-
version "8.3.8"
5229-
resolved "https://registry.yarnpkg.com/react-i18next/-/react-i18next-8.3.8.tgz#6f0f56d048cc10e60ae7ea1a8266e460261d6777"
5230-
integrity sha512-ZcSpakSBcDxPJkl34fv/SI0TaoTDvVDrk4WpDF+WElorine+dHUjGMAA6RG5Km2KcLNW1t4GLunHprgKiqDrSw==
5227+
react-i18next@^8.4.0:
5228+
version "8.4.0"
5229+
resolved "https://registry.yarnpkg.com/react-i18next/-/react-i18next-8.4.0.tgz#e9f0c5b9938b155eaa6051360614719c08cae72f"
5230+
integrity sha512-zIO/bc1L0UUGdaws2y40cTiSQHuQud5e9SSodYM6MTzhJTI3iayxCCdgvotblOLM4taOD77Ct2/fUbheQIhyeg==
52315231
dependencies:
52325232
"@babel/runtime" "^7.1.2"
52335233
create-react-context "0.2.3"

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,14 @@
5353
"dependencies": {
5454
"detect-node": "^2.0.4",
5555
"hoist-non-react-statics": "^3.2.0",
56-
"i18next": "^12.0.0",
56+
"i18next": "^13.0.0",
5757
"i18next-browser-languagedetector": "^2.2.4",
5858
"i18next-express-middleware": "^1.5.0",
5959
"i18next-node-fs-backend": "^2.1.0",
6060
"i18next-xhr-backend": "^1.5.1",
6161
"prop-types": "^15.6.2",
6262
"react": "^16.6.3",
63-
"react-i18next": "^8.3.8",
63+
"react-i18next": "^8.4.0",
6464
"url-parse": "^1.4.4"
6565
}
6666
}

src/create-i18next-client.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ export default (config) => {
1212
if (isNode) {
1313
const i18nextNodeBackend = eval("require('i18next-node-fs-backend')")
1414
const i18nextMiddleware = eval("require('i18next-express-middleware')")
15-
i18n.use(i18nextNodeBackend).use(i18nextMiddleware.LanguageDetector)
15+
i18n.use(i18nextNodeBackend)
16+
i18n.use(i18nextMiddleware.LanguageDetector)
1617
} else {
1718
i18n.use(i18nextXHRBackend)
1819
if (config.browserLanguageDetection) {

yarn.lock

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -670,9 +670,9 @@
670670
source-map-support "^0.5.9"
671671

672672
"@babel/runtime@^7.1.2":
673-
version "7.1.5"
674-
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.1.5.tgz#4170907641cf1f61508f563ece3725150cc6fe39"
675-
integrity sha512-xKnPpXG/pvK1B90JkwwxSGii90rQGKtzcMt2gI5G6+M0REXaq6rOHsGC2ay6/d0Uje7zzvSzjEzfR3ENhFlrfA==
673+
version "7.2.0"
674+
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.2.0.tgz#b03e42eeddf5898e00646e4c840fa07ba8dcad7f"
675+
integrity sha512-oouEibCbHMVdZSDlJBO6bZmID/zA/G/Qx3H1d3rSNPTD+L8UNKvCat7aKWSJ74zYbm5zWGh0GQN0hKj8zYFTCg==
676676
dependencies:
677677
regenerator-runtime "^0.12.0"
678678

@@ -2094,10 +2094,10 @@ i18next-xhr-backend@^1.5.1:
20942094
resolved "https://registry.yarnpkg.com/i18next-xhr-backend/-/i18next-xhr-backend-1.5.1.tgz#50282610780c6a696d880dfa7f4ac1d01e8c3ad5"
20952095
integrity sha512-9OLdC/9YxDvTFcgsH5t2BHCODHEotHCa6h7Ly0EUlUC7Y2GS09UeoHOGj3gWKQ3HCqXz8NlH4gOrK3NNc9vPuw==
20962096

2097-
i18next@^12.0.0:
2098-
version "12.0.0"
2099-
resolved "https://registry.yarnpkg.com/i18next/-/i18next-12.0.0.tgz#27c1494219dde0451a8d714d5bfc19bf055d51bb"
2100-
integrity sha512-Zy/nFpmBZxgmi6k9HkHbf+MwvAwiY5BDzNjNfvyLPKyalc2YBwwZtblESDlTKLDO8XSv23qYRY2uZcADDlRSjQ==
2097+
i18next@^13.0.0:
2098+
version "13.0.0"
2099+
resolved "https://registry.yarnpkg.com/i18next/-/i18next-13.0.0.tgz#3d8de7ff3c2cf23cd6d91c4d5861c4756d8a73c6"
2100+
integrity sha512-P8SDA5PN4bI5/ZdLE2AlanZhU+eXh31icrojQvbGcG7jovoDoz79eKY9mSgQ0LAeuDFKAw4Vl4mGf1/EWGFACg==
21012101

21022102
iconv-lite@^0.4.24, iconv-lite@^0.4.4, iconv-lite@~0.4.13:
21032103
version "0.4.24"
@@ -3168,10 +3168,10 @@ rc@^1.2.7:
31683168
minimist "^1.2.0"
31693169
strip-json-comments "~2.0.1"
31703170

3171-
react-i18next@^8.3.8:
3172-
version "8.3.8"
3173-
resolved "https://registry.yarnpkg.com/react-i18next/-/react-i18next-8.3.8.tgz#6f0f56d048cc10e60ae7ea1a8266e460261d6777"
3174-
integrity sha512-ZcSpakSBcDxPJkl34fv/SI0TaoTDvVDrk4WpDF+WElorine+dHUjGMAA6RG5Km2KcLNW1t4GLunHprgKiqDrSw==
3171+
react-i18next@^8.4.0:
3172+
version "8.4.0"
3173+
resolved "https://registry.yarnpkg.com/react-i18next/-/react-i18next-8.4.0.tgz#e9f0c5b9938b155eaa6051360614719c08cae72f"
3174+
integrity sha512-zIO/bc1L0UUGdaws2y40cTiSQHuQud5e9SSodYM6MTzhJTI3iayxCCdgvotblOLM4taOD77Ct2/fUbheQIhyeg==
31753175
dependencies:
31763176
"@babel/runtime" "^7.1.2"
31773177
create-react-context "0.2.3"

0 commit comments

Comments
 (0)