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

feat(tests): Use official semver.org RegExp #5990

Merged
merged 1 commit into from Mar 9, 2022

Conversation

cpcallen
Copy link
Contributor

@cpcallen cpcallen commented Mar 9, 2022

The basics

  • I branched from develop
  • My pull request is against develop
  • My code follows the style guide

The details

Proposed Changes

Use the official semantic versioning regexp from semver.org rather than the shorter but sloppier one
we had previously found
.

Reason for Changes

Avoid any possible problems that could be caused by invalid version numbers in renamings.json5 when comparing version numbers in the process of running the renamings script.

Test Coverage

  • Passes npm test.

Use the official semantic versioning regexp from
https://semver.org/, rather than the shorter but sloppier one
we had previously found at
https://gist.github.com/jhorsman/62eeea161a13b80e39f5249281e17c39.
@cpcallen cpcallen merged commit afc4088 into google:develop Mar 9, 2022
@cpcallen cpcallen deleted the better-semver-regexp branch March 9, 2022 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants