(txt: string)
| 182 | } |
| 183 | |
| 184 | function findStaleLockfileEntriesInText(txt: string) { |
| 185 | return Array.from(txt.matchAll(/^ "([^"]+)": \["(@opentui\/(?:core(?:-[^@"]+)?|keymap|solid))@([^"]+)"/gm)) |
| 186 | .map((match) => ({ |
| 187 | entry: match[1]!, |
| 188 | pkg: match[2]!, |
| 189 | version: match[3]!, |
| 190 | })) |
| 191 | .filter((item) => item.version !== ver) |
| 192 | } |
no test coverage detected