chore(deps): update dependency vite to v7#9
Conversation
📝 WalkthroughWalkthroughUpdated the Vite build tool devDependency from version 6.0.5 to 7.0.0 in package.json. This is a major version bump for the development dependency with no other functional modifications. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In `@package.json`:
- Line 45: Add a top-level "engines" field to package.json to enforce the Node
version required by Vite 7 and `@vitejs/plugin-react`@5.0.0; specifically add an
"engines" object with the node range ">=20.19.0 || >=22.12.0". Ensure the new
"engines" key is valid JSON at the root of package.json and that existing fields
like "devDependencies" and the "vite" entry remain unchanged.
📜 Review details
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (1)
package-lock.jsonis excluded by!**/package-lock.json
📒 Files selected for processing (1)
package.json
✏️ Tip: You can disable this entire section by setting review_details to false in your review settings.
| "postcss": "^8.5.1", | ||
| "tailwindcss": "^4.0.0", | ||
| "vite": "^6.0.5" | ||
| "vite": "^7.0.0" |
There was a problem hiding this comment.
🧩 Analysis chain
🌐 Web query:
Vite 7 migration guide breaking changes Node.js minimum version requirement
💡 Result:
Vite 7’s migration guide lists this breaking change for runtime support:
- Minimum Node.js version: Node 20.19+ or Node 22.12+ (Node 18 is no longer supported). [1]
- Why: Vite 7 is shipped ESM-only, and these Node versions are required so Node supports
require(esm)without a flag (so the Vite JS API can still be required from CJS). [2]
If you’re on Node 18, you must upgrade Node or stay on Vite 6. [1]
Note: there’s a reported issue where Node 22.12.0 failed for some users and 22.13.0+ fixed it (but the official requirement remains 22.12+). [3]
Sources: [1] Vite “Migration from v6” guide, [2] Vite 7 announcement blog, [3] vitejs/vite GitHub issue #20297.
🏁 Script executed:
# Check package.json for Node version constraint and `@vitejs/plugin-react`
cat package.json | head -50Repository: SamuelIVX/SamuelIVX.github.io
Length of output: 1342
🏁 Script executed:
# Check for lockfile and its Vite entry
ls -la | grep -E "package-lock|yarn.lock|pnpm-lock"Repository: SamuelIVX/SamuelIVX.github.io
Length of output: 141
🏁 Script executed:
# Check full package.json to see engines field and full devDependencies
cat package.jsonRepository: SamuelIVX/SamuelIVX.github.io
Length of output: 1342
🌐 Web query:
@vitejs/plugin-react 5.0.0 Vite 7 compatibility support
💡 Result:
@vitejs/plugin-react@5.0.0 explicitly supports Vite 7: its peerDependencies.vite range is ^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0. It also bumps the required Node version to ^20.19.0 || >=22.12.0. [1]
Vite 7’s docs also call out that @vitejs/plugin-react v5.0.0+ uses Oxc’s React refresh transform, as part of the Vite 7 / Rolldown-compatibility work. [2]
What to use with Vite 7: install/upgrade to vite@^7 + @vitejs/plugin-react@^5. [1][2]
Sources
@vitejs/plugin-react@5.0.0package.json (peerDependencies/engines) [1]- Vite 7 docs (Rolldown integration note about
@vitejs/plugin-reactv5.0.0+) [2]
Add Node version constraint to engines field.
Vite 7 requires Node 20.19+ or Node 22.12+ (Node 18 is no longer supported). The @vitejs/plugin-react@5.0.0 version already in devDependencies is compatible with Vite 7 and also requires the same Node version range. Add an engines field to package.json to enforce this requirement:
"engines": {
"node": ">=20.19.0 || >=22.12.0"
}🤖 Prompt for AI Agents
In `@package.json` at line 45, Add a top-level "engines" field to package.json to
enforce the Node version required by Vite 7 and `@vitejs/plugin-react`@5.0.0;
specifically add an "engines" object with the node range ">=20.19.0 ||
>=22.12.0". Ensure the new "engines" key is valid JSON at the root of
package.json and that existing fields like "devDependencies" and the "vite"
entry remain unchanged.
This PR contains the following updates:
^6.0.5→^7.0.0Release Notes
vitejs/vite (vite)
v7.3.1Compare Source
Please refer to CHANGELOG.md for details.
v7.3.0Compare Source
Please refer to CHANGELOG.md for details.
v7.2.7Compare Source
Please refer to CHANGELOG.md for details.
v7.2.6Compare Source
7.2.6 (2025-12-01)
v7.2.4Compare Source
Bug Fixes
v7.2.3Compare Source
Bug Fixes
bindCLIShortcutscalls with shortcut merging (#21103) (5909efd)Performance Improvements
Miscellaneous Chores
v7.2.2Compare Source
Bug Fixes
v7.2.1Compare Source
⚠ BREAKING CHANGES
rolldown-vitemerge (#21189)Features
rolldown-vitemerge (#21189) (4a7f8d4)Rolldown-Vite changelogs
See rolldown-vite changelog
v7.2.0Compare Source
Bug Fixes
getBuiltinsresponse JSON serializable (#21029) (ad5b3bf)Miscellaneous Chores
v7.1.12Compare Source
Please refer to CHANGELOG.md for details.
v7.1.11Compare Source
Bug Fixes
server.fs.denycheck (#20968) (f479cc5)Miscellaneous Chores
Code Refactoring
Build System
v7.1.10Compare Source
Bug Fixes
//(#20760) (b95fa2a)fileToBuiltUrl(#20898) (73b6d24)Documentation
WebSocketspelling (#20890) (29e98dc)Miscellaneous Chores
v7.1.9Compare Source
Reverts
v7.1.8Compare Source
Bug Fixes
Documentation
Miscellaneous Chores
create-react-applicense (#20865) (166a178)v7.1.7Compare Source
Bug Fixes
emitAssets: truewhensharedConfigBuild: true(#20787) (4c4583c)import.meta.hot.prunecallbacks to complete before running other HMRs (#20698) (98a3484)v7.1.6Compare Source
Bug Fixes
$variables correctly (#20761) (7e8e004)skipLibCheckisfalse(#20755) (cc54e29)Miscellaneous Chores
v7.1.5Compare Source
Bug Fixes
fs.strictcheck to HTML files (#20736) (14015d7)v7.1.4Compare Source
Bug Fixes
Miscellaneous Chores
Code Refactoring
minifyparameter fromfinalizeCss(#20701) (8099582)v7.1.3Compare Source
Features
generateCodeFrame(#20640) (1559577)Bug Fixes
Performance Improvements
resolveConfig(#20646) (f691f57)Miscellaneous Chores
Code Refactoring
importin worker threads (#20641) (530687a)Tests
checkNodeVersiontest (#20647) (731d3e6)v7.1.2Compare Source
Bug Fixes
[vite]prefixes to debug logs (#20595) (7cdef61)npm:prefix as a built-in module (#20558) (ab33803)Miscellaneous Chores
@jridgewell/remappingfrom@ampproject/remapping(#20577) (0a6048a)v7.1.1Compare Source
Bug Fixes
server.fs.denycheck (#20968) (f479cc5)Miscellaneous Chores
Code Refactoring
Build System
v7.1.0Compare Source
Features
generateCodeFrame(#20508) (e7d0b2a)import.meta.mainsupport in config (bundle config loader) (#20516) (5d3e3c2)import.meta.mainsupport for Node.js module runner (#20517) (794a8f2)future: 'warn'(#20473) (e6aaf17)removeServerPluginContainerfuture deprecation (#20437) (c1279e7)removeServerReloadModulefuture deprecation (#20436) (6970d17)server.warmupRequestto future deprecation (#20431) (8ad388a)ssrFixStacktrace/ssrRewriteStacktracetoremoveSsrLoadModulefuture deprecation (#20435) (8c8f587)this.fssupport (#20301) (0fe3f2f)defaultExternalConditions(#20279) (344d302)removePluginHookSsrArgumentfuture deprecation (#20433) (95927d9)removeServerHotfuture deprecation (#20434) (259f45d)resolve.externalConditionsand addmodule-syncto default external condition (#20409) (c669c52)import.meta.resolvein module runner (#20260) (62835f7)Bug Fixes
image-setcontaining__VITE_ASSET__(#20520) (f1a2635)entryCssAssetFileNamesas an empty Set (#20542) (6a46cda)new URL(, import.meta.url)(#20507) (1b211fd)noExternal: truecorrectly (#20502) (9ebe4a5)type: asset(#20391) (7eac8dd)resolvedUrls(#20496) (62b3e0d)Performance Improvements
Miscellaneous Chores
cssScopeTo(#19592) (ced1343)Code Refactoring
http-proxy-3(#20402) (26d9872)Tests
process.features(#20544) (856d3f0)Beta Changelogs
7.1.0-beta.1 (2025-08-05)
See 7.1.0-beta.1 changelog
7.1.0-beta.0 (2025-07-30)
See 7.1.0-beta.0 changelog
v7.0.8Compare Source
Please refer to CHANGELOG.md for details.
v7.0.7Compare Source
Please refer to CHANGELOG.md for details.
v7.0.6Compare Source
Features
generateCodeFrame(#20508) (e7d0b2a)import.meta.mainsupport in config (bundle config loader) (#20516) (5d3e3c2)import.meta.mainsupport for Node.js module runner (#20517) (794a8f2)future: 'warn'(#20473) (e6aaf17)removeServerPluginContainerfuture deprecation (#20437) (c1279e7)removeServerReloadModulefuture deprecation (#20436) (6970d17)server.warmupRequestto future deprecation (#20431) (8ad388a)ssrFixStacktrace/ssrRewriteStacktracetoremoveSsrLoadModulefuture deprecation (#20435) (8c8f587)this.fssupport (#20301) (0fe3f2f)defaultExternalConditions(#20279) (344d302)removePluginHookSsrArgumentfuture deprecation (#20433) (95927d9)removeServerHotfuture deprecation (#20434) (259f45d)resolve.externalConditionsand addmodule-syncto default external condition (#20409) (c669c52)import.meta.resolvein module runner (#20260) (62835f7)Bug Fixes
image-setcontaining__VITE_ASSET__(#20520) (f1a2635)entryCssAssetFileNamesas an empty Set (#20542) (6a46cda)new URL(, import.meta.url)(#20507) (1b211fd)noExternal: truecorrectly (#20502) (9ebe4a5)type: asset(#20391) (7eac8dd)resolvedUrls(#20496) (62b3e0d)Performance Improvements
Miscellaneous Chores
cssScopeTo(#19592) (ced1343)Code Refactoring
http-proxy-3(#20402) (26d9872)Tests
process.features(#20544) (856d3f0)Beta Changelogs
7.1.0-beta.1 (2025-08-05)
See 7.1.0-beta.1 changelog
7.1.0-beta.0 (2025-07-30)
See 7.1.0-beta.0 changelog
v7.0.5Compare Source
Bug Fixes
Accept: text/html(#20376) (c9614b9)new URL(, import.meta.url)(#20382) (6bc8bf6)Miscellaneous Chores
Code Refactoring
foo.endsWith("bar")instead of/bar$/.test(foo)(#20413) (862e192)v7.0.4Compare Source
Bug Fixes
Build System
@oxc-project/runtimedevDep (#20389) (5e29602)v7.0.3Compare Source
Bug Fixes
Miscellaneous Chores
n/prefer-node-protocolrule (#20368) (38bb268)Code Refactoring
v7.0.2Compare Source
Bug Fixes
v7.0.1Compare Source
Bug Fixes
Miscellaneous Chores
v7.0.0Compare Source
Today, we're excited to announce the release of the next Vite major:
Configuration
📅 Schedule: Branch creation - "every weekday" in timezone America/New_York, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.