(version: string)
| 4 | import { major, minor, patch } from 'semver' |
| 5 | |
| 6 | export function getSemverPart(version: string): string { |
| 7 | return `${major(version, { loose: true })}.${minor(version, { loose: true })}.${patch(version, { loose: true })}` |
| 8 | } |
| 9 | |
| 10 | export function shouldShowUpdateNotification( |
| 11 | updatedVersion: string, |
no test coverage detected