We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This code:
console.log(diff('2.0.0-alpha.1', '2.0.0')) console.log(diff('2.0.0-alpha.1', '2.1.1'))
Results in "major" and "minor".
The code should result in the output "major", "major".
Just run the code with semver v7.5.1. The bug seems to have appeared in 7.4.0.
The text was updated successfully, but these errors were encountered:
fix: diff when detecting major change from prerelease
56c8411
Fixes #561
e5856da
fix: diff when detecting major change from prerelease (#566)
58c791f
Successfully merging a pull request may close this issue.
Is there an existing issue for this?
Current Behavior
This code:
Results in "major" and "minor".
Expected Behavior
The code should result in the output "major", "major".
Steps To Reproduce
Just run the code with semver v7.5.1. The bug seems to have appeared in 7.4.0.
Environment
The text was updated successfully, but these errors were encountered: