cli-v2.1.8

pbakaus/impeccablecli-v2.1.8Apr 28, 2026by pbakaus

AI Summary

Fixes critical Windows compatibility issues and improves border-radius detection consistency between browsers and jsdom environments.

Key Highlights

  • Fixes CLI path resolution on Windows to prevent file system errors
  • Resolves border-radius detection flickering and inconsistencies in jsdom
  • Improves cross-environment compatibility for CLI scans

Full Release Notes

- **Detector runs on Windows.** CLI path resolution used `new URL(...).pathname`, which prepends a slash to drive letters (`/C:/...`) and breaks `fs` on Windows. Switched to `fileURLToPath` across the board. Reported in [#95](https://github.com/pbakaus/impeccable/issues/95), contributed by [@voidborne-d](https://github.com/voidborne-d).

- **Border-radius detection no longer flickers under jsdom.** The pill-button rule was missing real cases when jsdom returned a percent radius without an explicit width, and over-reporting when CSS shorthand left individual corners unset. The reader now preserves the percent signal and resolves shorthand consistently across the browser and jsdom paths, so CLI scans match what the live overlay sees.