Angular developers should be aware of a subtle but potentially important update in @angular/common between versions 8.2.1 and 8.2.2. Both versions provide essential directives and services for Angular applications, sharing the same core description and licensing terms (MIT). They rely on tslib for TypeScript helper functions and peer dependencies on rxjs and @angular/core for reactive programming and the Angular core framework respectively, ensuring compatibility with existing Angular 8 projects.
The crucial difference lies in the @angular/core peer dependency: version 8.2.1 requires @angular/core version 8.2.1 precisely, while 8.2.2 requires @angular/core version 8.2.2. This indicates a tight coupling between @angular/common and @angular/core for these specific versions. Therefore, to upgrade @angular/common to 8.2.2, developers *must* also update @angular/core to 8.2.2. The later version includes approximately 182 KB of diff, which may be related to performance improvements or bug fixes.
Developers should carefully consider this dependency requirement when planning updates. While seemingly minor, a mismatch in these peer dependencies could lead to unexpected runtime errors or compatibility issues. Ensure both @angular/common and @angular/core are upgraded together to maintain a stable and predictable Angular application. The update was released on August 12, 2019, a few days after the previous version. Always refer to the official Angular changelog for a comprehensive list of changes and bug fixes included in version 8.2.2.
The are not vulnerabilities for the version 8.2.2 of the package @angular/common