MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / fallbackResult

Function fallbackResult

packages/cli/src/utils/updateCheck.ts:76–82  ·  view source on GitHub ↗
(cachedLatest?: string)

Source from the content-addressed store, hash-verified

74}
75
76function fallbackResult(cachedLatest?: string): UpdateCheckResult {
77 return {
78 current: VERSION,
79 latest: cachedLatest ?? VERSION,
80 updateAvailable: cachedLatest ? isNewerSemver(cachedLatest, VERSION) : false,
81 };
82}
83
84/**
85 * Synchronous read from cache — for _meta envelope on --json commands.

Callers 1

checkForUpdateFunction · 0.85

Calls 1

isNewerSemverFunction · 0.85

Tested by

no test coverage detected