-
-
Notifications
You must be signed in to change notification settings - Fork 201
chore: upgrade vite #429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: upgrade vite #429
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| FROM node:20-alpine AS frontend-builder | ||
| FROM node:24-alpine AS frontend-builder | ||
|
|
||
| WORKDIR /app/ui | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,6 +3,9 @@ | |
| "private": true, | ||
| "version": "0.0.0", | ||
| "type": "module", | ||
| "engines": { | ||
| "node": "^20.19.0 || >=22.12.0" | ||
|
Comment on lines
+6
to
+7
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
After this upgrade, the UI explicitly requires Node Useful? React with 👍 / 👎. |
||
| }, | ||
| "scripts": { | ||
| "dev": "vite", | ||
| "build": "tsc -b && vite build", | ||
|
|
@@ -29,7 +32,7 @@ | |
| "@radix-ui/react-toggle-group": "^1.1.11", | ||
| "@radix-ui/react-tooltip": "^1.2.8", | ||
| "@tabler/icons-react": "^3.40.0", | ||
| "@tailwindcss/vite": "^4.2.1", | ||
| "@tailwindcss/vite": "^4.2.2", | ||
| "@tanstack/react-query": "^5.90.21", | ||
| "@tanstack/react-table": "^8.21.3", | ||
| "@xterm/addon-fit": "^0.11.0", | ||
|
|
@@ -57,7 +60,7 @@ | |
| "remark-gfm": "^4.0.1", | ||
| "sonner": "^2.0.7", | ||
| "tailwind-merge": "^3.5.0", | ||
| "tailwindcss": "^4.2.1" | ||
| "tailwindcss": "^4.2.2" | ||
| }, | ||
| "devDependencies": { | ||
| "@eslint/js": "^9.39.4", | ||
|
|
@@ -78,7 +81,6 @@ | |
| "tw-animate-css": "^1.4.0", | ||
| "typescript": "~5.9.3", | ||
| "typescript-eslint": "^8.57.1", | ||
| "vite": "^7.3.1", | ||
| "vite-plugin-dynamic-base": "^1.3.0" | ||
| "vite": "^8.0.1" | ||
| } | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
assetBaseis inserted into HTML attribute values via a raw string replacement. WhilebaseScriptuses%q(safe for JS), the attribute injection path isn’t escaped/validated, so a misconfiguredKITE_BASEcontaining quotes/</whitespace could break the HTML or enable XSS. Consider validatingbaseto a safe URL-path subset and/or HTML-escapingassetBasebefore replacing it intohref/srcattributes.