Angular developers have two recent versions of the @angular/common package to choose from: 13.3.6 and 13.3.5. Both versions offer commonly used directives and services essential for building Angular applications. While seemingly similar, a closer look reveals subtle differences that developers should be aware of.
The primary distinction lies in the @angular/core peer dependency. Version 13.3.6 requires @angular/core version 13.3.6, while version 13.3.5 correspondingly needs the 13.3.5 version of @angular/core. Therefore, when updating your Angular project, ensure that both @angular/common and @angular/core are aligned to the same version to avoid compatibility issues.
Beyond this dependency adjustment, both packages share the same core functionality, dependencies like tslib, license (MIT), repository details, author, and even the size characteristics of the distributed tarball. The file count (2961) and unpacked size (11384710 bytes) are identical, suggesting that the changes between these two versions didn't involve significant code modifications or additions. The most noticeable difference is the releaseDate. While version 13.3.5 was released on April 27, 2022, version 13.3.6 followed shortly after on May 4, 2022. Such quick point releases often indicate bug fixes or minor adjustments addressing issues identified in the previous version. Developers should upgrade to the latest (13.3.6) for the most stable experience.
The are not vulnerabilities for the version 13.3.6 of the package @angular/common