Newer
Older
vue-indexer / node_modules / semver / functions / compare.js
@eugene-sukhodolskiy eugene-sukhodolskiy on 24 Sep 156 bytes v1.0
const SemVer = require('../classes/semver')
const compare = (a, b, loose) =>
  new SemVer(a, loose).compare(new SemVer(b, loose))

module.exports = compare