styled-exceljs 0.21.2 → 0.21.3
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 +12 -0
- package/README.md +6 -6
- package/bower.json +1 -1
- package/dist/xlsx.core.min.js +18 -18
- package/dist/xlsx.core.min.map +1 -1
- package/dist/xlsx.extendscript.js +219 -100
- package/dist/xlsx.full.min.js +18 -18
- 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 +219 -100
- package/xlsx.mjs +218 -99
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,18 @@ 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
|
+
## v0.21.3
|
|
8
|
+
|
|
9
|
+
* Store document-controlled worksheet names in own-property-only maps and
|
|
10
|
+
reject inherited lookups, preventing `__proto__` prototype pollution across
|
|
11
|
+
XLSX, XLS, XLML, ODS/FODS, Lotus, and workbook write paths
|
|
12
|
+
* Replace high-complexity XML tag stripping and AutoFilter matching with
|
|
13
|
+
linear-time parsers for untrusted workbook content
|
|
14
|
+
* Escape rich-text runs, HTML attributes, font CSS strings, and links at the
|
|
15
|
+
HTML output boundary; block unsafe link protocols by default
|
|
16
|
+
* Validate dense worksheet origins before array writes and cover the security
|
|
17
|
+
boundary with malicious file and HTML-output regression tests
|
|
18
|
+
|
|
7
19
|
* Sheet Visibility for ODS / FODS (h/t @edemaine)
|
|
8
20
|
* HTML DOM ingress support formulae (`data-f`)
|
|
9
21
|
* Proper handling of XLSX encoded entities (h/t @inreoh)
|
package/README.md
CHANGED
|
@@ -39,7 +39,7 @@ npm install styled-exceljs
|
|
|
39
39
|
```
|
|
40
40
|
|
|
41
41
|
This build extends the SheetJS worksheet model for browser-oriented rendering of
|
|
42
|
-
XLSX/XLS workbooks. The default read path
|
|
42
|
+
XLSX/XLS workbooks. The default read path stays lightweight and compatible.
|
|
43
43
|
Visual metadata is exposed when explicit options are enabled:
|
|
44
44
|
|
|
45
45
|
```js
|
|
@@ -76,10 +76,10 @@ The following public worksheet fields are populated when requested:
|
|
|
76
76
|
widths with wrap, overflow, shrink-to-fit, and merge-span handling.
|
|
77
77
|
|
|
78
78
|
`XLSX.utils.validate_merges(ws, opts)` validates merge ranges and reports
|
|
79
|
-
duplicate, overlapping,
|
|
80
|
-
`{WTF:true}` or reading with `{validateMerges:true}` throws on
|
|
79
|
+
duplicate, overlapping, malformed, or out-of-bounds ranges. Passing
|
|
80
|
+
`{WTF:true}` or reading with `{validateMerges:true}` throws on malformed merges.
|
|
81
81
|
|
|
82
|
-
See [
|
|
82
|
+
See the [visual fidelity guide](docs/visual-fidelity.md) for the full data
|
|
83
83
|
structure reference and release notes for unsupported fallback behavior.
|
|
84
84
|
|
|
85
85
|
## 中文说明
|
|
@@ -107,7 +107,7 @@ npm install styled-exceljs
|
|
|
107
107
|
收缩适应和合并跨度计算最优列宽。
|
|
108
108
|
|
|
109
109
|
完整中文数据结构、选项说明和渲染行为请参考
|
|
110
|
-
[
|
|
110
|
+
[中文视觉保真指南](docs/visual-fidelity.zh-CN.md)。
|
|
111
111
|
|
|
112
112
|
## Constellation
|
|
113
113
|
|
|
@@ -123,7 +123,7 @@ processing library
|
|
|
123
123
|
- [`codepage`](https://git.sheetjs.com/SheetJS/js-codepage): Legacy text
|
|
124
124
|
encodings for XLS and other legacy spreadsheet formats
|
|
125
125
|
|
|
126
|
-
- [
|
|
126
|
+
- [Stata file processor](packages/dta)
|
|
127
127
|
|
|
128
128
|
## License
|
|
129
129
|
|