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