MCPcopy
hub / github.com/codeaashu/claude-code / lt

Function lt

src/utils/semver.ts:33–38  ·  view source on GitHub ↗
(a: string, b: string)

Source from the content-addressed store, hash-verified

31}
32
33export 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
40export function lte(a: string, b: string): boolean {
41 if (typeof Bun !== 'undefined') {

Callers 5

installIDEExtensionFunction · 0.85
assertMinVersionFunction · 0.85
checkBridgeMinVersionFunction · 0.85

Calls 1

getNpmSemverFunction · 0.85

Tested by

no test coverage detected