Angular Compiler version 18.0.0 represents a significant update from the previous stable version, 17.3.12. While both versions serve the core function of compiling Angular templates into efficient JavaScript code, several key differences influence developer workflows and application performance. Version 18.0.0, released in May 2024, boasts a reduction in unpacked size, indicating potential optimizations in the compiled output or library structure. The uncompressed size went down from 10129137 to 9005532. This streamlining can translate to faster load times for applications utilizing the newer compiler. Also the number of files inside the package went down from 188 to 183.
Both versions share common attributes, including the MIT license, dependency on tslib for TypeScript helper functions, and peer dependency on @angular/core. This consistent dependency on @angular/core highlights the tight integration between the compiler and the core framework, ensuring compatibility between the compiler and the core Angular components. Developers upgrading to version 18.0.0 should carefully review the Angular changelog for breaking changes. The repository information remains consistent between versions, linking to the Angular GitHub repository. Version 17.3.12 was released in July 2024. The newer version is the 18.0.0.
The are not vulnerabilities for the version 18.0.0 of the package @angular/compiler