diff options
Diffstat (limited to 'together/node_modules/semver/functions/rsort.js')
-rw-r--r-- | together/node_modules/semver/functions/rsort.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/together/node_modules/semver/functions/rsort.js b/together/node_modules/semver/functions/rsort.js new file mode 100644 index 0000000..82404c5 --- /dev/null +++ b/together/node_modules/semver/functions/rsort.js @@ -0,0 +1,3 @@ +const compareBuild = require('./compare-build') +const rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose)) +module.exports = rsort |