1
0
Fork 1
mirror of https://codeberg.org/keyoxide/doipjs.git synced 2025-03-19 16:12:57 -06:00
doipjs/node_modules/semver/functions/rsort.js

4 lines
149 B
JavaScript
Raw Normal View History

2020-10-23 22:35:53 +02:00
const compareBuild = require('./compare-build')
const rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose))
module.exports = rsort