Skip to content

armgit / avibe

Public Imported from GitHub
0

Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.

chore(deps): bump react-i18next from 16.5.3 to 17.0.16 in /ui (#2703)

dependabot[bot]82e0d2503565
diff --git a/ui/package-lock.json b/ui/package-lock.json
index e9bb4f309..b068117cf 100644
--- a/ui/package-lock.json
+++ b/ui/package-lock.json
@@ -39,7 +39,7 @@
"docx-preview": "^0.4.1",
"dompurify": "3.4.17",
"framer-motion": "^12.26.2",
- "i18next": "^25.7.4",
+ "i18next": "^26.4.7",
"i18next-browser-languagedetector": "^8.2.1",
"lexical": "^0.52.0",
"lexical-beautiful-mentions": "^0.1.48",
@@ -50,7 +50,7 @@
"qrcode.react": "^4.2.0",
"react": "^19.3.0",
"react-dom": "^19.3.0",
- "react-i18next": "^16.5.3",
+ "react-i18next": "^17.0.16",
"react-markdown": "^10.1.0",
"react-router-dom": "^7.18.4",
"react-zoom-pan-pinch": "^4.2.0",
@@ -348,9 +348,9 @@
}
},
"node_modules/@babel/runtime": {
- "version": "7.28.6",
- "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.28.6.tgz",
- "integrity": "sha512-05WQkdpL9COIMz4LjTxGpPNCdlpyimKppYNoJ5Di5EUObifl8t4tuLuUBBZEpoLYOmfvIWrsp9fCl0HoPRVTdA==",
+ "version": "7.29.10",
+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.29.10.tgz",
+ "integrity": "sha512-NpugTzbKgGrNe45Ui32cN8vCFFMxVtP/9rtfwv0nP5FRDAjvYBxJcLVpYA9mr1jxP6cnIT7x9LUzuDTbWYYNRA==",
"license": "MIT",
"engines": {
"node": ">=6.9.0"
@@ -4922,12 +4922,12 @@
}
},
"node_modules/html-parse-stringify": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/html-parse-stringify/-/html-parse-stringify-3.0.1.tgz",
- "integrity": "sha512-KknJ50kTInJ7qIScF3jeaFRpMpE8/lfiTdzf/twXyPBLAGrLRTmkz3AdTnKeh40X8k9L2fdYwEp/42WGXIRGcg==",
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/html-parse-stringify/-/html-parse-stringify-4.0.1.tgz",
+ "integrity": "sha512-0zHsZJrK7S3K2aucXWL6ycoYJ/iNtIcFHC/nYQgFklPtrv5LpJctIiSCroWZWeuoXvuyFdzp6KzjJQ+OT5MfFw==",
"license": "MIT",
- "dependencies": {
- "void-elements": "3.1.0"
+ "funding": {
+ "url": "https://locize.com"
}
},
"node_modules/html-url-attributes": {
@@ -4951,29 +4951,26 @@
}
},
"node_modules/i18next": {
- "version": "25.7.4",
- "resolved": "https://registry.npmjs.org/i18next/-/i18next-25.7.4.tgz",
- "integrity": "sha512-hRkpEblXXcXSNbw8mBNq9042OEetgyB/ahc/X17uV/khPwzV+uB8RHceHh3qavyrkPJvmXFKXME2Sy1E0KjAfw==",
+ "version": "26.4.7",
+ "resolved": "https://registry.npmjs.org/i18next/-/i18next-26.4.7.tgz",
+ "integrity": "sha512-p/3hqy6EcuqRs6wNwBYwGGC1fzBJSMxV9zMuN814ab/7QjdZbXfjXwuPZdQbngX6KDOTxM01uUiZyqmMB8ghZg==",
"funding": [
{
"type": "individual",
- "url": "https://locize.com"
+ "url": "https://www.locize.com/i18next"
},
{
"type": "individual",
- "url": "https://locize.com/i18next.html"
+ "url": "https://www.i18next.com/how-to/faq#i18next-is-awesome.-how-can-i-support-the-project"
},
{
"type": "individual",
- "url": "https://www.i18next.com/how-to/faq#i18next-is-awesome.-how-can-i-support-the-project"
+ "url": "https://www.locize.com"
}
],
"license": "MIT",
- "dependencies": {
- "@babel/runtime": "^7.28.4"
- },
"peerDependencies": {
- "typescript": "^5"
+ "typescript": "^5 || ^6 || ^7"
},
"peerDependenciesMeta": {
"typescript": {
@@ -7144,19 +7141,19 @@
}
},
"node_modules/react-i18next": {
- "version": "16.5.3",
- "resolved": "https://registry.npmjs.org/react-i18next/-/react-i18next-16.5.3.tgz",
- "integrity": "sha512-fo+/NNch37zqxOzlBYrWMx0uy/yInPkRfjSuy4lqKdaecR17nvCHnEUt3QyzA8XjQ2B/0iW/5BhaHR3ZmukpGw==",
+ "version": "17.0.16",
+ "resolved": "https://registry.npmjs.org/react-i18next/-/react-i18next-17.0.16.tgz",
+ "integrity": "sha512-7uImVD9hG5yUOaP5KHVied1x0A004Di/KU031ULR35Ma+9e9H5GdnNZHgQEIByyAz+IAXBkRDTedNVzjPUH8ZA==",
"license": "MIT",
"dependencies": {
- "@babel/runtime": "^7.28.4",
- "html-parse-stringify": "^3.0.1",
+ "@babel/runtime": "^7.29.7",
+ "html-parse-stringify": "^4.0.1",
"use-sync-external-store": "^1.6.0"
},
"peerDependencies": {
- "i18next": ">= 25.6.2",
+ "i18next": ">= 26.2.0",
"react": ">= 16.8.0",
- "typescript": "^5"
+ "typescript": "^5 || ^6 || ^7"
},
"peerDependenciesMeta": {
"react-dom": {
@@ -8630,15 +8627,6 @@
}
}
},
- "node_modules/void-elements": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/void-elements/-/void-elements-3.1.0.tgz",
- "integrity": "sha512-Dhxzh5HZuiHQhbvTW9AMetFfBHDMYpo23Uo9btPXgdYP+3T5S+p+jgNy7spra+veYhBP2dCSgxR/i2Y02h5/6w==",
- "license": "MIT",
- "engines": {
- "node": ">=0.10.0"
- }
- },
"node_modules/w3c-xmlserializer": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-5.0.0.tgz",
@@ -8857,17 +8845,6 @@
"type": "github",
"url": "https://github.com/sponsors/wooorm"
}
- },
- "node_modules/@emnapi/wasi-threads": {
- "version": "1.2.3",
- "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.2.3.tgz",
- "integrity": "sha512-ELEBe8PsLvvJ6QMr0zLt8ffvOHW/dc1m3CEzNMg7aJUv3bMaoDtw2TXyDAwkYBuroxxuHEwhRTLJSe5sya547g==",
- "dev": true,
- "license": "MIT",
- "optional": true,
- "dependencies": {
- "tslib": "^2.4.0"
- }
}
}
}
diff --git a/ui/package.json b/ui/package.json
index b3e1bc571..323ee4d9e 100644
--- a/ui/package.json
+++ b/ui/package.json
@@ -70,7 +70,7 @@
"docx-preview": "^0.4.1",
"dompurify": "3.4.17",
"framer-motion": "^12.26.2",
- "i18next": "^25.7.4",
+ "i18next": "^26.4.7",
"i18next-browser-languagedetector": "^8.2.1",
"lexical": "^0.52.0",
"lexical-beautiful-mentions": "^0.1.48",
@@ -81,7 +81,7 @@
"qrcode.react": "^4.2.0",
"react": "^19.3.0",
"react-dom": "^19.3.0",
- "react-i18next": "^16.5.3",
+ "react-i18next": "^17.0.16",
"react-markdown": "^10.1.0",
"react-router-dom": "^7.18.4",
"react-zoom-pan-pinch": "^4.2.0",
diff --git a/ui/src/i18n/types.ts b/ui/src/i18n/types.ts
index ee36a0208..a09e5cf72 100644
--- a/ui/src/i18n/types.ts
+++ b/ui/src/i18n/types.ts
@@ -1,11 +1,17 @@
import type { ParseKeys, TFunctionReturn } from 'i18next';
+import type {} from './i18next';
+import type en from './en.json';
+import type { TranslationPaths } from './resourceTypes';
/** Text leaves that resolve without count. Native t also accepts plural families with count. */
+type ResourceTextKey = {
+ [K in keyof TranslationPaths<typeof en>]: TranslationPaths<typeof en>[K] extends string ? K : never;
+}[keyof TranslationPaths<typeof en>];
type TextKey<K extends ParseKeys> = K extends unknown
? [TFunctionReturn<'translation', K, { returnObjects: false }>] extends [never] ? never
: TFunctionReturn<'translation', K, { returnObjects: false }> extends string ? K : never
: never;
-export type TranslationKey = TextKey<ParseKeys>;
+export type TranslationKey = TextKey<Extract<ResourceTextKey, ParseKeys>>;
/** Finite suffixes/prefixes for consumers that intentionally compose a path. */
export type TranslationSuffix<Prefix extends string> =