@bilig/xlsx-formula-recalc 0.128.0 → 0.129.0

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 (2) hide show
  1. package/README.md +20 -0
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -31,12 +31,20 @@ Expected shape:
31
31
  "inspectedFormulaCellCount": 1,
32
32
  "uninspectedFormulaCellCount": 0,
33
33
  "staleCachedFormulaCount": 1,
34
+ "cacheStatusSummary": {
35
+ "inspected": 1,
36
+ "stale": 1,
37
+ "fresh": 0,
38
+ "missingCache": 0,
39
+ "unsupportedRecalculation": 0
40
+ },
34
41
  "suggestedReads": ["Summary!B2"],
35
42
  "formulas": [
36
43
  {
37
44
  "target": "Summary!B2",
38
45
  "cachedValue": 60000,
39
46
  "literalRecalculatedValue": 72000,
47
+ "cacheStatus": "stale",
40
48
  "staleCachedValue": true
41
49
  }
42
50
  ],
@@ -48,6 +56,10 @@ Expected shape:
48
56
  The JSON is meant for CI and agents. It does not include star, release-watch, or
49
57
  discussion links.
50
58
 
59
+ Use `cacheStatusSummary` and per-formula `cacheStatus` to separate confirmed
60
+ stale caches from missing cached values or formulas without a comparable
61
+ recalculated value.
62
+
51
63
  ## CI First
52
64
 
53
65
  Generate a read-only GitHub Actions workflow from npm:
@@ -118,6 +130,13 @@ the JSON includes the skipped count as `uninspectedFormulaCellCount`.
118
130
  "uninspectedFormulaCellCount": 0,
119
131
  "inspectionLimit": "all",
120
132
  "staleCachedFormulaCount": 3,
133
+ "cacheStatusSummary": {
134
+ "inspected": 12,
135
+ "stale": 3,
136
+ "fresh": 9,
137
+ "missingCache": 0,
138
+ "unsupportedRecalculation": 0
139
+ },
121
140
  "suggestedReads": ["Summary!B7"],
122
141
  "formulas": [
123
142
  {
@@ -125,6 +144,7 @@ the JSON includes the skipped count as `uninspectedFormulaCellCount`.
125
144
  "formula": "=Inputs!B2*Inputs!B3",
126
145
  "cachedValue": 60000,
127
146
  "literalRecalculatedValue": 72000,
147
+ "cacheStatus": "stale",
128
148
  "staleCachedValue": true
129
149
  }
130
150
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bilig/xlsx-formula-recalc",
3
- "version": "0.128.0",
3
+ "version": "0.129.0",
4
4
  "description": "Diagnose stale cached XLSX formula values and recalculate XLSX formulas in Node.js without Excel, LibreOffice, or browser automation.",
5
5
  "keywords": [
6
6
  "bilig",
@@ -27,7 +27,7 @@
27
27
  "xlsx-recalc",
28
28
  "xlsx-recalculation"
29
29
  ],
30
- "homepage": "https://proompteng.github.io/bilig/eval-xlsx-recalc.html",
30
+ "homepage": "https://proompteng.github.io/bilig/eval-xlsx-cache-doctor.html",
31
31
  "bugs": {
32
32
  "url": "https://github.com/proompteng/bilig/issues"
33
33
  },
@@ -71,7 +71,7 @@
71
71
  "smoke": "node ./dist/cli.js --help"
72
72
  },
73
73
  "dependencies": {
74
- "xlsx-formula-recalc": "0.128.0"
74
+ "xlsx-formula-recalc": "0.129.0"
75
75
  },
76
76
  "engines": {
77
77
  "node": ">=22.0.0"