Comparing v7.7.1...v7.7.2 · npm/node-semver (original) (raw)

Commits on May 8, 2025

  1. fix: prerelease identifier starting with digits (#781)
    Closes #775
    The regex for the prerelease identifier was not precise
    enough. Changing the order of numeric and non-numeric parts fixes the
    issue. I reverted the change to inc function in semver.js. The tests
    still pass 😃
    I added tests that check the exact result of parsing valid versions in
    particular the pre-release and build parts which was somehow missing. We
    might want to add edge cases here.
    Related: #764 (comment)
    @mbtools
    Configuration menu
    Browse the repository at this point in the history