dsh-warranty-calc 0.2.3 → 0.2.4

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.4
4
+
5
+ - Correct the severity and basis-kind cells in `## What it does` so they
6
+ match the rule pack. The upgrade pass of 2026-10-07 changed the packs and
7
+ left this table showing the previous basis kind, so the README disagreed
8
+ with the plugin about what a rule does.
9
+
3
10
  ## 0.2.3
4
11
 
5
12
  - Rework the README first screen. The H1 now names what the plugin checks rather
package/README.md CHANGED
@@ -66,14 +66,13 @@ applies a versioned rule pack, and returns a report.
66
66
 
67
67
  | Rule | Check | Severity | Basis kind |
68
68
  |---|---|---|---|
69
- | `WC-001` | the claim records its number or part name | warn | principle |
69
+ | `WC-001` | the claim records its number or part name | warn | direct |
70
70
  | `WC-002` | the claim date falls inside the recorded warranty end | info | local |
71
71
  | `WC-003` | mileage at claim parses as a number | warn | principle |
72
72
  | `WC-004` | mileage at claim does not exceed the recorded cap | info | local |
73
- | `WC-005` | the claim amount equals quantity × unit price | warn | principle |
73
+ | `WC-005` | the claim amount equals quantity × unit price | warn | direct |
74
74
  | `WC-006` | the sale date does not follow the claim date | warn | principle |
75
75
  | `WC-007` | claim numbers do not repeat | warn | principle |
76
-
77
76
  ## Install
78
77
 
79
78
  ```sh
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-warranty-calc",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "description": "质保期与索赔金额核对(按质保期月数与里程、索赔金额算式核对自洽,仅提示差异,不作出定性结论)",
5
5
  "type": "module",
6
6
  "main": "lib/index.mjs",