-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
chore(deps): update dependency vite [security] #9636
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
base: main
Are you sure you want to change the base?
Changes from all commits
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 |
---|---|---|
|
@@ -14,7 +14,7 @@ | |
}, | ||
"devDependencies": { | ||
"typescript": "5.8.3", | ||
"vite": "^4.5.3", | ||
"vite": "^5.4.20", | ||
"vite-plugin-vue2": "2.0.3" | ||
} | ||
Comment on lines
15
to
19
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. Switch from deprecated vite-plugin-vue2 to @vitejs/plugin-vue2; ensure compatibility with Vite ≥5 (optionally bump to 6.3.6) and Node ≥18.
Apply this minimal replacement within devDependencies: "devDependencies": {
"typescript": "5.8.3",
- "vite": "^5.4.20",
- "vite-plugin-vue2": "2.0.3"
+ "vite": "^5.4.20",
+ "@vitejs/plugin-vue2": "^2.3.3"
} Optionally align to the security-fixed Vite 6 line (plugin supports it): - "vite": "^5.4.20",
+ "vite": "^6.3.6", Add a Node engines constraint (outside this hunk) to avoid local-env drift: "engines": { "node": ">=18.0.0" } 🤖 Prompt for AI Agents
|
||
} |
Uh oh!
There was an error while loading. Please reload this page.