MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / lt

Function lt

source code/utils/semver.ts:35–40  ·  view source on GitHub ↗
(a: string, b: string)

Source from the content-addressed store, hash-verified

33}
34
35export function lt(a: string, b: string): boolean {
36 if (typeof Bun !== 'undefined') {
37 return Bun.semver.order(a, b) === -1
38 }
39 return getNpmSemver().lt(a, b, { loose: true })
40}
41
42export function lte(a: string, b: string): boolean {
43 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