Angular developers can leverage the @angular/router package to manage navigation and routing within their applications. Examining versions 14.0.3 and 14.0.2 reveals subtle differences with potential implications. Both versions, described as "Angular - the routing library," share core characteristics. They depend on tslib version ^2.3.0 and have identical file structure consisting of 69 files and unpacked size of 2777549, ensuring code consistency across both versions. Version 14.0.3 was released on June 22, 2022, a week later than Version 14.0.2, which was released on June 15, 2022.
The most significant distinction lies in their peer dependencies. While requiring compatible versions of rxjs (^6.5.3 || ^7.4.0), each version specifies its corresponding @angular/core, @angular/common, and @angular/platform-browser dependencies. Specifically, version 14.0.3 mandates version 14.0.3 of these Angular core packages, whereas version 14.0.2 requires version 14.0.2. This indicates bug fixes and stability changes incorporated with the Angular core. Therefore, when upgrading to @angular/router@14.0.3, developers *must* upgrade their @angular/core, @angular/common, and @angular/platform-browser packages to version 14.0.3 accordingly to ensure compatibility and avoid potential runtime errors. Failure to align these peer dependencies could lead to unexpected application behavior. Both versions are under the MIT license and are maintained in the Angular repository on GitHub.
The are not vulnerabilities for the version 14.0.3 of the package @angular/router