Angular Compiler has been updated from version 12.0.5 to 12.1.0, offering incremental improvements and refinements for Angular developers. While both versions share the same core functionality as part of the Angular framework, the upgrades in 12.1.0 bring subtle but potentially impactful changes.
A primary difference lies in the dependency on tslib. Version 12.1.0 now relies on tslib version "^2.2.0", whereas the previous version, 12.0.5, depended on "^2.1.0". This update to tslib, a runtime library for TypeScript helpers, suggests potential bug fixes, performance improvements, or new features within the TypeScript compilation process leveraged by the Angular compiler. Developers should ensure their projects are compatible with this updated dependency.
Furthermore, the "unpackedSize" of the package has slightly increased from 18,786,023 bytes in version 12.0.5 to 18,861,372 bytes in version 12.1.0. This small size difference indicates potential additions or modifications to the compiler's code base, which could include new features, bug fixes impacting the library size, or performance optimizations. Angular developers are encouraged to review the official Angular changelog and release notes to understand the specific changes introduced in version 12.1.0 and assess their impact on existing Angular projects or consider leveraging new functionalities in new projects. The release date difference indicates that version 12.1.0 is a more recent update, meaning that it consolidates all the fixes and improvements from the previous release.
The are not vulnerabilities for the version 12.1.0 of the package @angular/compiler