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
Using version 2.0.7. Tested a few versions back (all > 2.x) with the same result.
semver = require 'semver' out = (input) -> console.log input ranges = [ '1.1.1-123' '1.1.1' '1.1.2' '2.0.0' '1.1.0' ] out semver.maxSatisfying ranges, '~1.1.1' #E: 1.1.2 A: 1.1.1-123 out semver.maxSatisfying ranges, '~1.1.x' #E: 1.1.2 A: 1.1.0 out semver.maxSatisfying ranges, '<=2.0.0' #E: 2.0.0 A: 1.1.0 out semver.maxSatisfying ranges, '>=1.1.2' #E: 2.0.0 A: 1.1.2
The text was updated successfully, but these errors were encountered:
432f0f5
You're the man.
Sorry, something went wrong.
Thanks. Not often that you get a bug that can be fixed with a 1-char diff ;)
No branches or pull requests
Using version 2.0.7. Tested a few versions back (all > 2.x) with the same result.
The text was updated successfully, but these errors were encountered: