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

Normalize range/version used in maxSatisfying method #55

Merged
merged 2 commits into from
Sep 15, 2017

Conversation

LucianBuzzo
Copy link
Contributor

Connects to #53

change-type: minor

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**

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

WAAAAH

).to.equal(0);
expect(
semver.compare('Resin OS 2.0.0+prod', 'Resin OS 2.0.0 (prod)'),
).to.equal(0);

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?

Copy link
Contributor Author

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

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