supercov 0.0.21 → 0.0.22

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.
@@ -67,7 +67,9 @@ is met, or you run out of time:
67
67
  If the diff shows no gain, revert the test rather than keeping it.
68
68
 
69
69
  Rules:
70
- - Never modify application source to make coverage easier.
70
+ - Never contort live application source to make coverage easier. Deleting
71
+ provably dead code is the opposite case: coverage found real cruft, and
72
+ removing it (with the project owner's normal review) is the improvement.
71
73
  - Never weaken or delete an existing assertion.
72
74
  - If a decision cannot be reached from any public entry point, say so and move
73
75
  on instead of exporting internals to reach it.
@@ -76,7 +78,10 @@ Rules:
76
78
 
77
79
  The last rule matters more than it looks. An unattended agent that cannot reach
78
80
  a branch will otherwise start reshaping the code so it can, which is exactly
79
- the failure mode that gives coverage targets a bad name.
81
+ the failure mode that gives coverage targets a bad name. The first rule cuts
82
+ the other way just as deliberately: when an obligation is unreachable because
83
+ the code is dead, the honest fix is deletion, not an exclusion that leaves the
84
+ cruft sitting behind a clean number.
80
85
 
81
86
  ## Budgeting an overnight session
82
87
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "supercov",
3
- "version": "0.0.21",
3
+ "version": "0.0.22",
4
4
  "description": "Zero-edit, runner-aware coverage completeness for JavaScript test suites",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -68,12 +68,12 @@
68
68
  "prepublishOnly": "npm run release:check"
69
69
  },
70
70
  "optionalDependencies": {
71
- "@supercov/cli-darwin-arm64": "0.0.21",
72
- "@supercov/cli-darwin-x64": "0.0.21",
73
- "@supercov/cli-linux-arm64-gnu": "0.0.21",
74
- "@supercov/cli-linux-arm64-musl": "0.0.21",
75
- "@supercov/cli-linux-x64-gnu": "0.0.21",
76
- "@supercov/cli-linux-x64-musl": "0.0.21"
71
+ "@supercov/cli-darwin-arm64": "0.0.22",
72
+ "@supercov/cli-darwin-x64": "0.0.22",
73
+ "@supercov/cli-linux-arm64-gnu": "0.0.22",
74
+ "@supercov/cli-linux-arm64-musl": "0.0.22",
75
+ "@supercov/cli-linux-x64-gnu": "0.0.22",
76
+ "@supercov/cli-linux-x64-musl": "0.0.22"
77
77
  },
78
78
  "peerDependencies": {
79
79
  "@playwright/test": ">=1.55.0",