@angular/common, a fundamental module in the Angular framework providing essential directives and services for building web applications, saw a minor version update from 9.0.0 to 9.0.1 in February 2020. While seemingly small, understanding the nuances between these versions can be crucial for developers maintaining or upgrading Angular projects.
Both versions share the same core functionality, offering features like internationalization (i18n), date, number, and currency formatting, and common directives for templating. They also declare identical fileCount and unpackedSize, suggesting that the new version includes focused bug fixes or incremental improvements instead of introducing significant new functionality.
The key difference lies in the peer dependencies: version 9.0.0 depends on @angular/core version 9.0.0, while 9.0.1 depends on @angular/core version 9.0.1. This indicates that version 9.0.1 of @angular/common was released to align with a corresponding update in @angular/core, likely addressing compatibility issues or leveraging new features within the core Angular framework. If you're using Angular 9, ensuring your @angular/common version matches your @angular/core version becomes paramount to prevent unexpected behaviors or runtime errors. Pay close attention to peer dependencies when updating any angular package. Since the release dates are close together, 9.0.1 is recommended for new projects using Angular 9.
The are not vulnerabilities for the version 9.0.1 of the package @angular/common