All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.functions.compare-build.js Maven / Gradle / Ivy

There is a newer version: 7.6.3
Show newest version
const SemVer = require('../classes/semver')
const compareBuild = (a, b, loose) => {
  const versionA = new SemVer(a, loose)
  const versionB = new SemVer(b, loose)
  return versionA.compare(versionB) || versionA.compareBuild(versionB)
}
module.exports = compareBuild




© 2015 - 2024 Weber Informatics LLC | Privacy Policy