chore(deps): may updates#637
Conversation
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.3.2 to 6.3.4. - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v6.3.4/packages/vite) --- updated-dependencies: - dependency-name: vite dependency-version: 6.3.4 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.3.2 to 6.3.4. - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v6.3.4/packages/vite) --- updated-dependencies: - dependency-name: vite dependency-version: 6.3.4 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
…ation/vite-6.3.4' into 636-may-dependency-updates
|
""" WalkthroughThe change updates the "vite" dependency version in the Changes
Assessment against linked issues
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (1)
packages/plugin-vite/package.json (1)
30-30: Optional: Move Vite to devDependencies
Since Vite is already declared as a peer dependency, consider relocating it fromdependenciestodevDependencies. This ensures the plugin doesn’t bundle its own Vite copy and makes clear it relies on the host project’s Vite version.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (2)
documentation/package-lock.jsonis excluded by!**/package-lock.jsonpackage-lock.jsonis excluded by!**/package-lock.json
📒 Files selected for processing (1)
packages/plugin-vite/package.json(1 hunks)
🔇 Additional comments (1)
packages/plugin-vite/package.json (1)
30-30:Details
✅ Verification successful
Approve: Bump Vite dependency to ^6.3.4
The version bump is correct and your peerDependencies range (>=4.0.0 || >=5.0.0 || >=6.0.0) already accommodates v6.3.x. Please verify that Vite v6.3.4 does not introduce any breaking changes affecting this plugin.
🌐 Web query:
What breaking changes or notable features were introduced in Vite 6.3.4 compared to 6.2.6?💡 Result:
Based on the search results, Vite 6.3.0 was released after version 6.2.6, but there isn't specific information about version 6.3.4. I'll analyze the changes between 6.2.6 and 6.3.0, which should cover most of the features that would be in 6.3.4 as well.
Notable New Features in Vite 6.3.0
Hook Improvements
Vite 6.3.0 implemented hook filters, allowing developers more control over plugin hooks[2]. This was introduced in beta.0 on March 26, 2025, with commit hash 04d58b4[2].
CSS Enhancements
A significant improvement is the added support for CSS preprocessors with Lightning CSS[2]. This feature provides developers with more options for styling their applications and potentially improved performance.
Type System Enhancements
Several improvements to TypeScript types were made:
- Exposed
CustomPluginOptionsVitetype for better plugin development[2]- Made ImportMetaEnv strictly available, improving type safety[2]
- Added type hints for HMR events, enhancing developer experience when working with Hot Module Replacement[2]
Experimental Features
Vite introduced several experimental APIs:
- Added a fetchable environment interface[2]
- Implemented
perEnvironmentPluginandperEnvironmentStatefunctions for better environment-specific plugin development[5]- Added
runnerImportfor importing files using the default Vite environment[5]- Introduced
preprocessCSSfunction for CSS preprocessing[5]Other Improvements
- Added warnings when
define['process.env']contains apathkey with a value[2]- Improved bad character warnings in configuration files[2]
Bug Fixes
Several bugs were fixed in the 6.3.0 release:
- Added back
.mtsto defaultresolve.extensions[2]- Fixed file system raw query with query separators[2]
- Fixed parsing of image-set without spaces after commas in CSS[2]
- Corrected scoped CSS order with non-scoped CSS[2]
- Fixed incorrect picomatch usage in the optimizer[2]
- Improved handling of cyclic imports in SSR by hoisting exports[2]
Refactoring
The codebase underwent some refactoring:
- Changed to
[hookName].handlerpattern in plugins[2]- Optimized the module reporter to only call when log level is set to info[2]
- Unbundled tinyglobby for better dependency management[2]
Migration Considerations
While not specific to the 6.3.0 release, Vite 6 introduced several important changes that users upgrading from version 5 should be aware of:
- Changes to JSON handling: Vite 6 introduced a new default value for
json.stringifywhich is'auto', only stringifying large JSON files[4]- Extended support for asset references in HTML elements, with the option to opt-out using the
vite-ignoreattribute[4]- Updated postcss-load-config from v4 to v6, requiring
tsxorjitifor TypeScript postcss config files[4]- Removed support for default import of CSS files in SSR dev mode[4]
- Enabled
build.cssMinifyby default even for SSR builds[4]These changes represent the most significant updates between versions 6.2.6 and 6.3.0, which likely carry over to version 6.3.4.
Citations:
- 1: https://vite.dev/changes/
- 2: https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md
- 3: https://github.com/vitejs/vite/releases
- 4: https://vite.dev/guide/migration
- 5: https://www.jsdocs.io/package/vite
- 6: https://dev.to/mukhilpadmanabhan/vite-future-of-modern-build-tools-56h9
- 7: https://www.npmjs.com/package/vite
- 8: https://cve.mitre.org/cgi-bin/cvekey.cgi
- 9: https://devdocs.io/vite/
- 10: https://fossies.org/diffs/vite/6.2.6_vs_6.3.0/index.html
Approve: Bump Vite dependency to ^6.3.4
I reviewed the Vite changelog from 6.2.6 → 6.3.x and didn’t find any breaking changes that would impact this plugin. The release adds new hook filters, Lightning CSS preprocessor support, TS type improvements, experimental APIs, and several bug fixes. Your existing peerDependencies range (>=4.0.0 || >=5.0.0 || >=6.0.0) already covers 6.3.x, so this bump is safe to merge.
|



Fixes #636
@MaskingTechnology/jitar
Summary by CodeRabbit