Vue-tsc versions 2.2.8 and 2.2.6, both command-line tools designed for type-checking Vue single-file components, exhibit subtle but notable differences that developers should be aware of. Both versions share core dependencies, including "@volar/typescript" version "~2.4.11" for TypeScript integration and "@types/node" at "^22.10.4" for Node.js type definitions. They also maintain the same peer dependency, requiring TypeScript version ">=5.0.0". Furthermore, the license remains MIT, and the source code is hosted in the same GitHub repository under the "packages/tsc" directory.
The primary distinction lies in the "@vue/language-core" dependency; version 2.2.8 relies on "@vue/language-core":"2.2.8", while 2.2.6 utilizes "@vue/language-core":"2.2.6". This suggests potential refinements or bug fixes within the Vue language core that impact how vue-tsc processes Vue components. While the fileCount and unpackedSize in the dist object remain consistent, indicating no significant changes to the package structure or overall size, the releaseDate is different (2.2.8 was released one day later than 2.2.6), confirming a specific, albeit possibly small, update.
For developers, this means upgrading from 2.2.6 to 2.2.8 might introduce compatibility adjustments due to the updated language core. It's advisable to review the changelog or release notes for "@vue/language-core" version 2.2.8 to understand the specific modifications and their potential implications for your Vue projects. If you are not experiencing issues with 2.2.6 and the changes are not critical, staying on 2.2.6 might be a viable option after evaluating tradeoffs; while upgrading generally ensures you receive the latest bug fixes and improvements.
The are not vulnerabilities for the version 2.2.8 of the package vue-tsc