(version: string)
| 109 | * build time — so a build carrying it must never claim an update. |
| 110 | */ |
| 111 | export const isUnstampedVersion = (version: string): boolean => { |
| 112 | const parsed = parseVersion(version); |
| 113 | return parsed !== null && parsed.major === 0 && parsed.minor === 0 && parsed.patch === 0; |
| 114 | }; |
| 115 | |
| 116 | /** |
| 117 | * The dist-tag channel `version` can legitimately be compared against, or |
no test coverage detected