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

Function gt

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

Source from the content-addressed store, hash-verified

17}
18
19export 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
26export function gte(a: string, b: string): boolean {
27 if (typeof Bun !== 'undefined') {

Callers 7

AutoUpdaterFunction · 0.85
NativeAutoUpdaterFunction · 0.85
getRecentReleaseNotesFunction · 0.85
getAllReleaseNotesFunction · 0.85
updateLatestFunction · 0.85

Calls 1

getNpmSemverFunction · 0.85

Tested by

no test coverage detected