Skip to content
This repository has been archived by the owner on Jan 21, 2022. It is now read-only.
/ semver-bundle Public archive

A browserified dist of node-semver

License

Notifications You must be signed in to change notification settings

openstyles/semver-bundle

Repository files navigation

semver-bundle

This repository bundles semver to a single semverCompare(a, b) function. You can find the bundle at dist/semver.js. This package is used by openstyles/stylus

Usage:

semverCompare("0.1.0", "0.1.0"); // 0
semverCompare("0.1.1", "0.1.0"); // 1
semverCompare("0.0.1", "0.1.0"); // -1

Changelog

  • 0.1.0 (Jul 19, 2018)

    • Initial release with semver@5.5.0.