Angular Compiler version 13.0.0 represents a significant leap forward compared to its predecessor, version 12.2.17. While both versions share the same core functionality of providing Angular's compiler library, several key differences emerge upon closer inspection. One notable change is the updated dependency on tslib, with version 13.0.0 requiring tslib version ^2.3.0 whereas version 12.2.17 needs ^2.2.0. This suggests potential TypeScript language feature enhancements or bug fixes incorporated into the newer compiler.
The reduction in fileCount from 487 to 311 and unpackedSize from 19649412 bytes to 13401584 bytes in version 13.0.0 indicates substantial optimizations and code trimming, potentially leading to faster compilation times and a smaller bundle size for applications. This is a crucial factor for developers striving to improve application performance and user experience. Furthermore, the release date difference highlights the age gap between the versions, with version 13.0.0 released in November 2021 and version 12.2.17 in November 2022. Developers should consider this when planning upgrades, as older versions might lack critical bug fixes and security patches present in the newer compiler. It's worth noting despite being an older version the release date of 12.2.17 is later than 13.0.0, this could be due to the latest stable release for the 12.x.x version.
The are not vulnerabilities for the version 13.0.0 of the package @angular/compiler