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
There is a logical flaw in VERSION-RANGE-SPEC, as there is only an OR-operator for ranges. At least for npms semvers there should be an AND operator.
One of the examples: vers:npm/1.2.3|>=2.0.0|<5.0.0
This would essentially parse to every version, as everything mathes less than 5.0.0 or greater or equal to 2.0.0
Following the npm semver spec (https://github.com/npm/node-semver#ranges) this would have been written as:
1.2.3 || >=2.0.0 <5.0.0
Parsing to either 1.2.3 or (greater or equal to 2.0.0 AND less than 5.0.0)
That AND operator seem to have gotten lost on the way...
The text was updated successfully, but these errors were encountered:
No branches or pull requests
There is a logical flaw in VERSION-RANGE-SPEC, as there is only an OR-operator for ranges. At least for npms semvers there should be an AND operator.
One of the examples:
vers:npm/1.2.3|>=2.0.0|<5.0.0
This would essentially parse to every version, as everything mathes less than 5.0.0 or greater or equal to 2.0.0
Following the npm semver spec (https://github.com/npm/node-semver#ranges) this would have been written as:
1.2.3 || >=2.0.0 <5.0.0
Parsing to either 1.2.3 or (greater or equal to 2.0.0 AND less than 5.0.0)
That AND operator seem to have gotten lost on the way...
The text was updated successfully, but these errors were encountered: