🔇(frontend) remove ads console i18next

i18next was adding ads to the console. We remove it from
the console thanks to "showSupportNotice" option.
We upgraded to have less noisy console as well
during development.
This commit is contained in:
Anthony LC
2026-03-02 11:12:49 +01:00
parent 54dc72209c
commit a30384573e
3 changed files with 13 additions and 26 deletions

View File

@@ -54,7 +54,7 @@
"emoji-datasource-apple": "16.0.0", "emoji-datasource-apple": "16.0.0",
"emoji-mart": "5.6.0", "emoji-mart": "5.6.0",
"emoji-regex": "10.6.0", "emoji-regex": "10.6.0",
"i18next": "25.8.8", "i18next": "25.8.12",
"i18next-browser-languagedetector": "8.2.1", "i18next-browser-languagedetector": "8.2.1",
"idb": "8.0.3", "idb": "8.0.3",
"lodash": "4.17.23", "lodash": "4.17.23",

View File

@@ -36,6 +36,7 @@ if (!isInitialized && !i18next.isInitialized) {
lowerCaseLng: true, lowerCaseLng: true,
nsSeparator: false, nsSeparator: false,
keySeparator: false, keySeparator: false,
showSupportNotice: false,
}) })
.then(() => { .then(() => {
if (typeof document !== 'undefined') { if (typeof document !== 'undefined') {

View File

@@ -1922,21 +1922,14 @@
resolved "https://registry.yarnpkg.com/@exodus/bytes/-/bytes-1.8.0.tgz#8382835f71db8377cf634a4ef5a71806e86ba9c7" resolved "https://registry.yarnpkg.com/@exodus/bytes/-/bytes-1.8.0.tgz#8382835f71db8377cf634a4ef5a71806e86ba9c7"
integrity sha512-8JPn18Bcp8Uo1T82gR8lh2guEOa5KKU/IEKvvdp0sgmi7coPBWf1Doi1EXsGZb2ehc8ym/StJCjffYV+ne7sXQ== integrity sha512-8JPn18Bcp8Uo1T82gR8lh2guEOa5KKU/IEKvvdp0sgmi7coPBWf1Doi1EXsGZb2ehc8ym/StJCjffYV+ne7sXQ==
"@floating-ui/core@^1.7.3": "@floating-ui/core@^1.7.3", "@floating-ui/core@^1.7.4":
version "1.7.3"
resolved "https://registry.yarnpkg.com/@floating-ui/core/-/core-1.7.3.tgz#462d722f001e23e46d86fd2bd0d21b7693ccb8b7"
integrity sha512-sGnvb5dmrJaKEZ+LDIpguvdX3bDlEllmv4/ClQ9awcmCZrlx5jQyyMWFM5kBI+EyNOCDDiKk8il0zeuX3Zlg/w==
dependencies:
"@floating-ui/utils" "^0.2.10"
"@floating-ui/core@^1.7.4":
version "1.7.4" version "1.7.4"
resolved "https://registry.yarnpkg.com/@floating-ui/core/-/core-1.7.4.tgz#4a006a6e01565c0f87ba222c317b056a2cffd2f4" resolved "https://registry.yarnpkg.com/@floating-ui/core/-/core-1.7.4.tgz#4a006a6e01565c0f87ba222c317b056a2cffd2f4"
integrity sha512-C3HlIdsBxszvm5McXlB8PeOEWfBhcGBTZGkGlWc2U0KFY5IwG5OQEuQ8rq52DZmcHDlPLd+YFBK+cZcytwIFWg== integrity sha512-C3HlIdsBxszvm5McXlB8PeOEWfBhcGBTZGkGlWc2U0KFY5IwG5OQEuQ8rq52DZmcHDlPLd+YFBK+cZcytwIFWg==
dependencies: dependencies:
"@floating-ui/utils" "^0.2.10" "@floating-ui/utils" "^0.2.10"
"@floating-ui/dom@^1.0.0", "@floating-ui/dom@^1.0.1", "@floating-ui/dom@^1.7.4": "@floating-ui/dom@^1.0.0", "@floating-ui/dom@^1.0.1":
version "1.7.4" version "1.7.4"
resolved "https://registry.yarnpkg.com/@floating-ui/dom/-/dom-1.7.4.tgz#ee667549998745c9c3e3e84683b909c31d6c9a77" resolved "https://registry.yarnpkg.com/@floating-ui/dom/-/dom-1.7.4.tgz#ee667549998745c9c3e3e84683b909c31d6c9a77"
integrity sha512-OOchDgh4F2CchOX94cRVqhvy7b3AFb+/rQXyswmzmGakRfkMgoWVjfnLWkRirfLEfuD4ysVW16eXzwt3jHIzKA== integrity sha512-OOchDgh4F2CchOX94cRVqhvy7b3AFb+/rQXyswmzmGakRfkMgoWVjfnLWkRirfLEfuD4ysVW16eXzwt3jHIzKA==
@@ -1952,20 +1945,13 @@
"@floating-ui/core" "^1.7.4" "@floating-ui/core" "^1.7.4"
"@floating-ui/utils" "^0.2.10" "@floating-ui/utils" "^0.2.10"
"@floating-ui/react-dom@^2.1.2": "@floating-ui/react-dom@^2.1.2", "@floating-ui/react-dom@^2.1.7":
version "2.1.7" version "2.1.7"
resolved "https://registry.yarnpkg.com/@floating-ui/react-dom/-/react-dom-2.1.7.tgz#529475cc16ee4976ba3387968117e773d9aa703e" resolved "https://registry.yarnpkg.com/@floating-ui/react-dom/-/react-dom-2.1.7.tgz#529475cc16ee4976ba3387968117e773d9aa703e"
integrity sha512-0tLRojf/1Go2JgEVm+3Frg9A3IW8bJgKgdO0BN5RkF//ufuz2joZM63Npau2ff3J6lUVYgDSNzNkR+aH3IVfjg== integrity sha512-0tLRojf/1Go2JgEVm+3Frg9A3IW8bJgKgdO0BN5RkF//ufuz2joZM63Npau2ff3J6lUVYgDSNzNkR+aH3IVfjg==
dependencies: dependencies:
"@floating-ui/dom" "^1.7.5" "@floating-ui/dom" "^1.7.5"
"@floating-ui/react-dom@^2.1.6":
version "2.1.6"
resolved "https://registry.yarnpkg.com/@floating-ui/react-dom/-/react-dom-2.1.6.tgz#189f681043c1400561f62972f461b93f01bf2231"
integrity sha512-4JX6rEatQEvlmgU80wZyq9RT96HZJa88q8hp0pBd+LrczeDI4o6uA2M+uvxngVHo4Ihr8uibXxH6+70zhAFrVw==
dependencies:
"@floating-ui/dom" "^1.7.4"
"@floating-ui/react@^0.26.28": "@floating-ui/react@^0.26.28":
version "0.26.28" version "0.26.28"
resolved "https://registry.yarnpkg.com/@floating-ui/react/-/react-0.26.28.tgz#93f44ebaeb02409312e9df9507e83aab4a8c0dc7" resolved "https://registry.yarnpkg.com/@floating-ui/react/-/react-0.26.28.tgz#93f44ebaeb02409312e9df9507e83aab4a8c0dc7"
@@ -1976,11 +1962,11 @@
tabbable "^6.0.0" tabbable "^6.0.0"
"@floating-ui/react@^0.27.16": "@floating-ui/react@^0.27.16":
version "0.27.16" version "0.27.18"
resolved "https://registry.yarnpkg.com/@floating-ui/react/-/react-0.27.16.tgz#6e485b5270b7a3296fdc4d0faf2ac9abf955a2f7" resolved "https://registry.yarnpkg.com/@floating-ui/react/-/react-0.27.18.tgz#a664a45a867ed5e2999a858b5236a53cf60cf412"
integrity sha512-9O8N4SeG2z++TSM8QA/KTeKFBVCNEz/AGS7gWPJf6KFRzmRWixFRnCnkPHRDwSVZW6QPDO6uT0P2SpWNKCc9/g== integrity sha512-xJWJxvmy3a05j643gQt+pRbht5XnTlGpsEsAPnMi5F5YTOEEJymA90uZKBD8OvIv5XvZ1qi4GcccSlqT3Bq44Q==
dependencies: dependencies:
"@floating-ui/react-dom" "^2.1.6" "@floating-ui/react-dom" "^2.1.7"
"@floating-ui/utils" "^0.2.10" "@floating-ui/utils" "^0.2.10"
tabbable "^6.0.0" tabbable "^6.0.0"
@@ -11248,10 +11234,10 @@ i18next-parser@9.3.0:
vinyl "^3.0.0" vinyl "^3.0.0"
vinyl-fs "^4.0.0" vinyl-fs "^4.0.0"
i18next@25.8.8: i18next@25.8.12:
version "25.8.8" version "25.8.12"
resolved "https://registry.yarnpkg.com/i18next/-/i18next-25.8.8.tgz#b5fdf59a90ffda5f2cfe41725b6eb04e86a2fac8" resolved "https://registry.yarnpkg.com/i18next/-/i18next-25.8.12.tgz#17ec5a081b848c6a4b3c398c65f5336804977c67"
integrity sha512-gNTWXMBe9JBr6LAl2tqRfa6fn2EjrQJ3JBeH2jR+yIckwaJYdI7UfMQrnxzFjuFBb2FHy9Yn4gJB2BwLuC8/ZQ== integrity sha512-hw59RF5QaH9i3l47hTXjeLLtzgVO8OtznlTJZbulmaLbz+itA1hIKWHTEiajY9W2SNPzvL8U5nTBVt7SsOGNRA==
dependencies: dependencies:
"@babel/runtime" "^7.28.4" "@babel/runtime" "^7.28.4"