Semver, the ubiquitous semantic version parser utilized by npm, has two recent stable versions, 7.7.2 and 7.7.1. Both versions share the same core functionalities, description, license (ISC), and author (GitHub Inc.). They also depend on the same major versions of development dependencies like tap for testing, benchmark for performance evaluation, and @npmcli/eslint-config for code linting.
The key differences between the two are primarily found in the @npmcli/template-oss dependency and the build characteristics. Version 7.7.2 upgraded @npmcli/template-oss from 4.23.4 to 4.24.3 which can include improvements to project scaffolding, file templating, and potentially bug fixes within the tooling itself. Furthermore, version 7.7.2 has a slightly larger unpacked size of 97420 bytes compared to 7.7.1's 96674 bytes, suggesting minor code additions, optimization of whitespace or other build process differences. The releaseDate differs of course, since 7.7.2 was released later than 7.7.1.
For developers relying on Semver for version parsing and comparison, these changes suggest an incremental update. The upgrade to @npmcli/template-oss likely doesn't directly impact the core Semver functionality. The size difference might indicate minor performance tweaks or internal adjustments. Therefore, upgrading to 7.7.2 is recommended for leveraging the latest tooling improvements and potential bug fixes, but the core API and behavior of Semver remain consistent and familiar. It's good practice to run tests when upgrading dependencies.
The are not vulnerabilities for the version 7.7.2 of the package semver