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