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

Add .lt() method #22

Merged
merged 2 commits into from
Aug 1, 2017
Merged

Add .lt() method #22

merged 2 commits into from
Aug 1, 2017

Conversation

LucianBuzzo
Copy link
Contributor

Connects to #20

change-type: minor

@LucianBuzzo LucianBuzzo self-assigned this Jul 31, 2017
src/index.ts Outdated
return false;
}

return semver.lt(versionA, versionB);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See my gte comment: this should at least be defined in terms of gte (e.g. lt(a, b) => !gte(a, b)) even if we do want different behaviour to compare, but more likely everything should just be compare-based, I think.

Connects to #20

change-type: minor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants