js.documents 7.11.2 → 7.11.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.
@@ -4,7 +4,6 @@ import { MarkdownImageResolver } from "markdown-codec";
4
4
  import { z } from "zod";
5
5
  //#region src/convert/port.d.ts
6
6
  declare const DocumentFormatSchema: z.ZodEnum<{
7
- wpd: "wpd";
8
7
  docx: "docx";
9
8
  pptx: "pptx";
10
9
  xlsx: "xlsx";
@@ -13,14 +12,15 @@ declare const DocumentFormatSchema: z.ZodEnum<{
13
12
  ods: "ods";
14
13
  odg: "odg";
15
14
  svg: "svg";
15
+ odf: "odf";
16
16
  csv: "csv";
17
17
  markdown: "markdown";
18
18
  rtf: "rtf";
19
19
  doc: "doc";
20
20
  xls: "xls";
21
21
  ppt: "ppt";
22
+ wpd: "wpd";
22
23
  epub: "epub";
23
- odf: "odf";
24
24
  pdf: "pdf";
25
25
  }>;
26
26
  type DocumentFormat = z.infer<typeof DocumentFormatSchema>;
@@ -4,7 +4,6 @@ import { z } from "zod";
4
4
  import { MarkdownImageResolver } from "markdown-codec";
5
5
  //#region src/convert/port.d.ts
6
6
  declare const DocumentFormatSchema: z.ZodEnum<{
7
- wpd: "wpd";
8
7
  docx: "docx";
9
8
  pptx: "pptx";
10
9
  xlsx: "xlsx";
@@ -13,14 +12,15 @@ declare const DocumentFormatSchema: z.ZodEnum<{
13
12
  ods: "ods";
14
13
  odg: "odg";
15
14
  svg: "svg";
15
+ odf: "odf";
16
16
  csv: "csv";
17
17
  markdown: "markdown";
18
18
  rtf: "rtf";
19
19
  doc: "doc";
20
20
  xls: "xls";
21
21
  ppt: "ppt";
22
+ wpd: "wpd";
22
23
  epub: "epub";
23
- odf: "odf";
24
24
  pdf: "pdf";
25
25
  }>;
26
26
  type DocumentFormat = z.infer<typeof DocumentFormatSchema>;
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_hsqldb_script = require("./script.cjs");
3
3
  const require_hsqldb_rowformat = require("./rowformat.cjs");
4
- let fflate = require("fflate");
4
+ let byte_codec = require("byte-codec");
5
5
  //#region src/hsqldb/binary-script.ts
6
6
  var HsqldbBinaryScriptParseError = class extends Error {
7
7
  offset;
@@ -146,7 +146,7 @@ function parseHsqldbBinaryScript(bytes, options) {
146
146
  };
147
147
  }
148
148
  function inflateHsqldbCompressedScript(bytes) {
149
- return (0, fflate.unzlibSync)(bytes);
149
+ return (0, byte_codec.inflate)(bytes);
150
150
  }
151
151
  //#endregion
152
152
  exports.HsqldbBinaryScriptParseError = HsqldbBinaryScriptParseError;
@@ -1,6 +1,6 @@
1
1
  import { parseHsqldbScript } from "./script.js";
2
2
  import { HsqldbDataCursor, readHsqldbColumnValue, readModifiedUtf8, resolveHsqldbTypeCode } from "./rowformat.js";
3
- import { unzlibSync } from "fflate";
3
+ import { inflate } from "byte-codec";
4
4
  //#region src/hsqldb/binary-script.ts
5
5
  var HsqldbBinaryScriptParseError = class extends Error {
6
6
  offset;
@@ -145,7 +145,7 @@ function parseHsqldbBinaryScript(bytes, options) {
145
145
  };
146
146
  }
147
147
  function inflateHsqldbCompressedScript(bytes) {
148
- return unzlibSync(bytes);
148
+ return inflate(bytes);
149
149
  }
150
150
  //#endregion
151
151
  export { HsqldbBinaryScriptParseError, inflateHsqldbCompressedScript, parseHsqldbBinaryScript };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "js.documents",
3
- "version": "7.11.2",
3
+ "version": "7.11.4",
4
4
  "description": "Bidirectional docx/pptx <-> PDF conversion and a read+write editable OOXML document model, built on ooxml.js and Zod 4 codecs.",
5
5
  "type": "module",
6
6
  "repository": {
@@ -84,8 +84,8 @@
84
84
  "epub-codec": "1.3.3",
85
85
  "fflate": "0.8.3",
86
86
  "markdown-codec": "6.6.0",
87
- "odf.js": "7.13.0",
88
- "ooxml.js": "8.8.0",
87
+ "odf.js": "7.14.0",
88
+ "ooxml.js": "8.9.0",
89
89
  "pdf-codec": "4.1.0",
90
90
  "ppt-codec": "1.4.4",
91
91
  "rtf-codec": "4.1.4",