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
A version range like 1.x.5 is valid and treated as equivalent to 1.x.x.
1.x.5
1.x.x
1.x.5 should either be invalid or match only versions like 1.0.5 and 1.10.5 but not versions like 1.0.0 or 1.2.3.
1.0.5
1.10.5
1.0.0
1.2.3
As I am not a Node developer but rather a maintainer of a semver package for C# that needs to support npm style version ranges, I am using https://semver.npmjs.com/ to test. Simply put the listed versions into it.
The text was updated successfully, but these errors were encountered:
I think it should just be invalid. a non-x specifier after an x specifier makes no sense at all.
x
Sorry, something went wrong.
No branches or pull requests
Is there an existing issue for this?
Current Behavior
A version range like
1.x.5
is valid and treated as equivalent to1.x.x
.Expected Behavior
1.x.5
should either be invalid or match only versions like1.0.5
and1.10.5
but not versions like1.0.0
or1.2.3
.Steps To Reproduce
As I am not a Node developer but rather a maintainer of a semver package for C# that needs to support npm style version ranges, I am using https://semver.npmjs.com/ to test. Simply put the listed versions into it.
The text was updated successfully, but these errors were encountered: