(str: string)
| 411 | } |
| 412 | |
| 413 | function parseVersionLine(str: string) { |
| 414 | return (str.split('"') || []).map((s) => matchVersion(s)).find((e) => !!e) |
| 415 | } |
| 416 | |
| 417 | function matchVersion(str: string): string { |
| 418 | return (str.match(semverReGlobal) || ([] as string[]))[0] |
no test coverage detected