source: node_modules/semver/functions/compare-build.js@ 81bc7da

finki-main main
Last change on this file since 81bc7da was 81bc7da, checked in by Klimentina Efremova <klimentina08642@…>, 3 months ago

Initial commit

  • Property mode set to 100644
File size: 281 bytes
RevLine 
[81bc7da]1'use strict'
2
3const SemVer = require('../classes/semver')
4const compareBuild = (a, b, loose) => {
5 const versionA = new SemVer(a, loose)
6 const versionB = new SemVer(b, loose)
7 return versionA.compare(versionB) || versionA.compareBuild(versionB)
8}
9module.exports = compareBuild
Note: See TracBrowser for help on using the repository browser.