compare.js 156 B

12345
  1. const SemVer = require('../classes/semver')
  2. const compare = (a, b, loose) =>
  3. new SemVer(a, loose).compare(new SemVer(b, loose))
  4. module.exports = compare