source: node_modules/semver/functions/compare.js

main
Last change on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 156 bytes
Line 
1const SemVer = require('../classes/semver')
2const compare = (a, b, loose) =>
3 new SemVer(a, loose).compare(new SemVer(b, loose))
4
5module.exports = compare
Note: See TracBrowser for help on using the repository browser.