Angular developers looking for stable, reusable components and services will find @angular/common a foundational package. Comparing versions 6.0.3 and 6.0.4 reveals subtle but important differences. Both versions share the same description, MIT license, and rely on tslib version ^1.9.0. They maintain core peer dependencies on rxjs version ^6.0.0. A key difference lies in the peer dependency on @angular/core. Version 6.0.3 requires @angular/core version 6.0.3, while 6.0.4 shifts this dependency to @angular/core version 6.0.4. This indicates incremental updates within the Angular core framework.
Another, often overlooked, change lies in the file size. Version 6.0.3 unpacks to 12,386,165 bytes, while version 6.0.4 unpacks to a slightly smaller 12,222,591 bytes. Developers conscious of bundle sizes might find this minor reduction valuable. The release date also marks a distinction: version 6.0.3 was released on May 22, 2018, while version 6.0.4 followed on June 6, 2018. This two-week gap suggests bug fixes or minor enhancements prompted the updated release. The core functionality of common directives and services remains consistent between the versions, providing essential building blocks for Angular applications. Upgrading from 6.0.3 to 6.0.4 is recommended to leverage the latest core framework compatibility and potentially benefit from bug fixes and size optimizations.
The are not vulnerabilities for the version 6.0.4 of the package @angular/common