Angular core version 4.0.2, released on April 11, 2017, represents a minor iteration over its predecessor, version 4.0.1, which was released on March 29, 2017. Both versions share the same core framework description, MIT license, and repository details, indicating a consistent development and maintenance strategy. They also maintain the same peer dependencies – rxjs "^5.0.1" and zone.js "^0.8.4" – which are crucial for Angular's reactive programming capabilities and asynchronous operation handling.
The key difference lies in the release date, signifying bug fixes, performance enhancements, or minor feature additions implemented between the two versions. Developers should typically upgrade to the latest minor version (4.0.2 in this case) to benefit from these improvements as they often address stability and security concerns. While the provided data doesn't detail the precise nature of the changes, Angular's commitment to semantic versioning implies that upgrading from 4.0.1 to 4.0.2 should be relatively straightforward, with minimal risk of breaking existing code. Developers using Angular core should consult the official Angular changelog and release notes for a comprehensive list of changes and migration guidance. This ensures optimal performance, stability, and security within their Angular applications.
All the vulnerabilities related to the version 4.0.2 of the package
Cross site scripting in Angular
A vulnerability was found in Angular up to 11.0.4/11.1.0-next.2. It has been classified as problematic. Affected is the handling of comments. The manipulation leads to cross site scripting. It is possible to launch the attack remotely but it might require an authentication first. Upgrading to version 10.2.5, 11.0.5 or 11.1.0-next.3 is advised to to address this issue.