Angular developers considering upgrades to their projects should be aware of the subtle yet potentially impactful differences between @angular/common versions 11.0.4 and 11.0.3. Both versions, fundamental components of the Angular framework, provide essential directives and services for building robust web applications. They share core dependencies like tslib (version ^2.0.0) and peer dependencies including rxjs (version ^6.5.3), indicating similar compatibility with the broader Angular ecosystem. Notably, both versions maintain the MIT license and originate from the official Angular repository on GitHub.
The key distinction lies in the peer dependency @angular/core. Version 11.0.4 explicitly requires @angular/core in version 11.0.4 to work properly, while 11.0.3 depends on @angular/core version 11.0.3. This suggests that upgrading @angular/common from 11.0.3 to 11.0.4 necessitates a corresponding upgrade of @angular/core to ensure compatibility and avoid potential runtime errors. Furthermore, the unpacked size increases slightly from 12,790,958 bytes in 11.0.3 to 12,795,603 bytes in 11.0.4, indicating minor code additions or adjustments. Version 11.0.4 was also released on December 9, 2020, a week after version 11.0.3 which was released on December 2, 2020, so it includes all the enhancements and patches that the previous one didn't have. The slightly later release date of 11.0.4 (December 9, 2020) compared to 11.0.3 (December 2, 2020) hints at potential bug fixes or minor enhancements included in the newer version. Developers should consult the official Angular changelog for detailed information regarding specific changes and their potential impact on existing applications.
The are not vulnerabilities for the version 11.0.4 of the package @angular/common