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
The behaviour of satisfies when using a caret range with includePrerease: true seems to depend on whether a major version number is present:
satisfies
includePrerease: true
> semver.satisfies('0.0.3-alpha', '^0.0.3', {includePrerelease: true}) true > semver.satisfies('0.2.3-alpha', '^0.2.3', {includePrerelease: true}) true > semver.satisfies('1.2.3-alpha', '^1.2.3', {includePrerelease: true}) false
I'd expect the above calls to all return false, for consistency with the reasoning in #409
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is there an existing issue for this?
Current Behavior
The behaviour of
satisfies
when using a caret range withincludePrerease: true
seems to depend on whether a major version number is present:Expected Behavior
I'd expect the above calls to all return false, for consistency with the reasoning in #409
Steps To Reproduce
No response
Environment
The text was updated successfully, but these errors were encountered: