The @nuxt/vite-builder package is the official Vite bundler for Nuxt, streamlining the process of using Vite within Nuxt projects. Version 4.1.0 brings several updates compared to the previous stable version, 4.0.3, potentially impacting developers.
One key change can be observed in the dependencies. The newer version upgrades vite to ^7.1.4 from ^7.0.6, that means new functionalities, improved performances, and potentially bug fixes from Vite itself. Other updated dependencies include mlly (from 1.7.4 to 1.8.0), @nuxt/kit and @nuxt/schema that update to 4.1.0 from 4.0.3 to stay aligned with the Nuxt core. The magic-string dependency jumps from 0.30.17 to 0.30.18, and @vitejs/plugin-vue-jsx upgrades from 5.0.1 to 5.1.1. The peer dependency of Vue and the dev dependency of nitropack remain the same between both versions. The devDependencies also see some updates with vue upgrading to 3.5.20 from 3.5.18, and rollup updating to version 4.50.0 from 4.46.2, and unbuild updating to 3.6.1 from 3.6.0. These upgrades can impact the build process and compatibility with other tools. Developers should be aware of these updated dependencies, as they may introduce breaking changes or require adjustments to their existing configurations. Checking the changelogs for each dependency is recommended before upgrading to version 4.1.0. Additionally, the unpacked size of the package has increased slightly from 88373 to 91932, which is the result of the new features from the updated packages. The release date of 4.1.0 is also significantly later, implying newer features, bug fixes, and improvements built into the newer version.
The are not vulnerabilities for the version 4.1.0 of the package @nuxt/vite-builder