source:
node_modules/semver/functions/rsort.js
| Last change on this file was 81bc7da, checked in by , 3 months ago | |
|---|---|
|
|
| File size: 163 bytes | |
| Rev | Line | |
|---|---|---|
| [81bc7da] | 1 | 'use strict' |
| 2 | ||
| 3 | const compareBuild = require('./compare-build') | |
| 4 | const rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose)) | |
| 5 | module.exports = rsort |
Note:
See TracBrowser
for help on using the repository browser.
