( updatedVersion: string, lastNotifiedSemver: string | null, )
| 6 | } |
| 7 | |
| 8 | export function shouldShowUpdateNotification( |
| 9 | updatedVersion: string, |
| 10 | lastNotifiedSemver: string | null, |
| 11 | ): boolean { |
| 12 | const updatedSemver = getSemverPart(updatedVersion) |
| 13 | return updatedSemver !== lastNotifiedSemver |
| 14 | } |
| 15 | |
| 16 | export function useUpdateNotification( |
| 17 | updatedVersion: string | null | undefined, |
nothing calls this directly
no test coverage detected