Angular's @angular/common package provides essential directives and services for building Angular applications. Comparing versions 19.0.1 and 19.0.0 reveals subtle but important distinctions for developers. The core functionality remains consistent, offering features like internationalization (i18n), date/number formatting, and common directives for templating. Both versions list tslib as a dependency, ensuring compatibility with TypeScript helper functions. The peer dependencies highlight compatibility with RxJS versions 6.5.3 or greater, up to version 7.4.0, and, crucially, with the corresponding @angular/core version. This means @angular/common@19.0.1 is designed to work with @angular/core@19.0.1.
The key difference lies in the versioning of @angular/core peer dependency and the internal changes reflected in the "dist" object. While fileCount is identical in both versions, the unpackedSize differs slightly, indicating minor adjustments or bug fixes within the compiled code. Version 19.0.1 is subsequently newer, as it was released on 2024-11-26, a week after 19.0.0 (2024-11-19). Developers should generally prefer 19.0.1 for its potential bug fixes and stability improvements built upon the foundation of 19.0.0. When upgrading, ensuring compatibility between @angular/common and @angular/core versions, as indicated by the peer dependencies, is critical for a smooth transition and to prevent runtime errors. Developers should consult the full changelog for comprehensive details on specific fixes or enhancements.
The are not vulnerabilities for the version 19.0.1 of the package @angular/common