supercov 3.0.2 → 3.0.3

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.
package/docs/cli.md CHANGED
@@ -63,8 +63,9 @@ is known about it. `--all` includes test files, generated output and anything
63
63
  outside a source root, all of which are left out by default. `--dry-run` prints
64
64
  the exact requests and contacts nothing.
65
65
 
66
- `quality diff` reports what declined between two assessments: which files lost
67
- health, which properties appeared, and which files entered or left the scope.
66
+ `quality diff` reports what changed between two assessments: which files lost
67
+ or gained health, each check that moved in them with its value before and after,
68
+ and which files entered or left the scope.
68
69
 
69
70
  Assessing needs a TypeSafe AI API key in `TYPESAFE_API_KEY`; reading a saved
70
71
  assessment does not. `TYPESAFE_BASE_URL` and `TYPESAFE_DEFAULT_MODEL` use Jev
package/docs/quality.md CHANGED
@@ -170,8 +170,11 @@ npx supercov quality snapshots
170
170
  npx supercov quality diff <older> <newer>
171
171
  ```
172
172
 
173
- Which files lost health, which gained, which properties appeared, and which
174
- files entered or left the scope. A file whose contents did not change is marked,
173
+ Which files lost health and which gained, each check that fired in either
174
+ snapshot with its value before and after (`long_method 0.93 → 0.41, no longer
175
+ present`), and which files entered or left the scope, with what fired on the new
176
+ ones. A refactor that extracts code shows up as an added file, and a check still
177
+ present at a lower value shows that the change moved it. A file whose contents did not change is marked,
175
178
  so a small movement does not send you looking for an edit that was never made.
176
179
 
177
180
  ## What it costs
@@ -223,7 +226,7 @@ npx supercov quality gaps # only files something fired on
223
226
  npx supercov quality file src/server.ts # one file, every check
224
227
  npx supercov quality scope # which files, and why
225
228
  npx supercov quality snapshots # saved assessments
226
- npx supercov quality diff <older> <newer> # what declined
229
+ npx supercov quality diff <older> <newer> # what changed
227
230
  npx supercov quality patch # what a change introduced
228
231
  ```
229
232
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "supercov",
3
- "version": "3.0.2",
3
+ "version": "3.0.3",
4
4
  "description": "Coverage, security and code quality for coding agents",
5
5
  "keywords": [
6
6
  "coverage",
@@ -118,14 +118,14 @@
118
118
  "test:windows-tls": "node scripts/windows-tls-test.mjs"
119
119
  },
120
120
  "optionalDependencies": {
121
- "@supercov/cli-darwin-arm64": "3.0.2",
122
- "@supercov/cli-darwin-x64": "3.0.2",
123
- "@supercov/cli-linux-arm64-gnu": "3.0.2",
124
- "@supercov/cli-linux-arm64-musl": "3.0.2",
125
- "@supercov/cli-linux-x64-gnu": "3.0.2",
126
- "@supercov/cli-linux-x64-musl": "3.0.2",
127
- "@supercov/cli-win32-arm64": "3.0.2",
128
- "@supercov/cli-win32-x64": "3.0.2"
121
+ "@supercov/cli-darwin-arm64": "3.0.3",
122
+ "@supercov/cli-darwin-x64": "3.0.3",
123
+ "@supercov/cli-linux-arm64-gnu": "3.0.3",
124
+ "@supercov/cli-linux-arm64-musl": "3.0.3",
125
+ "@supercov/cli-linux-x64-gnu": "3.0.3",
126
+ "@supercov/cli-linux-x64-musl": "3.0.3",
127
+ "@supercov/cli-win32-arm64": "3.0.3",
128
+ "@supercov/cli-win32-x64": "3.0.3"
129
129
  },
130
130
  "peerDependencies": {
131
131
  "@playwright/test": ">=1.55.0",