@decocms/parity 0.35.21 → 0.35.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/cli.js +1088 -235
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -7,6 +7,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ### Added
11
+
12
+ * **`parity run --record <dir>`** saves the exact input the checks ran on (captures with
13
+ html, resolved config, visual probes, screenshots incl. the prod noise-floor frame, and the
14
+ fetches the checks made) as a versioned recording, the input a later replay needs. The run's
15
+ result is unchanged. Contains full page HTML and screenshots: do not commit. See
16
+ `docs/reports.md`.
17
+ * **Compared / passed counts per check and per module.** `CheckResult` gains optional `unit`,
18
+ `compared`, `passed` and `inconclusive`; `moduleVerdicts[]` gains `counts` (one row per unit) and
19
+ `checksCounting`. Populated for http-status-parity, html-structural-diff, network-summary-delta,
20
+ image-loading-health, lazy-section-presence, web-vitals-mobile, banner-aspect-ratio,
21
+ visual-regression-keyframes, purchase-journey-flow (and lighthouse-scores in `parity vitals`).
22
+ Rendered in the CLI summary, the HTML checks and **Why NN?** tables and the `parity pr` modules
23
+ table; `—` where a check or module does not count, `nothing compared` where it counted zero.
24
+ Reporting only: scores, statuses and findings are unchanged. Old `report.json` files still parse.
25
+ * **`src/checks/tolerances.ts`** — one table of the pass/fail tolerances that were file-local
26
+ constants and inline literals across `src/checks` and `src/diff`, each with a unit, a basis
27
+ (`measured` / `spec` / `assumed`) and a note. No value changed.
28
+
10
29
  ### Changed
11
30
 
12
31
  * **`parity run`'s visual module runs on the `parity heatmap` engine — no LLM.**