odf.js 5.0.8 → 5.0.9
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/typed/ods/read.cjs
CHANGED
|
@@ -200,6 +200,7 @@ function readEmbeddedObjectDocument(reference) {
|
|
|
200
200
|
};
|
|
201
201
|
}
|
|
202
202
|
case "formula": return require_typed_formula_read.readOdfFormulaContent(reference.package);
|
|
203
|
+
case "chart": throw new Error("readEmbeddedObjectDocument: an embedded chart object names an OOXML chart frame and has no ODF reader to dispatch to");
|
|
203
204
|
}
|
|
204
205
|
}
|
|
205
206
|
function collectAnchoredFrame(frameElement, groupFunctions, pkg, anchorRow, anchorColumn, images, embeddedObjects) {
|
package/dist/typed/ods/read.js
CHANGED
|
@@ -199,6 +199,7 @@ function readEmbeddedObjectDocument(reference) {
|
|
|
199
199
|
};
|
|
200
200
|
}
|
|
201
201
|
case "formula": return readOdfFormulaContent(reference.package);
|
|
202
|
+
case "chart": throw new Error("readEmbeddedObjectDocument: an embedded chart object names an OOXML chart frame and has no ODF reader to dispatch to");
|
|
202
203
|
}
|
|
203
204
|
}
|
|
204
205
|
function collectAnchoredFrame(frameElement, groupFunctions, pkg, anchorRow, anchorColumn, images, embeddedObjects) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "odf.js",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.9",
|
|
4
4
|
"description": "Type-safe, lossless round-trip conversion between OpenDocument Format packages (odt, ods, odp) and JSON, hand-written and dependency-minimal, built on Zod 4 codecs.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"license": "MIT",
|
|
80
80
|
"packageManager": "pnpm@11.6.0",
|
|
81
81
|
"dependencies": {
|
|
82
|
-
"document-schema.js": "^4.
|
|
82
|
+
"document-schema.js": "^4.6.0",
|
|
83
83
|
"fast-xml-parser": "^5.10.1",
|
|
84
84
|
"fflate": "^0.8.3",
|
|
85
85
|
"zod": "^4.4.3"
|