Angular's @angular/common package provides essential directives and services for building Angular applications. Examining versions 12.1.1 and 12.1.2 reveals subtle but potentially important differences for developers.
Version 12.1.2, released on July 14, 2021, builds upon the foundation of 12.1.1, released on June 30, 2021. Both versions share the same core description, MIT license, author ("angular"), and Git repository. Their dependencies include tslib (version ^2.2.0), ensuring compatibility with TypeScript helper functions, and peer dependencies on rxjs (version ^6.5.3) and @angular/core. One of the major differences between the 2 is the peer dependency on @angular/core, in the newer version is 12.1.2 (same version), and in the older one is 12.1.1.
However, the dist attributes highlight notable changes. Version 12.1.2 features a smaller fileCount (2857 vs. 3948) and a reduced unpackedSize (12269126 bytes vs. 17899732 bytes). This suggests potential optimizations in the package's structure, potentially leading to slightly faster load times or reduced bundle sizes for applications using the newer version. Developers should always check and test before upgrading a package to make sure the application work correctly. The slight change in peer dependencies and the optimizations make 12.1.2 a compelling upgrade for Angular Developers that want to use the latest packages and versions.
The are not vulnerabilities for the version 12.1.2 of the package @angular/common