Angular developers will find key updates comparing @angular/common versions 19.0.0 and 18.2.13. Both versions, essential for Angular's core functionalities like directives and services, share the same tslib dependency, ensuring TypeScript helper compatibility. Crucially, both maintain the same permissive MIT license and source code location within the Angular repository. However, the peerDependencies highlight a key difference: version 19.0.0 strictly requires @angular/core version 19.0.0, enforcing tighter synchronization between the core framework and common functionalities. Version 18.2.13, in contrast, requires @angular/core version 18.2.13.
The significantly smaller unpacked size and file count in version 19.0.0, going down from 11.48MB and 3016 files to 9.50MB and 2903 files, respectively, suggest potential optimizations in the build process, or reduction of the package's install size and possibly a leaner overall footprint. This could translate to faster application loading times and improved performance, valuable for user experience. Interestingly, version 19.0.0 was released slightly earlier, on November 19, 2024, as opposed to version 18.2.13 released on November 26, 2024. The update offers Angular developers a potentially more streamlined and performant experience with a tighter core dependency requirement.
The are not vulnerabilities for the version 19.0.0 of the package @angular/common