Angular's @angular/platform-browser package bridges the gap between the Angular framework and the web browser environment. Version 9.0.0 marks a significant upgrade from the older 8.2.14, introducing notable changes for developers. One key difference lies in the peer dependencies. Version 9.0.0 mandates tslib version ^1.10.0 and peer dependencies @angular/core and @angular/common to be exactly version 9.0.0. In contrast, version 8.2.14 only required tslib as a direct dependency (^1.9.0) and had peer dependencies for @angular/core and @angular/common locked to 8.2.14. This shift highlights a tighter integration and dependency management within the Angular ecosystem for version 9.
Another interesting aspect is the distribution size. While version 9.0.0 has fewer files in its tarball (127 vs 133), it's also considerably smaller in unpacked size (2216847 bytes vs 2692671 bytes). This suggests potential optimizations in the build process, leading to a leaner package size. The release date difference is substantial, with version 9.0.0 arriving in February 2020, several months after version 8.2.14's release in November 2019. Developers should carefully consider these dependency updates and potential performance improvements when upgrading to version 9.0.0, ensuring compatibility within their Angular projects. Upgrading provides access to new features, bug fixes, and performance enhancements inherent in the Angular 9 release.
The are not vulnerabilities for the version 9.0.0 of the package @angular/platform-browser