@snyk/go-semver
node-semver compatible API with Go modules dependencies semantics
Last updated 2 years ago by snyk-admin .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @snyk/go-semver 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.4.0                                ...           latest (2 years ago)

7 Versions

  • 1.4.0                                ...           2 years ago
  • 1.3.0                                ...           3 years ago
  • 1.2.1                                ...           3 years ago
  • 1.2.0                                ...           6 years ago
  • 1.1.1                                ...           6 years ago
  • 1.1.0                                ...           6 years ago
  • 1.0.1                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (10)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |