Angular core version 12.1.0 represents a minor upgrade over its predecessor, version 12.0.5, bringing incremental improvements to the fundamental building blocks of Angular applications. Developers considering this update should focus on a few key areas.
A crucial difference lies in the updated tslib dependency. Version 12.1.0 requires tslib version "^2.2.0", while 12.0.5 relies on "^2.1.0". This signifies potential enhancements and bug fixes within the TypeScript helper library, potentially impacting compiled code output and runtime behavior. While both versions maintain compatibility with the same peer dependencies, rxjs "^6.5.3" and zone.js "~0.11.4", ensuring a relatively smooth transition regarding these core dependencies, any updates to RxJS or Zone.js would need to be handled independently of either Angular Core version.
Furthermore, examining the dist field reveals a significant increase in both fileCount (from 489 to 600) and unpackedSize (from 16035843 to 17257267 bytes). This delta indicates new features, internal refactoring, or more comprehensive tooling within the 12.1.0 release. A larger unpacked size can lightly affect initial load times in certain hosting environments.
Finally, the release dates highlight a relatively short timeframe between the versions. Considering the upgrade provides new features, bugfixes and a newer version of a dependency, developers using version 12.0.5 should consider the implications of these differences to ensure an optimized and secure application.
The are not vulnerabilities for the version 12.1.0 of the package @angular/core