pdf-codec 3.5.3 → 3.5.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.
- package/dist/codec.d.cts +2 -0
- package/dist/codec.d.ts +2 -0
- package/dist/layout.d.cts +4 -0
- package/dist/layout.d.ts +4 -0
- package/package.json +2 -2
package/dist/codec.d.cts
CHANGED
|
@@ -224,6 +224,7 @@ declare const pdfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
|
|
|
224
224
|
odf: "odf";
|
|
225
225
|
markdown: "markdown";
|
|
226
226
|
pdf: "pdf";
|
|
227
|
+
epub: "epub";
|
|
227
228
|
}>;
|
|
228
229
|
xml: z.ZodString;
|
|
229
230
|
}, z.core.$strict>>;
|
|
@@ -287,6 +288,7 @@ declare const pdfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
|
|
|
287
288
|
odf: "odf";
|
|
288
289
|
markdown: "markdown";
|
|
289
290
|
pdf: "pdf";
|
|
291
|
+
epub: "epub";
|
|
290
292
|
}>;
|
|
291
293
|
xml: z.ZodString;
|
|
292
294
|
}, z.core.$strict>>>;
|
package/dist/codec.d.ts
CHANGED
|
@@ -224,6 +224,7 @@ declare const pdfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
|
|
|
224
224
|
odf: "odf";
|
|
225
225
|
markdown: "markdown";
|
|
226
226
|
pdf: "pdf";
|
|
227
|
+
epub: "epub";
|
|
227
228
|
}>;
|
|
228
229
|
xml: z.ZodString;
|
|
229
230
|
}, z.core.$strict>>;
|
|
@@ -287,6 +288,7 @@ declare const pdfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
|
|
|
287
288
|
odf: "odf";
|
|
288
289
|
markdown: "markdown";
|
|
289
290
|
pdf: "pdf";
|
|
291
|
+
epub: "epub";
|
|
290
292
|
}>;
|
|
291
293
|
xml: z.ZodString;
|
|
292
294
|
}, z.core.$strict>>>;
|
package/dist/layout.d.cts
CHANGED
|
@@ -440,6 +440,7 @@ declare const LayoutAnnotationSchema: z.ZodObject<{
|
|
|
440
440
|
odf: "odf";
|
|
441
441
|
markdown: "markdown";
|
|
442
442
|
pdf: "pdf";
|
|
443
|
+
epub: "epub";
|
|
443
444
|
}>;
|
|
444
445
|
xml: z.ZodString;
|
|
445
446
|
}, z.core.$strict>>;
|
|
@@ -654,6 +655,7 @@ declare const LayoutPageSchema: z.ZodObject<{
|
|
|
654
655
|
odf: "odf";
|
|
655
656
|
markdown: "markdown";
|
|
656
657
|
pdf: "pdf";
|
|
658
|
+
epub: "epub";
|
|
657
659
|
}>;
|
|
658
660
|
xml: z.ZodString;
|
|
659
661
|
}, z.core.$strict>>;
|
|
@@ -981,6 +983,7 @@ declare const LayoutDocumentSchema: z.ZodObject<{
|
|
|
981
983
|
odf: "odf";
|
|
982
984
|
markdown: "markdown";
|
|
983
985
|
pdf: "pdf";
|
|
986
|
+
epub: "epub";
|
|
984
987
|
}>;
|
|
985
988
|
xml: z.ZodString;
|
|
986
989
|
}, z.core.$strict>>;
|
|
@@ -1044,6 +1047,7 @@ declare const LayoutDocumentSchema: z.ZodObject<{
|
|
|
1044
1047
|
odf: "odf";
|
|
1045
1048
|
markdown: "markdown";
|
|
1046
1049
|
pdf: "pdf";
|
|
1050
|
+
epub: "epub";
|
|
1047
1051
|
}>;
|
|
1048
1052
|
xml: z.ZodString;
|
|
1049
1053
|
}, z.core.$strict>>>;
|
package/dist/layout.d.ts
CHANGED
|
@@ -440,6 +440,7 @@ declare const LayoutAnnotationSchema: z.ZodObject<{
|
|
|
440
440
|
odf: "odf";
|
|
441
441
|
markdown: "markdown";
|
|
442
442
|
pdf: "pdf";
|
|
443
|
+
epub: "epub";
|
|
443
444
|
}>;
|
|
444
445
|
xml: z.ZodString;
|
|
445
446
|
}, z.core.$strict>>;
|
|
@@ -654,6 +655,7 @@ declare const LayoutPageSchema: z.ZodObject<{
|
|
|
654
655
|
odf: "odf";
|
|
655
656
|
markdown: "markdown";
|
|
656
657
|
pdf: "pdf";
|
|
658
|
+
epub: "epub";
|
|
657
659
|
}>;
|
|
658
660
|
xml: z.ZodString;
|
|
659
661
|
}, z.core.$strict>>;
|
|
@@ -981,6 +983,7 @@ declare const LayoutDocumentSchema: z.ZodObject<{
|
|
|
981
983
|
odf: "odf";
|
|
982
984
|
markdown: "markdown";
|
|
983
985
|
pdf: "pdf";
|
|
986
|
+
epub: "epub";
|
|
984
987
|
}>;
|
|
985
988
|
xml: z.ZodString;
|
|
986
989
|
}, z.core.$strict>>;
|
|
@@ -1044,6 +1047,7 @@ declare const LayoutDocumentSchema: z.ZodObject<{
|
|
|
1044
1047
|
odf: "odf";
|
|
1045
1048
|
markdown: "markdown";
|
|
1046
1049
|
pdf: "pdf";
|
|
1050
|
+
epub: "epub";
|
|
1047
1051
|
}>;
|
|
1048
1052
|
xml: z.ZodString;
|
|
1049
1053
|
}, z.core.$strict>>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pdf-codec",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.4",
|
|
4
4
|
"description": "Hand-written, dependency-minimal PDF codec: parses arbitrary real-world PDFs and generates new ones, built on its own codec-owned LayoutDocument item model and Zod 4 codecs.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"packageManager": "pnpm@11.6.0",
|
|
99
99
|
"dependencies": {
|
|
100
100
|
"byte-codec": "^1.2.0",
|
|
101
|
-
"document-schema.js": "^5.
|
|
101
|
+
"document-schema.js": "^5.4.0",
|
|
102
102
|
"fflate": "^0.8.3",
|
|
103
103
|
"zod": "^4.4.3"
|
|
104
104
|
},
|