MCPcopy Create free account
hub / github.com/anomalyco/opencode / findStaleLockfileEntries

Function findStaleLockfileEntries

script/upgrade-opentui.ts:180–182  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

178}
179
180async function findStaleLockfileEntries() {
181 return findStaleLockfileEntriesInText(await Bun.file(lockfile).text())
182}
183
184function findStaleLockfileEntriesInText(txt: string) {
185 return Array.from(txt.matchAll(/^ "([^"]+)": \["(@opentui\/(?:core(?:-[^@"]+)?|keymap|solid))@([^"]+)"/gm))

Callers 1

upgrade-opentui.tsFile · 0.85

Calls 3

fileMethod · 0.80
textMethod · 0.65

Tested by

no test coverage detected