source: node_modules/semver/functions/rsort.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: 163 bytes
RevLine 
[81bc7da]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.