Angular's @angular/platform-browser-dynamic package empowers developers to run Angular applications within a web browser using Just-In-Time (JIT) compilation. Comparing version 10.0.0 with its predecessor, 9.1.13, reveals key updates relevant for developers. While both versions share the same core purpose and MIT license, several changes impact project setup and dependency management.
Version 10.0.0 boasts an updated dependency on tslib, requiring version ^2.0.0 or higher, whereas 9.1.13 relies on tslib ^1.10.0. This reflects advancements in TypeScript support and potentially introduces performance improvements and bug fixes inherent in the newer tslib version. Crucially, the peer dependencies have been updated to require Angular core packages at version 10.0.0 (@angular/core, @angular/common, @angular/compiler, @angular/platform-browser), ensuring compatibility within the Angular ecosystem. Developers upgrading to version 10.0.0 must update their core Angular dependencies concurrently. In contrast, the previous version 9.1.13 expects peer dependencies at version 9.1.13. The dist section also provides insights, with version 10.0.0 showing a significantly smaller unpacked size (486432 bytes) and fewer files (44) compared to version 9.1.13 (704133 bytes and 69 files). This is a sign of overall improvements in code size, optimization and potentially faster loading times in the newer version.
The are not vulnerabilities for the version 10.0.0 of the package @angular/platform-browser-dynamic