()
| 108 | * freshness notice so both honour the same gating. |
| 109 | */ |
| 110 | export function updateNoticesSuppressed(): boolean { |
| 111 | if (isDevMode()) return true; |
| 112 | if (process.env["CI"] === "true" || process.env["CI"] === "1") return true; |
| 113 | if (!process.stderr.isTTY) return true; |
| 114 | if (process.env["HYPERFRAMES_NO_UPDATE_CHECK"] === "1") return true; |
| 115 | return false; |
| 116 | } |
| 117 | |
| 118 | /** |
| 119 | * Print update notice to stderr if a newer version is available. |
no test coverage detected