go-version
go-version copied to clipboard
Support for version constraint wildcards
I discovered you started a library after commenting on my PR at https://github.com/hashicorp/go-version/pull/49. I've written this PR which adds support for version wildcards and passes all https://github.com/Masterminds/semver test cases.
This also addresses a few issues:
- Repeated calls to Constraints
Checkwill mutate the object inPessimisticBump,TildeBumpandCaretBump - Adding a prerelease check for all constraint functions
- Empty string is treated the same as wildcards