@vue/compiler-dom versions 3.5.21 and 3.5.20 are incremental updates to Vue's DOM compiler, crucial for transforming Vue templates into render functions that efficiently update the browser's Document Object Model. Both versions, authored by Evan You and licensed under MIT, share a common foundation, depending on compatible versions of @vue/shared and @vue/compiler-core. This tight integration ensures consistent behavior across the Vue ecosystem.
The primary difference lies in their release dates and potentially subtle bug fixes or performance improvements. Version 3.5.21 was released on September 2nd, 2025, subsequent to the August 25th, 2025 release of version 3.5.20. While both packages have a similar structure with 12 files, their unpacked sizes differ slightly (640235 bytes vs. 640479 bytes), suggesting possible adjustments in code or data structures. For developers, upgrading to 3.5.21 is generally recommended to benefit from the latest optimizations and bug fixes, however, given the small difference in unpacked size, the changes should be minimal. The @vue/compiler-dom is essential during the build process, therefore, inconsistencies between versions could lead to unexpected rendering behaviors. It's always advised to consult the official Vue changelog for detailed information on specific changes introduced between these versions.
The are not vulnerabilities for the version 3.5.21 of the package @vue/compiler-dom