(a: string, b: string)
| 31 | } |
| 32 | |
| 33 | export function lt(a: string, b: string): boolean { |
| 34 | if (typeof Bun !== 'undefined') { |
| 35 | return Bun.semver.order(a, b) === -1 |
| 36 | } |
| 37 | return getNpmSemver().lt(a, b, { loose: true }) |
| 38 | } |
| 39 | |
| 40 | export function lte(a: string, b: string): boolean { |
| 41 | if (typeof Bun !== 'undefined') { |
no test coverage detected