diff options
Diffstat (limited to 'together/node_modules/semver/functions/compare.js')
-rw-r--r-- | together/node_modules/semver/functions/compare.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/together/node_modules/semver/functions/compare.js b/together/node_modules/semver/functions/compare.js new file mode 100644 index 0000000..748b7af --- /dev/null +++ b/together/node_modules/semver/functions/compare.js @@ -0,0 +1,5 @@ +const SemVer = require('../classes/semver') +const compare = (a, b, loose) => + new SemVer(a, loose).compare(new SemVer(b, loose)) + +module.exports = compare |