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

Function getUpdateMeta

packages/cli/src/utils/updateCheck.ts:88–95  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

86 * Never fetches. Returns what the last background check found.
87 */
88export function getUpdateMeta(): UpdateMeta {
89 const config = readConfig();
90 return {
91 version: VERSION,
92 latestVersion: config.latestVersion,
93 updateAvailable: config.latestVersion ? isNewerSemver(config.latestVersion, VERSION) : false,
94 };
95}
96
97/**
98 * Wrap a JSON payload with the _meta version envelope.

Callers 3

withMetaFunction · 0.85
printUpdateNoticeFunction · 0.85
checkVersionFunction · 0.85

Calls 2

readConfigFunction · 0.85
isNewerSemverFunction · 0.85

Tested by

no test coverage detected