@sheetxl/io-xlsx 1.0.2 → 1.0.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.
Files changed (24) hide show
  1. package/browser/esm/{BPn0BJd77_Q1lYVz.mjs → B7FIgKFyHincEoTQ.mjs} +1290 -1289
  2. package/browser/esm/{ChMFy3Rg97YbbuTB.mjs → BDkqo2SKzINJJB0-.mjs} +898 -898
  3. package/browser/esm/{CZ3s0Cfjqm3BRszF.mjs → BP2eZDr6dZ7gP02Z.mjs} +4 -4
  4. package/browser/esm/{BfV9IAl46gJxLRsa.mjs → BQw8xcZ6k06Tq6lY.mjs} +2 -2
  5. package/browser/esm/{rF6yS_NgcKLlMbGR.mjs → BUaKY12tmPZDwfZx.mjs} +1 -1
  6. package/browser/esm/{K9Sy1I7Pix2m7GJj.mjs → Ck5-R8xrLh89G56Q.mjs} +2 -2
  7. package/browser/esm/{C74cxGSvdlAfqeqF.mjs → CvaZql_oqszNei5v.mjs} +1 -1
  8. package/browser/esm/{C1Ql7gO6TtQglsOH.mjs → CzWmtWMV9HfkBne5.mjs} +193 -174
  9. package/browser/esm/{DtUTX1O34sAvjw_I.mjs → Di9ttuWnx0eCbSUA.mjs} +2 -2
  10. package/browser/esm/index.mjs +2 -2
  11. package/browser/esm/{cjLbism9wq4om43B.mjs → lqWdqDnIKZxyet1d.mjs} +2 -2
  12. package/browser/esm/{D2WBxzN8ubzIrJ4h.mjs → vlyPCdsYGtutUTnn.mjs} +1443 -1426
  13. package/node/esm/{C2FEO68INNEEnWCd.mjs → B2uSae_kN-7PrVjI.mjs} +370 -370
  14. package/node/esm/{DhIaDwktkAy1xpDs.mjs → BO3IZgkfKGIGMKYd.mjs} +1444 -1442
  15. package/node/esm/{DDI2JK7U9TLsIobf.mjs → CLdbYG5SCBndfk-q.mjs} +2 -2
  16. package/node/esm/{BXHjX5Jr7ZO7XFp1.mjs → CtKLRPHWl5-_lwfr.mjs} +1521 -1505
  17. package/node/esm/{BeAzln1Wp4oOc7xJ.mjs → CzEwnjXK_YIWXQQh.mjs} +2 -2
  18. package/node/esm/{el-uWAcXKFVwmwZ-.mjs → D4thYKlDAXXgB-tC.mjs} +2 -2
  19. package/node/esm/{BMVTOvvr98SnUmif.mjs → DmYe7T4XtIyt-qdA.mjs} +221 -201
  20. package/node/esm/{kFd-ABtolhQt-Hqv.mjs → bUN-BbKU7oHGJmVh.mjs} +1 -1
  21. package/node/esm/index.mjs +4 -4
  22. package/package.json +3 -3
  23. package/types/src/OOXMLExtensions.d.ts +7 -0
  24. package/types/src/reader/domVisitors/WorkbookVisitor.d.ts +5 -0
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/io-xlsx - SheetXL - Import/Export from/to Excel - v1.0.2
2
+ * @license @sheetxl/io-xlsx - SheetXL - Import/Export from/to Excel - v1.0.4
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/io-xlsx - SheetXL - Import/Export from/to Excel - v1.0.2
2
+ * @license @sheetxl/io-xlsx - SheetXL - Import/Export from/to Excel - v1.0.4
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
@@ -14,7 +14,7 @@ var a = [
14
14
  177,
15
15
  26,
16
16
  225
17
- ], t = async () => (await import("./el-uWAcXKFVwmwZ-.mjs")).OffCryptoEncryption, r = {
17
+ ], t = async () => (await import("./D4thYKlDAXXgB-tC.mjs")).OffCryptoEncryption, r = {
18
18
  key: "offcrypto",
19
19
  description: "Office Document Encryption",
20
20
  detect: async (e) => !!((e) => {
@@ -25,7 +25,7 @@ var a = [
25
25
  })(e) && (await t()).detect(e),
26
26
  decode: async (e, a) => (await t()).decode(e, a),
27
27
  encode: async (e, a) => (await t()).encode(e, a)
28
- }, i = e("io-xlsx:reader", () => import("./C2FEO68INNEEnWCd.mjs").then((e) => e.t)), o = e("io-xlsx:writer", () => import("./DhIaDwktkAy1xpDs.mjs")), l = "Excel", n = "ExcelMacro", c = "ExcelTemplate", m = "ExcelMacroTemplate", s = [
28
+ }, i = e("io-xlsx:reader", () => import("./B2uSae_kN-7PrVjI.mjs").then((e) => e.t)), o = e("io-xlsx:writer", () => import("./BO3IZgkfKGIGMKYd.mjs")), l = "Excel", n = "ExcelMacro", c = "ExcelTemplate", m = "ExcelMacroTemplate", s = [
29
29
  l,
30
30
  n,
31
31
  c,
@@ -94,7 +94,7 @@ var a = [
94
94
  })
95
95
  }, X = {
96
96
  name: "@sheetxl/io-xlsx",
97
- version: "1.0.2",
97
+ version: "1.0.4",
98
98
  description: "XLSX I/O formats for SheetXL",
99
99
  author: "SheetXL",
100
100
  async register(e) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sheetxl/io-xlsx",
3
3
  "description": "SheetXL - Import/Export from/to Excel",
4
- "version": "1.0.2",
4
+ "version": "1.0.4",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "type": "module",
7
7
  "exports": {
@@ -44,8 +44,8 @@
44
44
  "utilities"
45
45
  ],
46
46
  "dependencies": {
47
- "@sheetxl/sdk": "^1.0.2",
48
- "@sheetxl/utils": "^1.0.2",
47
+ "@sheetxl/sdk": "^1.0.4",
48
+ "@sheetxl/utils": "^1.0.4",
49
49
  "@xmldom/xmldom": "^0.9.12",
50
50
  "@zip.js/zip.js": "^2.24.0",
51
51
  "web-streams-polyfill": "^4.5.1",
@@ -43,6 +43,13 @@ export declare const EXT_URI_SLICER_LIST_X15 = "{3A4CF648-6AED-40f4-86FF-DC5316D
43
43
  export declare const EXT_URI_SLICER_CACHES_X15 = "{46BE6895-7355-4a93-B00E-2C351335B9C9}";
44
44
  /** `x14:slicerCaches` on the workbook: the relationships to the pivot slicers' cache parts. */
45
45
  export declare const EXT_URI_SLICER_CACHES_X14 = "{BBE1A952-AA13-448e-AADC-164F8A28A991}";
46
+ /**
47
+ * `xlwcv:version` on the workbook: its compatibility version. A workbook without it is version 1.
48
+ * The whole extension as Excel writes it for version 2 is {@link EXT_COMPATIBILITY_VERSION_2}.
49
+ */
50
+ export declare const EXT_URI_COMPATIBILITY_VERSION = "{D14903EA-33C4-47F7-8F05-3474C54BE107}";
51
+ /** The workbook extension that says compatibility version 2. */
52
+ export declare const EXT_COMPATIBILITY_VERSION_2: string;
46
53
  /** `xcalcf:calcFeatures` on the workbook: the calc features Excel compares against its own on open. */
47
54
  export declare const EXT_URI_CALC_FEATURES = "{B58B0392-4F1F-4190-BB64-5DF3571DCE5F}";
48
55
  /**
@@ -25,6 +25,11 @@ export declare class WorkbookVisitor extends SheetColorContainerVisitor {
25
25
  processWorkbookView(context: ExecutionContext, elem: Element, jsonParent: IWorkbook.JSON): any;
26
26
  processDefineName(context: ExecutionContext, elem: Element, jsonNames: INamedCollection.JSON, sheets: IWorkbook.SheetRefJSON[]): any;
27
27
  processDefinedNames(context: ExecutionContext, elem: Element, jsonParent: IWorkbook.JSON): any;
28
+ /**
29
+ * The workbook's compatibility version, from the `xlwcv:version` extension in its `extLst`. A
30
+ * workbook that has none is version 1: that is how Excel opens it.
31
+ */
32
+ processCompatibilityVersion(elem: Element, jsonWorkbook: IWorkbook.JSON): void;
28
33
  processWorkbookPr(context: ExecutionContext, elem: Element, jsonWorkbook: IWorkbook.JSON): any;
29
34
  afterVisit(_context: ExecutionContext, _elem: Element, _json: any): void;
30
35
  }