Angular's @angular/common package provides essential directives and services for building robust Angular applications. Examining versions 6.0.2 and 6.0.1 reveals subtle yet important differences. Both versions depend on tslib (version ^1.9.0) for TypeScript helper functions and require rxjs (version ^6.0.0) along with @angular/core as peer dependencies, crucial for the reactive programming aspects and core Angular functionalities, respectively. The licensing remains MIT, ensuring broad usability and contribution.
A key distinction lies in the @angular/core peer dependency. Version 6.0.2 of @angular/common specifically requires @angular/core version 6.0.2, while version 6.0.1 of @angular/common requires @angular/core version 6.0.1. This implies a tighter integration and potential reliance on specific features introduced or fixed within that @angular/core release.
Interestingly, the file count is identical at 2364 across both versions. The unpacked size is also subtly different, with version 6.0.2 weighing in at 12386189 bytes compared to 12386186 bytes for version 6.0.1. While a small difference, this could indicate minor code or asset alterations during the build process. Finally, the release dates are May 15, 2018, for 6.0.2, and May 11, 2018, for 6.0.1 making version 6.0.2 a patch for certain upgrades on peer dependencies or very small changes to resources inside the release. Thus, it is always advisable to update to the latest version provided that you are using the appropriate @angular/core version.
The are not vulnerabilities for the version 6.0.2 of the package @angular/common