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

Function gte

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

Source from the content-addressed store, hash-verified

24}
25
26export function gte(a: string, b: string): boolean {
27 if (typeof Bun !== 'undefined') {
28 return Bun.semver.order(a, b) >= 0
29 }
30 return getNpmSemver().gte(a, b, { loose: true })
31}
32
33export function lt(a: string, b: string): boolean {
34 if (typeof Bun !== 'undefined') {

Callers 6

AutoUpdaterFunction · 0.85
shouldSkipVersionFunction · 0.85
updateLatestFunction · 0.85
updateFunction · 0.85

Calls 1

getNpmSemverFunction · 0.85

Tested by

no test coverage detected