From cb238a6a47b3b656ea6dea604013f613de69dfae Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Thu, 6 Jul 2023 22:18:04 -0700 Subject: [PATCH] Update translation dependencies --- package-lock.json | 104 +++++++++++++++++++++++++--------------------- package.json | 10 ++--- 2 files changed, 62 insertions(+), 52 deletions(-) diff --git a/package-lock.json b/package-lock.json index b6c42676..89c74ba1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -38,22 +38,22 @@ "dompurify": "^3.0.4", "fast-deep-equal": "^3.1.3", "fix-date": "^1.1.6", - "i18next": "^21.6.13", - "i18next-browser-languagedetector": "^6.1.3", - "i18next-http-backend": "^1.3.2", + "i18next": "latest", + "i18next-browser-languagedetector": "latest", + "i18next-http-backend": "latest", "local-storage": "^2.0.0", "lodash": "^4.17.21", "lodash.clonedeep": "^4.5.0", "lodash.debounce": "^4.0.8", "meyer-reset-scss": "^2.0.4", "next": "12.0.8", - "next-i18next": "^10.5.0", + "next-i18next": "latest", "next-themes": "^0.2.1", "next-usequerystate": "^1.7.0", "pluralize": "^8.0.0", "react": "^18.0.0", "react-dom": "^18.0.0", - "react-i18next": "^11.15.5", + "react-i18next": "latest", "react-infinite-scroll-component": "^6.1.0", "react-linkify": "^1.0.0-alpha", "react-lite-youtube-embed": "^2.3.52", @@ -5397,11 +5397,11 @@ "integrity": "sha512-VQ2MBenTq1fWZUH9DJNGti7kKv6EeAuYr3cLwxUWhIu1baTaXh4Ib5W2CqHVqib4/MqbYGJqiL3Zb8GJZr3l4g==" }, "node_modules/cross-fetch": { - "version": "3.1.5", - "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.5.tgz", - "integrity": "sha512-lvb1SBsI0Z7GDwmuid+mU3kWVBwTVUbe7S0H52yaaAdQOXq2YktTCZdlAcNKFzE6QtRz0snpw9bNiPeOIkkQvw==", + "version": "3.1.6", + "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.6.tgz", + "integrity": "sha512-riRvo06crlE8HiqOwIpQhxwdOk4fOeR7FVM/wXoxchFEqMNUjvbs3bfo4OTgMEMHzppd4DxFBDbyySj8Cv781g==", "dependencies": { - "node-fetch": "2.6.7" + "node-fetch": "^2.6.11" } }, "node_modules/cross-spawn": { @@ -6878,9 +6878,9 @@ } }, "node_modules/i18next": { - "version": "21.10.0", - "resolved": "https://registry.npmjs.org/i18next/-/i18next-21.10.0.tgz", - "integrity": "sha512-YeuIBmFsGjUfO3qBmMOc0rQaun4mIpGKET5WDwvu8lU7gvwpcariZLNtL0Fzj+zazcHUrlXHiptcFhBMFaxzfg==", + "version": "23.2.8", + "resolved": "https://registry.npmjs.org/i18next/-/i18next-23.2.8.tgz", + "integrity": "sha512-wU0pMlJ91ZbB89i77G3YQ11/pBQrzgWpxJYl7HFyA9aU9v3aHMI/oBKQmAJNURr0A8cLG4EHjgSMK8IqQTp4PQ==", "funding": [ { "type": "individual", @@ -6896,28 +6896,28 @@ } ], "dependencies": { - "@babel/runtime": "^7.17.2" + "@babel/runtime": "^7.22.5" } }, "node_modules/i18next-browser-languagedetector": { - "version": "6.1.8", - "resolved": "https://registry.npmjs.org/i18next-browser-languagedetector/-/i18next-browser-languagedetector-6.1.8.tgz", - "integrity": "sha512-Svm+MduCElO0Meqpj1kJAriTC6OhI41VhlT/A0UPjGoPZBhAHIaGE5EfsHlTpgdH09UVX7rcc72pSDDBeKSQQA==", + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/i18next-browser-languagedetector/-/i18next-browser-languagedetector-7.1.0.tgz", + "integrity": "sha512-cr2k7u1XJJ4HTOjM9GyOMtbOA47RtUoWRAtt52z43r3AoMs2StYKyjS3URPhzHaf+mn10hY9dZWamga5WPQjhA==", "dependencies": { - "@babel/runtime": "^7.19.0" + "@babel/runtime": "^7.19.4" } }, "node_modules/i18next-fs-backend": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/i18next-fs-backend/-/i18next-fs-backend-1.2.0.tgz", - "integrity": "sha512-pUx3AcgXCbur0jpFA7U67Z2RJflAcIi698Y8VL+phdOqUchahxriV3Cs+M6UkPNQSS/zPEzWLfdJ8EgjB7HVxg==" + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/i18next-fs-backend/-/i18next-fs-backend-2.1.5.tgz", + "integrity": "sha512-7fgSH8nVhXSBYPHR/W3tEXXhcnwHwNiND4Dfx9knzPzdsWTUTL/TdDVV+DY0dL0asHKLbdoJaXS4LdVW6R8MVQ==" }, "node_modules/i18next-http-backend": { - "version": "1.4.5", - "resolved": "https://registry.npmjs.org/i18next-http-backend/-/i18next-http-backend-1.4.5.tgz", - "integrity": "sha512-tLuHWuLWl6CmS07o+UB6EcQCaUjrZ1yhdseIN7sfq0u7phsMePJ8pqlGhIAdRDPF/q7ooyo5MID5DRFBCH+x5w==", + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/i18next-http-backend/-/i18next-http-backend-2.2.1.tgz", + "integrity": "sha512-ZXIdn/8NJIBJ0X4hzXfc3STYxKrCKh1fYjji9HPyIpEJfvTvy8/ZlTl8RuTizzCPj2ZcWrfaecyOMKs6bQ7u5A==", "dependencies": { - "cross-fetch": "3.1.5" + "cross-fetch": "3.1.6" } }, "node_modules/ignore": { @@ -7725,28 +7725,38 @@ } }, "node_modules/next-i18next": { - "version": "10.5.0", - "resolved": "https://registry.npmjs.org/next-i18next/-/next-i18next-10.5.0.tgz", - "integrity": "sha512-+Xj/v5gqpEUBKKAaFCZ76+Ps6OGAaIgGowJTF67wTcmIQbHrcHMPjHwPTbnpXy7uHrH8os7i4eAfRENAv/6xwg==", + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/next-i18next/-/next-i18next-14.0.0.tgz", + "integrity": "sha512-umv8hOZoSoAA+td3ErfemyO/5Ib2pnYCdQ8/Oy+fncS2skFIL3hHKRer3Oa3Nfm4Xbv5p6DHWzm3NhT1j4tWwg==", + "funding": [ + { + "type": "individual", + "url": "https://locize.com/i18next.html" + }, + { + "type": "individual", + "url": "https://www.i18next.com/how-to/faq#i18next-is-awesome.-how-can-i-support-the-project" + }, + { + "type": "individual", + "url": "https://locize.com" + } + ], "dependencies": { - "@babel/runtime": "^7.13.17", + "@babel/runtime": "^7.20.13", "@types/hoist-non-react-statics": "^3.3.1", "core-js": "^3", - "hoist-non-react-statics": "^3.2.0", - "i18next": "^21.6.12", - "i18next-fs-backend": "^1.0.7", - "react-i18next": "^11.15.5" + "hoist-non-react-statics": "^3.3.2", + "i18next-fs-backend": "^2.1.5" }, "engines": { - "node": ">=12" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/isaachinman" + "node": ">=14" }, "peerDependencies": { - "next": ">= 10.0.0", - "react": ">= 16.8.0" + "i18next": "^23.0.1", + "next": ">= 12.0.0", + "react": ">= 17.0.2", + "react-i18next": "^13.0.0" } }, "node_modules/next-themes": { @@ -7789,9 +7799,9 @@ } }, "node_modules/node-fetch": { - "version": "2.6.7", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", - "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", + "version": "2.6.12", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.12.tgz", + "integrity": "sha512-C/fGU2E8ToujUivIO0H+tpQ6HWo4eEmchoPIoXtxCrVghxdKq+QOHqEZW7tuP3KlV3bC8FRMO5nMCC7Zm1VP6g==", "dependencies": { "whatwg-url": "^5.0.0" }, @@ -8414,15 +8424,15 @@ } }, "node_modules/react-i18next": { - "version": "11.18.6", - "resolved": "https://registry.npmjs.org/react-i18next/-/react-i18next-11.18.6.tgz", - "integrity": "sha512-yHb2F9BiT0lqoQDt8loZ5gWP331GwctHz9tYQ8A2EIEUu+CcEdjBLQWli1USG3RdWQt3W+jqQLg/d4rrQR96LA==", + "version": "13.0.1", + "resolved": "https://registry.npmjs.org/react-i18next/-/react-i18next-13.0.1.tgz", + "integrity": "sha512-gMO6N2GfSfuH7xlHSsZ/mZf+Py9bLm/+EDKIn5fNTuDTjcCcwmMU5UEuGCDk5mdfivbo7ySyYXBN7B9tbGUxiA==", "dependencies": { - "@babel/runtime": "^7.14.5", + "@babel/runtime": "^7.22.5", "html-parse-stringify": "^3.0.1" }, "peerDependencies": { - "i18next": ">= 19.0.0", + "i18next": ">= 23.2.3", "react": ">= 16.8.0" }, "peerDependenciesMeta": { diff --git a/package.json b/package.json index dafbb708..e67dcc5b 100644 --- a/package.json +++ b/package.json @@ -45,22 +45,22 @@ "dompurify": "^3.0.4", "fast-deep-equal": "^3.1.3", "fix-date": "^1.1.6", - "i18next": "^21.6.13", - "i18next-browser-languagedetector": "^6.1.3", - "i18next-http-backend": "^1.3.2", + "i18next": "latest", + "i18next-browser-languagedetector": "latest", + "i18next-http-backend": "latest", "local-storage": "^2.0.0", "lodash": "^4.17.21", "lodash.clonedeep": "^4.5.0", "lodash.debounce": "^4.0.8", "meyer-reset-scss": "^2.0.4", "next": "12.0.8", - "next-i18next": "^10.5.0", + "next-i18next": "latest", "next-themes": "^0.2.1", "next-usequerystate": "^1.7.0", "pluralize": "^8.0.0", "react": "^18.0.0", "react-dom": "^18.0.0", - "react-i18next": "^11.15.5", + "react-i18next": "latest", "react-infinite-scroll-component": "^6.1.0", "react-linkify": "^1.0.0-alpha", "react-lite-youtube-embed": "^2.3.52",