styled-exceljs 0.21.4 → 0.21.5
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 +10 -0
- package/README.md +21 -0
- package/dist/xlsx.core.min.js +18 -18
- package/dist/xlsx.core.min.map +1 -1
- package/dist/xlsx.extendscript.js +18 -8
- package/dist/xlsx.full.min.js +19 -19
- package/dist/xlsx.full.min.map +1 -1
- package/dist/xlsx.mini.min.js +10 -10
- package/dist/xlsx.mini.min.map +1 -1
- package/package.json +2 -1
- package/xlsx.js +18 -8
- package/xlsx.mjs +17 -7
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,16 @@ This log is intended to keep track of backwards-incompatible changes, including
|
|
|
4
4
|
but not limited to API changes and file location changes. Minor behavioral
|
|
5
5
|
changes may not be included if they are not expected to break existing code.
|
|
6
6
|
|
|
7
|
+
## Unreleased (0.21.5 candidate)
|
|
8
|
+
|
|
9
|
+
* Ignore unused MiniFAT pointers only when no live stream needs their data;
|
|
10
|
+
preserve the unchanged FAT-backed Workbook stream and all cell values
|
|
11
|
+
* Reject missing required MiniFAT/root streams with explicit CFB errors instead
|
|
12
|
+
of a metadata `name` assignment crash or an empty replacement stream
|
|
13
|
+
* Refresh legacy column-width assertions for the stable MDW=7 fallback introduced
|
|
14
|
+
in 0.21.4; retain each format's native character or pixel units without changing
|
|
15
|
+
parser measurements to satisfy old expectations
|
|
16
|
+
|
|
7
17
|
## v0.21.4
|
|
8
18
|
|
|
9
19
|
* Restore applied OOXML table styles, including totals rows, banding, first and
|
package/README.md
CHANGED
|
@@ -109,6 +109,27 @@ npm install styled-exceljs
|
|
|
109
109
|
完整中文数据结构、选项说明和渲染行为请参考
|
|
110
110
|
[中文视觉保真指南](docs/visual-fidelity.zh-CN.md)。
|
|
111
111
|
|
|
112
|
+
## Regression tests
|
|
113
|
+
|
|
114
|
+
Run `npm test` with the official SheetJS fixture corpus in the ignored
|
|
115
|
+
`test_files/` directory. The Makefile's source is
|
|
116
|
+
[test_files.zip](https://test-files.sheetjs.com/test_files.zip). The 2024-07-17
|
|
117
|
+
archive used for the 0.21.5 candidate has SHA-256
|
|
118
|
+
`a786d4f1a80adf9447997b6f3b30b2593c776c27e0b075e3971627c17205f220`.
|
|
119
|
+
Do not commit the corpus or private customer files.
|
|
120
|
+
|
|
121
|
+
The candidate run passed 74,699 tests with four pending tests. Four legacy
|
|
122
|
+
column-width assertions also failed on unchanged 0.21.4: they assumed MDW=6
|
|
123
|
+
instead of that version's stable MDW=7 fallback. The updated assertions keep
|
|
124
|
+
native XLS/XLSX widths distinct from XLML pixel widths and SYLK character widths;
|
|
125
|
+
the parser's measured values are unchanged. MiniFAT tests cover the failure
|
|
126
|
+
mechanism with generated files, not the unavailable private reporter file.
|
|
127
|
+
|
|
128
|
+
回归测试需要官方语料;语料和客户文件不能提交。0.21.5 候选版全量测试为
|
|
129
|
+
74,699 项通过、4 项待启用。四项旧列宽断言在未修改的 0.21.4 上同样失败,
|
|
130
|
+
本次只更新断言以符合该版已有的 MDW=7 行为,不修改解析结果来迎合测试。
|
|
131
|
+
MiniFAT 合成文件证明了故障机制,不代表已验证尚未提供的私有原文件。
|
|
132
|
+
|
|
112
133
|
## Constellation
|
|
113
134
|
|
|
114
135
|
- <https://oss.sheetjs.com/notes/>: File Format Notes
|