Angular developers should note the changes between @angular/platform-browser-dynamic versions 12.0.5 and 12.1.0. Both versions provide the necessary functionality for using Angular in a web browser with Just-In-Time (JIT) compilation, enabling dynamic rendering and execution of Angular applications directly in the browser. The core functionality remains consistent: relying on peer dependencies like @angular/core, @angular/common, @angular/compiler, and @angular/platform-browser to function correctly.
A key difference lies in the dependency on tslib. Version 12.1.0 updates this dependency to ^2.2.0, a slight bump from the ^2.1.0 used in version 12.0.5. While potentially minor, this update likely incorporates TypeScript helper functions and may include bug fixes or performance improvements relevant to the Typescript compilation process. This version includes a bump in the unpackedSize from 385899 to 387952 and it was released on "2021-06-24T21:17:03.702Z" while the previous was released on "2021-06-16T22:57:32.506Z".
Developers upgrading should ensure their project's TypeScript version and related tooling are compatible with tslib@^2.2.0. While the peer dependencies of the same version enforce this compatibility for Angular managed packages, it's important to verify for other potentially affected libraries. The updated release date also signifies bugfixes and improvements made during the week between the releases. When upgrading, developers should review the official Angular changelog for comprehensive information, even if it is implied by the peer dependencies updates.
The are not vulnerabilities for the version 12.1.0 of the package @angular/platform-browser-dynamic