Angular's @angular/platform-browser library, essential for running Angular applications in web browsers, saw a release of version 12.0.5 shortly after 12.0.4. While the core description remains consistent – a library designed to bridge the gap between Angular and web browsers – subtle yet impactful differences emerge upon closer inspection making the update from 12.0.4 to 12.0.5 recommended.
Both versions share identical dependencies on tslib (^2.1.0) and declare peer dependencies on @angular/core, @angular/common, and @angular/animations. The key distinction lies in the version numbers of these peer dependencies. Version 12.0.5 requires 12.0.5 versions, while the older version depends on 12.0.4 versions. This signifies tighter compatibility and potentially leverages bug fixes or performance improvements within those core Angular packages. Developers should update their @angular/core, @angular/common, and @angular/animations packages alongside @angular/platform-browser for optimal performance and stability.
The dist metadata highlights identical file counts and unpacked sizes. However, the release dates indicate a week-long gap, with release date of 2021-06-16T22:57:39.315Z for version 12.0.5 compared to 2021-06-09T18:06:39.815Z for version 12.0.4. This suggests that version 12.0.5 likely encompasses bug fixes or minor enhancements discovered in the preceding week which is an important aspect to consider for developers relying on the @angular/platform-browser library in Angular projects. Given the small version bump and the updated peer dependencies, it's safe to assume the update is not a breaking change, implying a seamless transition for most projects.
The are not vulnerabilities for the version 12.0.5 of the package @angular/platform-browser