Skip to content
New issue

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

fix: be consistently strict when parsing semvers #99

Merged
merged 1 commit into from
Dec 27, 2023

Conversation

kormide
Copy link
Collaborator

@kormide kormide commented Dec 27, 2023

The issue was that validSemver defaults loose parsing while semverCompare defaults to strict parsing. The comparison method was being passed an invalid semver and threw.

Closes #97.

@kormide kormide merged commit 26f5918 into bazel-contrib:main Dec 27, 2023
1 check passed
@kormide kormide deleted the semver-loose-parsing branch December 27, 2023 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failing to sort non-semver
2 participants