upgraded safe npm packages (#6450)

This commit is contained in:
Zane
2026-01-12 11:47:10 -08:00
committed by GitHub
parent 72ba96b36c
commit 5bc0b8c51b
5 changed files with 1170 additions and 1328 deletions
+1132 -1293
View File
File diff suppressed because it is too large Load Diff
+30 -33
View File
@@ -39,9 +39,7 @@
"start-alpha-gui": "ALPHA=true npm run start-gui" "start-alpha-gui": "ALPHA=true npm run start-gui"
}, },
"dependencies": { "dependencies": {
"@ai-sdk/openai": "^2.0.76", "@mcp-ui/client": "^5.17.3",
"@ai-sdk/ui-utils": "^1.2.11",
"@mcp-ui/client": "^5.17.1",
"@radix-ui/react-accordion": "^1.2.12", "@radix-ui/react-accordion": "^1.2.12",
"@radix-ui/react-avatar": "^1.1.11", "@radix-ui/react-avatar": "^1.1.11",
"@radix-ui/react-dialog": "^1.1.15", "@radix-ui/react-dialog": "^1.1.15",
@@ -53,9 +51,8 @@
"@radix-ui/react-slot": "^1.2.4", "@radix-ui/react-slot": "^1.2.4",
"@radix-ui/react-tabs": "^1.1.13", "@radix-ui/react-tabs": "^1.1.13",
"@radix-ui/themes": "^3.2.1", "@radix-ui/themes": "^3.2.1",
"@tanstack/react-form": "^1.27.0", "@tanstack/react-form": "^1.27.7",
"@types/react-router-dom": "^5.3.3", "@types/react-router-dom": "^5.3.3",
"ai": "^5.0.106",
"class-variance-authority": "^0.7.1", "class-variance-authority": "^0.7.1",
"clsx": "^2.1.1", "clsx": "^2.1.1",
"compare-versions": "^6.1.1", "compare-versions": "^6.1.1",
@@ -65,15 +62,15 @@
"dotenv": "^17.2.3", "dotenv": "^17.2.3",
"electron-log": "^5.4.3", "electron-log": "^5.4.3",
"electron-squirrel-startup": "^1.0.1", "electron-squirrel-startup": "^1.0.1",
"electron-updater": "^6.6.2", "electron-updater": "^6.7.3",
"electron-window-state": "^5.0.3", "electron-window-state": "^5.0.3",
"express": "^5.2.1", "express": "^5.2.1",
"katex": "^0.16.25", "katex": "^0.16.27",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"lucide-react": "^0.555.0", "lucide-react": "^0.562.0",
"qrcode.react": "^4.2.0", "qrcode.react": "^4.2.0",
"react": "^19.2.0", "react": "^19.2.3",
"react-dom": "^19.2.0", "react-dom": "^19.2.3",
"react-icons": "^5.5.0", "react-icons": "^5.5.0",
"react-markdown": "^10.1.0", "react-markdown": "^10.1.0",
"react-router-dom": "^7.12.0", "react-router-dom": "^7.12.0",
@@ -85,7 +82,7 @@
"remark-gfm": "^4.0.1", "remark-gfm": "^4.0.1",
"remark-math": "^6.0.0", "remark-math": "^6.0.0",
"split-type": "^0.3.4", "split-type": "^0.3.4",
"swr": "^2.3.7", "swr": "^2.3.8",
"tailwind-merge": "^3.4.0", "tailwind-merge": "^3.4.0",
"tailwindcss-animate": "^1.0.7", "tailwindcss-animate": "^1.0.7",
"tw-animate-css": "^1.4.0", "tw-animate-css": "^1.4.0",
@@ -104,51 +101,51 @@
"@electron-forge/plugin-vite": "^7.10.2", "@electron-forge/plugin-vite": "^7.10.2",
"@electron/fuses": "^1.8.0", "@electron/fuses": "^1.8.0",
"@electron/remote": "^2.1.3", "@electron/remote": "^2.1.3",
"@eslint/js": "^9.39.1", "@eslint/js": "^9.39.2",
"@hey-api/openapi-ts": "^0.88.0", "@hey-api/openapi-ts": "^0.90.3",
"@modelcontextprotocol/sdk": "^1.25.2", "@modelcontextprotocol/sdk": "^1.25.2",
"@playwright/test": "^1.57.0", "@playwright/test": "^1.57.0",
"@tailwindcss/line-clamp": "^0.4.4", "@tailwindcss/line-clamp": "^0.4.4",
"@tailwindcss/typography": "^0.5.19", "@tailwindcss/typography": "^0.5.19",
"@tailwindcss/vite": "^4.1.17", "@tailwindcss/vite": "^4.1.18",
"@testing-library/jest-dom": "^6.9.1", "@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.0", "@testing-library/react": "^16.3.1",
"@testing-library/user-event": "^14.6.1", "@testing-library/user-event": "^14.6.1",
"@types/cors": "^2.8.19", "@types/cors": "^2.8.19",
"@types/electron-squirrel-startup": "^1.0.2", "@types/electron-squirrel-startup": "^1.0.2",
"@types/express": "^5.0.6", "@types/express": "^5.0.6",
"@types/lodash": "^4.17.21", "@types/lodash": "^4.17.23",
"@types/react": "^19.2.7", "@types/react": "^19.2.8",
"@types/react-dom": "^19.2.3", "@types/react-dom": "^19.2.3",
"@types/react-syntax-highlighter": "^15.5.13", "@types/react-syntax-highlighter": "^15.5.13",
"@types/yauzl": "^2.10.3", "@types/yauzl": "^2.10.3",
"@typescript-eslint/eslint-plugin": "^8.48.1", "@typescript-eslint/eslint-plugin": "^8.53.0",
"@typescript-eslint/parser": "^8.48.1", "@typescript-eslint/parser": "^8.53.0",
"@vitejs/plugin-react": "^5.1.1", "@vitejs/plugin-react": "^5.1.2",
"@vitest/coverage-v8": "^4.0.15", "@vitest/coverage-v8": "^4.0.17",
"@vitest/ui": "^4.0.15", "@vitest/ui": "^4.0.17",
"autoprefixer": "^10.4.22", "autoprefixer": "^10.4.23",
"electron": "^39.2.4", "electron": "^39.2.7",
"electron-devtools-installer": "^4.0.0", "electron-devtools-installer": "^4.0.0",
"eslint": "^9.39.1", "eslint": "^9.39.2",
"eslint-plugin-react": "^7.37.5", "eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0", "eslint-plugin-react-hooks": "^5.2.0",
"husky": "^9.1.7", "husky": "^9.1.7",
"jsdom": "^27.2.0", "jsdom": "^27.4.0",
"knip": "^5.71.0", "knip": "^5.80.2",
"lint-staged": "^16.2.7", "lint-staged": "^16.2.7",
"postcss": "^8.5.6", "postcss": "^8.5.6",
"prettier": "^3.7.3", "prettier": "^3.7.4",
"tailwindcss": "^4.1.17", "tailwindcss": "^4.1.18",
"typescript": "~5.9.3", "typescript": "~5.9.3",
"vite": "^7.2.6", "vite": "^7.3.1",
"vitest": "^4.0.15" "vitest": "^4.0.17"
}, },
"keywords": [], "keywords": [],
"license": "Apache-2.0", "license": "Apache-2.0",
"overrides": { "overrides": {
"react": "^19.2.0", "react": "^19.2.3",
"react-dom": "^19.2.0" "react-dom": "^19.2.3"
}, },
"lint-staged": { "lint-staged": {
"src/**/*.{ts,tsx}": [ "src/**/*.{ts,tsx}": [
+4
View File
@@ -267,6 +267,10 @@ export const createClient = (config: Config = {}): Client => {
} }
return request; return request;
}, },
serializedBody: getValidRequestBody(opts) as
| BodyInit
| null
| undefined,
url, url,
}); });
}; };
@@ -169,6 +169,8 @@ export const createSseClient = <TData = unknown>({
const { done, value } = await reader.read(); const { done, value } = await reader.read();
if (done) break; if (done) break;
buffer += value; buffer += value;
// Normalize line endings: CRLF -> LF, then CR -> LF
buffer = buffer.replace(/\r\n/g, '\n').replace(/\r/g, '\n');
const chunks = buffer.split('\n\n'); const chunks = buffer.split('\n\n');
buffer = chunks.pop() ?? ''; buffer = chunks.pop() ?? '';
File diff suppressed because one or more lines are too long