source: node_modules/semver/functions/sort.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: 161 bytes
Line 
1'use strict'
2
3const compareBuild = require('./compare-build')
4const sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose))
5module.exports = sort
Note: See TracBrowser for help on using the repository browser.