source: node_modules/semver/functions/compare.js

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

Initial commit

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