-
Notifications
You must be signed in to change notification settings - Fork 623
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
SemVer range represents range-set #3967
Comments
Another suggested name would be Another requirement we should question is whether the I hope my thoughts make sense. Happy to try clarify if they don't. |
What do you mean exactly with "promoting the
imo a type Range = [Comparator, Comparator] which actually represents a range between two versions, like a segment on a line: A type RangeSet = Range[] // [Comparator, Comparator][] Example: It therefore necessarily needs to be a nested array and cannot be flattened. |
That BNF file only looks like a non official reference for implementers of node-semver. That doesn't give reason for introducing RangeSet concept in std/semver. Having both |
Closing this since |
Is your feature request related to a problem? Please describe.
Ref: #3957 (comment)
The semver mod was taken over from node-semver. range actually represents a range-set.
I opened an issue on node-semver to find out the reason why.
We should differentiate between
range
andrange-set
to avoid confusion.Describe the solution you'd like
rename range files and functions to
range_set
aka.RangeSet
and deprecate all old functions.In a next step, reintroduce old range functions with the implementation of a real range.
Describe alternatives you've considered
The text was updated successfully, but these errors were encountered: