(a: string, b: string)
| 17 | } |
| 18 | |
| 19 | export function gt(a: string, b: string): boolean { |
| 20 | if (typeof Bun !== 'undefined') { |
| 21 | return Bun.semver.order(a, b) === 1 |
| 22 | } |
| 23 | return getNpmSemver().gt(a, b, { loose: true }) |
| 24 | } |
| 25 | |
| 26 | export function gte(a: string, b: string): boolean { |
| 27 | if (typeof Bun !== 'undefined') { |
no test coverage detected