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

Upgrade semver #77

Merged
merged 2 commits into from
Apr 13, 2023
Merged

Upgrade semver #77

merged 2 commits into from
Apr 13, 2023

Conversation

mcous
Copy link
Member

@mcous mcous commented Apr 13, 2023

The latest release of semver fixed a bug where semver.diff would erroneously call the difference between 1.0.0 and 1.0.0-prefix a "prerelease" rather than the correct "major".

Unfortunately, this bug was encoded into a few of our test suite expectations, which started failing when an unrelated package addition caused the semver dependency to lock at a newer version.

This PR:

  • Upgrades semver to latest
  • Fixes the tests by using better version values
  • Changes @types/semver from a dev dep to a prod dep, because we re-export the ReleaseType interface from semver

@mcous mcous requested a review from razor-x April 13, 2023 02:20
@mcous mcous merged commit d6a8488 into master Apr 13, 2023
@mcous mcous deleted the upgrade-semver branch April 13, 2023 20:49
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.

1 participant