Angular's @angular/platform-browser-dynamic package enables developers to use Angular within a web browser, leveraging Just-In-Time (JIT) compilation. Examining versions 8.2.14 and 9.0.0 reveals key upgrades impacting Angular projects. Version 9.0.0 represents a major release, evident in the significant change in peer dependencies. It mandates a newer version of tslib (^1.10.0) and aligns with Angular core packages like @angular/core, @angular/common, @angular/compiler, and @angular/platform-browser all at version 9.0.0. This synchronization ensures compatibility and access to the latest features offered by the Angular framework.
In contrast, version 8.2.14 relies on tslib ^1.9.0 as a direct dependency and requires peer dependencies for the 8.2.14 versions of the core Angular packages. The file size also increased from version 8 to 9 (+15Kb). This is not necessarily a problem, but it is a difference.
For developers, upgrading to version 9.0.0 offers access to enhanced performance, improved type checking, and new features introduced in the Angular 9 release. It's crucial to update all related @angular/* packages simultaneously to avoid compatibility issues. While version 8.2.14 remains a stable option, developers starting new projects or seeking the latest Angular capabilities should prioritize version 9.0.0 and later. If you are using version 8 it could be a good time to update your project to newer versions.
The are not vulnerabilities for the version 9.0.0 of the package @angular/platform-browser-dynamic