(a: string, b: string)
| 52 | } |
| 53 | |
| 54 | export function order(a: string, b: string): -1 | 0 | 1 { |
| 55 | if (typeof Bun !== 'undefined') { |
| 56 | return Bun.semver.order(a, b) |
| 57 | } |
| 58 | return getNpmSemver().compare(a, b, { loose: true }) |
| 59 | } |
| 60 |
nothing calls this directly
no test coverage detected