@bilig/xlsx-formula-recalc 0.128.0 → 0.129.1

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 +25 -2
  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:
@@ -59,8 +71,11 @@ npx --package @bilig/xlsx-formula-recalc xlsx-cache-doctor --print-github-action
59
71
  ```
60
72
 
61
73
  The generated workflow uses `proompteng/bilig@v1`, uploads JSON and Markdown
62
- reports, and starts in report-only mode. Add `--fail-on-stale true` when stale
63
- formula caches should block pull requests.
74
+ reports, sets up Node.js 22, pins the npm runtime with `package-version`, and
75
+ starts in report-only mode. Add `--fail-on-stale true` when stale formula
76
+ caches should block pull requests. For production, pin both the Action ref and
77
+ `package-version`; the Action ref pins the wrapper, and `package-version` pins
78
+ the npm package it executes.
64
79
 
65
80
  For a live reviewer path, inspect the
66
81
  [XLSX Cache Doctor demo PR](https://github.com/proompteng/xlsx-cache-doctor-demo/pull/1).
@@ -118,6 +133,13 @@ the JSON includes the skipped count as `uninspectedFormulaCellCount`.
118
133
  "uninspectedFormulaCellCount": 0,
119
134
  "inspectionLimit": "all",
120
135
  "staleCachedFormulaCount": 3,
136
+ "cacheStatusSummary": {
137
+ "inspected": 12,
138
+ "stale": 3,
139
+ "fresh": 9,
140
+ "missingCache": 0,
141
+ "unsupportedRecalculation": 0
142
+ },
121
143
  "suggestedReads": ["Summary!B7"],
122
144
  "formulas": [
123
145
  {
@@ -125,6 +147,7 @@ the JSON includes the skipped count as `uninspectedFormulaCellCount`.
125
147
  "formula": "=Inputs!B2*Inputs!B3",
126
148
  "cachedValue": 60000,
127
149
  "literalRecalculatedValue": 72000,
150
+ "cacheStatus": "stale",
128
151
  "staleCachedValue": true
129
152
  }
130
153
  ],
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.1",
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.1"
75
75
  },
76
76
  "engines": {
77
77
  "node": ">=22.0.0"