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

Support compound expressions #261

Open
ysbaddaden opened this issue Feb 9, 2019 · 0 comments
Open

Support compound expressions #261

ysbaddaden opened this issue Feb 9, 2019 · 0 comments

Comments

@ysbaddaden
Copy link
Contributor

We should add support for compound expressions in version requirements, that is the ability to specify multiple version requirements A valid use case is to require a minimum version while still allowing an approximate version on a higher segment. For example:

  • ~> 1.0.0, >= 1.2.3.rc for example.

Maybe we could also add support for the semver caret expression. It can be expressed with a compound expression, but maybe it's nice to have. I don't know, I never use it. For example:

  • ^ 1.2.3 translated as ~> 1.0, >= 1.2.3.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants