Packages

  • package root
    Definition Classes
    root
  • package semver4s

    Semver4s provides semver versions and matchers and parsers for them.

    Semver4s provides semver versions and matchers and parsers for them.

    SemVer is a version scheme to delineate when a libraries semantics change. You can read more about it at https://semver.org/

    This library aims to provide at least all functionality the SemVer package in NPM provides, though as of now, it still falls short of that.

    It does so through the types Matcher and Version. You can parse matcher or version strings with semver4s.parseMatcher and semver4s.parseVersion.

    For supported ranges, see the NPM documentation over at https://www.npmjs.com/package/semver#ranges

    For literals, importing Literal._ brings the interpolators m and v in scope, which you can use to write, for example a literal version v"1.2.3" or literal matcher m"~1.3.2 || 2.0.x - 2.2.x", which are parsed and validated at compile time.

    Definition Classes
    root
  • package parsing
    Definition Classes
    semver4s
  • MatcherParser
  • Reporter
  • SemverParser
p

semver4s

parsing

package parsing

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. class Reporter extends AnyRef

    A reporter for parse errors

    A reporter for parse errors

    Eagerly allocates a LocationMap, which may be expensive: in most cases, you want a def for a new reporter, and/or pass it as a by name argument.

Value Members

  1. object MatcherParser
  2. object SemverParser

Ungrouped