Skip to content

v0.8.0 — Windows crash fix, chalk removed

Latest

Choose a tag to compare

@Booyaka101 Booyaka101 released this 27 Jul 10:33

Windows crash. The probe CLI called process.exit(code) the instant it resolved, while undici's keep-alive sockets and the AbortSignal.timeout timer were still closing. On windows-latest that trips a libuv assertion (!(handle->flags & UV_HANDLE_CLOSING)) and the process dies with 0xC0000409 instead of its real exit code. Now sets process.exitCode and lets the loop drain, with an unref'd 2s fallback so a lingering socket can never hang CI.

chalk removed. chalk 5+ is ESM-only and this package compiles to CommonJS, so import chalk failed to typecheck and require('chalk') only resolved on newer Node. Replaced with a ~70-line local ANSI helper — identical output, one less dependency, no call site changed.

engines raised to >=22 to match what CI actually tests. moduleResolution: node10 and ts-morph still block TypeScript 7; ts7-compat-guard reports both.