-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
chore(deps): update dependency vite to v5 [security] #9708
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 |
---|---|---|
|
@@ -15,7 +15,7 @@ | |
}, | ||
"devDependencies": { | ||
"typescript": "5.8.3", | ||
"vite": "^4.5.14", | ||
"vite": "^5.4.20", | ||
"vite-plugin-vue2": "2.0.3" | ||
Comment on lines
+18
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. Revert the Vite bump or migrate this example
🤖 Prompt for AI Agents
|
||
} | ||
} |
Original file line number | Diff line number | Diff line change | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -14,7 +14,7 @@ | |||||||||||||||||||
}, | ||||||||||||||||||||
"devDependencies": { | ||||||||||||||||||||
"typescript": "5.8.3", | ||||||||||||||||||||
"vite": "^4.5.14", | ||||||||||||||||||||
"vite": "^5.4.20", | ||||||||||||||||||||
"vite-plugin-vue2": "2.0.3" | ||||||||||||||||||||
} | ||||||||||||||||||||
Comment on lines
+17
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. Fix Vite/plugin compatibility blocker
- "vite": "^5.4.20",
- "vite-plugin-vue2": "2.0.3"
+ "vite": "^7.1.9",
+ "@vitejs/plugin-vue2": "^2.4.0" 📝 Committable suggestion
Suggested change
|
||||||||||||||||||||
} |
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.
Upgrade blocked by Vue 2.6 plugin compatibility
Line 17 moves this example to Vite ^5.4.20 while retaining
[email protected]
, but that plugin’s peer constraint isvite ^2 || ^3
, so installation will fail and the tooling won’t run.(npmpeer.dev) Compounding that, the package is in maintenance mode and only supports Vue 2.6 or earlier with no Vite 5-ready release, so we either keep this example on Vite 4 or migrate it to Vue 2.7 plus@vitejs/plugin-vue2
before bumping Vite.(npm.io)🤖 Prompt for AI Agents