1.3.0 • Published 11 months ago

@snyk/go-semver v1.3.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
11 months ago

Snyk logo

Known Vulnerabilities


go-semver

A semver parser that uses Go modules dependency semantics with node-semver's api.

Go generally uses semver, with support for pre-releases, special builds, and using untagged revisions from source control repos. For some details, see the Pseudo-Versions section of the go command's documentation.

Ranges

This also supports additional syntax for defining version ranges, as well as logic for checking whether a version satisfies a range and whether two ranges intersect. The syntax used is based on the style used by Ruby Gems. Example ranges:

>=v0.0.0
>=v0.0.0, <v1.0.0
<=v1.0.0 || >= 3.0.0
1.3.0

11 months ago

1.2.1

12 months ago

1.2.0

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.1

4 years ago