(versionStr: string, otherVersionStr: string)
| 633 | }; |
| 634 | |
| 635 | const verGE = (versionStr: string, otherVersionStr: string) => { |
| 636 | const versionParts = versionStr.split('.').map(Number); |
| 637 | const otherParts = otherVersionStr.split('.').map(Number); |
| 638 | return ( |
| 639 | versionParts[0] > otherParts[0] || |
| 640 | (versionParts[0] === otherParts[0] && versionParts[1] > otherParts[1]) || |
| 641 | (versionParts[0] === otherParts[0] && versionParts[1] === otherParts[1] && versionParts[2] >= otherParts[2]) |
| 642 | ); |
| 643 | }; |
| 644 | |
| 645 | const imageVersionFeatures = (versionStr: string | undefined) => { |
| 646 | const features = { |
no outgoing calls
no test coverage detected