source: node_modules/semver/functions/rsort.js@ 81bc7da

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

Initial commit

  • Property mode set to 100644
File size: 163 bytes
Line 
1'use strict'
2
3const compareBuild = require('./compare-build')
4const rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose))
5module.exports = rsort
Note: See TracBrowser for help on using the repository browser.