You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] semver.lt returns wrong value for pre-release version comparison #483
Activity
[-][BUG] <title>[/-][+][BUG] semver.lt returns wrong value for pre-release version comparison[/+]lukekarrys commentedon Oct 27, 2022
This is similar to #345, and I think the fix might even be the same for both.
mbtools commentedon Jan 21, 2025
The comparison functions do not use the
includePrereleaseoption! Ifmajor.minor.patchare the same, they always compare the pre-release parts.Maybe the docs could be improved since it's suggesting that all functions use evaluate all options:
node-semver/README.md
Lines 402 to 414 in 868d4bb
6Demon6Child6 commentedon Jan 21, 2025