Angular Common package version 5.1.0 introduces subtle but important updates compared to the previous stable version, 5.0.5. Both versions provide essential directives and services for Angular applications, streamlining common tasks like internationalization, HTTP communication, and template rendering. Both of them share the same dependencies, tslib, and peer dependencies rxjs, requiring a minimum RxJS version of 5.5.0.
The core difference lies in the peer dependency @angular/core, which has been bumped from version 5.0.5 to 5.1.0. This means that while @angular/common@5.0.5 is paired with @angular/core@5.0.5, the newer @angular/common@5.1.0 necessitates @angular/core@5.1.0. Developers should carefully align the @angular/core peer dependency when upgrading to @angular/common@5.1.0 to avoid compatibility issues.
The release dates show that version 5.1.0 was released a few days after 5.0.5 in December 2017.
For developers, both versions offer robust tools for building dynamic and localized Angular applications. If your Angular project already utilizes @angular/core@5.1.0, upgrading to @angular/common@5.1.0 is recommended. However, if you are on @angular/core@5.0.5, stick to @angular/common@5.0.5 until planning a coordinated upgrade.
The are not vulnerabilities for the version 5.1.0 of the package @angular/common