documents.js 4.2.1 → 4.3.0
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/dist/odf/odt/read.cjs +1 -1
- package/dist/odf/odt/read.js +1 -1
- package/package.json +6 -6
package/dist/odf/odt/read.cjs
CHANGED
|
@@ -8,7 +8,7 @@ const require_odf_vector_detect = require("../vector/detect.cjs");
|
|
|
8
8
|
let odf_js = require("odf.js");
|
|
9
9
|
//#region src/odf/odt/read.ts
|
|
10
10
|
function readOdtContent(pkg) {
|
|
11
|
-
const odtDoc = (0, odf_js.readOdtContent)(pkg);
|
|
11
|
+
const odtDoc = (0, odf_js.readOdtContent)(pkg, { frames: "none" });
|
|
12
12
|
const contentPart = pkg.parts["content.xml"];
|
|
13
13
|
if (contentPart?.kind === "xml" && odtDoc.sections.length === 1) {
|
|
14
14
|
const root = (0, odf_js.rootElement)(contentPart.nodes);
|
package/dist/odf/odt/read.js
CHANGED
|
@@ -7,7 +7,7 @@ import { collectContainerVectors, isVectorElementTag } from "../vector/detect.js
|
|
|
7
7
|
import { findChildElement, readOdtContent as readOdtContent$1, rootElement } from "odf.js";
|
|
8
8
|
//#region src/odf/odt/read.ts
|
|
9
9
|
function readOdtContent(pkg) {
|
|
10
|
-
const odtDoc = readOdtContent$1(pkg);
|
|
10
|
+
const odtDoc = readOdtContent$1(pkg, { frames: "none" });
|
|
11
11
|
const contentPart = pkg.parts["content.xml"];
|
|
12
12
|
if (contentPart?.kind === "xml" && odtDoc.sections.length === 1) {
|
|
13
13
|
const root = rootElement(contentPart.nodes);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "documents.js",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.3.0",
|
|
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": {
|
|
@@ -101,12 +101,12 @@
|
|
|
101
101
|
"packageManager": "pnpm@11.6.0",
|
|
102
102
|
"dependencies": {
|
|
103
103
|
"byte-codec": "^1.1.13",
|
|
104
|
-
"document-schema.js": "^4.
|
|
104
|
+
"document-schema.js": "^4.7.0",
|
|
105
105
|
"fflate": "^0.8.3",
|
|
106
|
-
"markdown-codec": "^4.0.
|
|
107
|
-
"odf.js": "^5.0
|
|
108
|
-
"ooxml.js": "^4.4.
|
|
109
|
-
"pdf-codec": "^3.1.
|
|
106
|
+
"markdown-codec": "^4.0.15",
|
|
107
|
+
"odf.js": "^5.1.0",
|
|
108
|
+
"ooxml.js": "^4.4.1",
|
|
109
|
+
"pdf-codec": "^3.1.4",
|
|
110
110
|
"temml": "0.13.4",
|
|
111
111
|
"zod": "^4.4.3"
|
|
112
112
|
},
|