-
Notifications
You must be signed in to change notification settings - Fork 0
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
Normalize range/version used in maxSatisfying method #55
Conversation
README.md
Outdated
@@ -106,140 +106,6 @@ If both values are invalid semver values, then the values are compared alphabeti | |||
| versionA | <code>string</code> \| <code>null</code> \| <code>undefined</code> | The first version to compare | | |||
| versionB | <code>string</code> \| <code>null</code> \| <code>undefined</code> | The second version to compare | | |||
|
|||
**Example** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This appears to have removed all the examples from the README?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WAAAAH
test/index.spec.ts
Outdated
).to.equal(0); | ||
expect( | ||
semver.compare('Resin OS 2.0.0+prod', 'Resin OS 2.0.0 (prod)'), | ||
).to.equal(0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can see why this (and all the other changes in this file) have happened, and prettier is great, but this does make me a little sad. Could we boost the line length, so all these tests are readable (both here and in the docs), or is that not worth it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm happy to boost the line length here, readability is important for these test files
9d92f2f
to
6e014d0
Compare
Connects to #53 change-type: minor
Connects to #53
change-type: minor