()
| 5 | const _require = createRequire(import.meta.url); |
| 6 | |
| 7 | export function getVersion(): string { |
| 8 | for (const p of ["../../package.json", "../package.json"]) { |
| 9 | try { |
| 10 | return _require(p).version; |
| 11 | } catch {} |
| 12 | } |
| 13 | return "0.0.0"; |
| 14 | } |
| 15 | |
| 16 | const BANNER = [ |
| 17 | "╔═╗╦ ╦╔═╗╔╦╗ ╔═╗╔═╗╦═╗╔═╗╔═╗╔═╗", |
no outgoing calls
no test coverage detected