(range: string)
| 35 | |
| 36 | /** Strip workspace: protocol from version ranges */ |
| 37 | export function stripProtocol(range: string): string { |
| 38 | return range.replace(/^workspace:/, ''); |
| 39 | } |
| 40 | |
| 41 | /** Compare two versions: -1 if a < b, 0 if equal, 1 if a > b */ |
| 42 | export function compareVersions(a: string, b: string): number { |
no outgoing calls
no test coverage detected
searching dependent graphs…