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

Update semver library #244

Merged
merged 1 commit into from
Nov 9, 2023
Merged

Update semver library #244

merged 1 commit into from
Nov 9, 2023

Conversation

radito3
Copy link
Contributor

@radito3 radito3 commented Nov 7, 2023

No description provided.

return new Version(new Semver(fullVersionString, SemverType.NPM));
} catch (SemverException e) {
throw new ParsingException(e, Messages.UNABLE_TO_PARSE_VERSION, versionString);
var version = Semver.coerce(versionString); //allows incomplete version strings like "3" or "3.0"
Copy link
Contributor

Choose a reason for hiding this comment

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

Will this work with some strange version like 3.1.0+123123, because it might be breaking

Copy link
Contributor

@IvanBorislavovDimitrov IvanBorislavovDimitrov left a comment

Choose a reason for hiding this comment

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

I saw the test

@radito3 radito3 merged commit b68f0d1 into cloudfoundry:master Nov 9, 2023
3 of 4 checks passed
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.

2 participants