Angular Compiler version 9.1.3 is a patch release in the Angular 9.1 series, building upon the foundation laid by version 9.1.2. Both versions share the same core functionality as the Angular compiler, responsible for transforming Angular templates and TypeScript code into efficient JavaScript instructions that can be executed by browsers. Developers rely on this compiler to build robust and dynamic web applications.
Crucially, both versions list tslib version "^1.10.0" as a peer dependency, ensuring compatibility with a shared library of helper functions for TypeScript. This consistency allows developers to leverage the same TypeScript runtime support across both versions. The file count remains constant at 598 files, indicating a structural similarity in the packaged library contents. Both versions are licensed under the MIT license, offering developers freedom in utilizing and distributing the library.
The key differences lie in the release date and potentially, the internal fixes and optimizations included in 9.1.3. Released a week after 9.1.2, the newer version most likely contains bug fixes and minor improvements addressing issues discovered in the earlier 9.1.2 release. The unpacked size of 9.1.3 is slightly larger (29,125,052 bytes) than 9.1.2 (29,115,120 bytes), which could point to these minor code changes. Developers should check the Angular changelog associated with version 9.1.3 to determine the specific fixes and enhancements included, before upgrading. While both versions provide the same essential compiling features, upgrading to the latest patch release 9.1.3 is generally recommended, ensuring that you benefit from the latest stability and performance improvements.
The are not vulnerabilities for the version 9.1.3 of the package @angular/compiler