-
Notifications
You must be signed in to change notification settings - Fork 543
fix: x-range partial version build metadata support #810
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: x-range partial version build metadata support #810
Conversation
Ok now we're cooking. And the comment still describes what we're doing
Build is not part of a comparator. |
Looks good. Those test cases probably should move to a test fixture file (i.e ./test/fixtures/range-build.js). I will merge this after the weekend regardless, we can make that change as a follow up if you don't want to. |
Moved the test cases to /test/fixtures/range-build.js . Thank you for your support and help. |
I cleaned up the test cases this morning and made #811, you are still listed as the actual author in git commit 94d2054633456bcd8fc3e1afa331bbeac3e215d0 (HEAD -> gar/pr810, origin/gar/pr810)
Author: i529015 <redacted>
Date: Wed Sep 24 13:21:26 2025 +0530
fix: x-range build metadata support
|
Supporting for partial version and x-range for build metadata.
bin/semver.js 1.3.4 -r ">=1.x+build <2.x+build"
will work.Also checking and removing support for x-range pre-release.
bin/semver.js 1.3.4 -r ">=1.x.x-alpha <2.x+build"
will not work.Closes: #509