(value: unknown)
| 106 | try { |
| 107 | let maxTs: number | null = null |
| 108 | const visitTimestamp = (value: unknown) => { |
| 109 | const ts = typeof value === 'string' && value.trim() !== '' ? Number(value) : value |
| 110 | if (typeof ts === 'number' && Number.isFinite(ts)) { |
| 111 | maxTs = maxTs === null ? ts : Math.max(maxTs, ts) |
| 112 | } |
| 113 | } |
| 114 | |
| 115 | if (filePath.endsWith('.jsonl')) { |
| 116 | const content = fs.readFileSync(filePath, 'utf-8') |
no outgoing calls
no test coverage detected