pdf-codec 3.6.3 → 3.6.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 +12 -0
- package/dist/codec.d.ts +12 -0
- package/dist/layout.d.cts +12 -0
- package/dist/layout.d.ts +12 -0
- package/package.json +2 -2
package/dist/codec.d.cts
CHANGED
|
@@ -13,7 +13,19 @@ declare const pdfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
|
|
|
13
13
|
producer: z.ZodOptional<z.ZodString>;
|
|
14
14
|
createdIso: z.ZodOptional<z.ZodString>;
|
|
15
15
|
modifiedIso: z.ZodOptional<z.ZodString>;
|
|
16
|
+
lastPrintedIso: z.ZodOptional<z.ZodString>;
|
|
16
17
|
language: z.ZodOptional<z.ZodString>;
|
|
18
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
19
|
+
ltr: "ltr";
|
|
20
|
+
rtl: "rtl";
|
|
21
|
+
}>>;
|
|
22
|
+
publisher: z.ZodOptional<z.ZodString>;
|
|
23
|
+
contributor: z.ZodOptional<z.ZodString>;
|
|
24
|
+
rights: z.ZodOptional<z.ZodString>;
|
|
25
|
+
identifier: z.ZodOptional<z.ZodString>;
|
|
26
|
+
comments: z.ZodOptional<z.ZodString>;
|
|
27
|
+
company: z.ZodOptional<z.ZodString>;
|
|
28
|
+
manager: z.ZodOptional<z.ZodString>;
|
|
17
29
|
}, z.core.$strip>;
|
|
18
30
|
pages: z.ZodArray<z.ZodObject<{
|
|
19
31
|
widthPt: z.ZodNumber;
|
package/dist/codec.d.ts
CHANGED
|
@@ -13,7 +13,19 @@ declare const pdfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
|
|
|
13
13
|
producer: z.ZodOptional<z.ZodString>;
|
|
14
14
|
createdIso: z.ZodOptional<z.ZodString>;
|
|
15
15
|
modifiedIso: z.ZodOptional<z.ZodString>;
|
|
16
|
+
lastPrintedIso: z.ZodOptional<z.ZodString>;
|
|
16
17
|
language: z.ZodOptional<z.ZodString>;
|
|
18
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
19
|
+
ltr: "ltr";
|
|
20
|
+
rtl: "rtl";
|
|
21
|
+
}>>;
|
|
22
|
+
publisher: z.ZodOptional<z.ZodString>;
|
|
23
|
+
contributor: z.ZodOptional<z.ZodString>;
|
|
24
|
+
rights: z.ZodOptional<z.ZodString>;
|
|
25
|
+
identifier: z.ZodOptional<z.ZodString>;
|
|
26
|
+
comments: z.ZodOptional<z.ZodString>;
|
|
27
|
+
company: z.ZodOptional<z.ZodString>;
|
|
28
|
+
manager: z.ZodOptional<z.ZodString>;
|
|
17
29
|
}, z.core.$strip>;
|
|
18
30
|
pages: z.ZodArray<z.ZodObject<{
|
|
19
31
|
widthPt: z.ZodNumber;
|
package/dist/layout.d.cts
CHANGED
|
@@ -774,7 +774,19 @@ declare const LayoutDocumentSchema: z.ZodObject<{
|
|
|
774
774
|
producer: z.ZodOptional<z.ZodString>;
|
|
775
775
|
createdIso: z.ZodOptional<z.ZodString>;
|
|
776
776
|
modifiedIso: z.ZodOptional<z.ZodString>;
|
|
777
|
+
lastPrintedIso: z.ZodOptional<z.ZodString>;
|
|
777
778
|
language: z.ZodOptional<z.ZodString>;
|
|
779
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
780
|
+
ltr: "ltr";
|
|
781
|
+
rtl: "rtl";
|
|
782
|
+
}>>;
|
|
783
|
+
publisher: z.ZodOptional<z.ZodString>;
|
|
784
|
+
contributor: z.ZodOptional<z.ZodString>;
|
|
785
|
+
rights: z.ZodOptional<z.ZodString>;
|
|
786
|
+
identifier: z.ZodOptional<z.ZodString>;
|
|
787
|
+
comments: z.ZodOptional<z.ZodString>;
|
|
788
|
+
company: z.ZodOptional<z.ZodString>;
|
|
789
|
+
manager: z.ZodOptional<z.ZodString>;
|
|
778
790
|
}, z.core.$strip>;
|
|
779
791
|
pages: z.ZodArray<z.ZodObject<{
|
|
780
792
|
widthPt: z.ZodNumber;
|
package/dist/layout.d.ts
CHANGED
|
@@ -774,7 +774,19 @@ declare const LayoutDocumentSchema: z.ZodObject<{
|
|
|
774
774
|
producer: z.ZodOptional<z.ZodString>;
|
|
775
775
|
createdIso: z.ZodOptional<z.ZodString>;
|
|
776
776
|
modifiedIso: z.ZodOptional<z.ZodString>;
|
|
777
|
+
lastPrintedIso: z.ZodOptional<z.ZodString>;
|
|
777
778
|
language: z.ZodOptional<z.ZodString>;
|
|
779
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
780
|
+
ltr: "ltr";
|
|
781
|
+
rtl: "rtl";
|
|
782
|
+
}>>;
|
|
783
|
+
publisher: z.ZodOptional<z.ZodString>;
|
|
784
|
+
contributor: z.ZodOptional<z.ZodString>;
|
|
785
|
+
rights: z.ZodOptional<z.ZodString>;
|
|
786
|
+
identifier: z.ZodOptional<z.ZodString>;
|
|
787
|
+
comments: z.ZodOptional<z.ZodString>;
|
|
788
|
+
company: z.ZodOptional<z.ZodString>;
|
|
789
|
+
manager: z.ZodOptional<z.ZodString>;
|
|
778
790
|
}, z.core.$strip>;
|
|
779
791
|
pages: z.ZodArray<z.ZodObject<{
|
|
780
792
|
widthPt: z.ZodNumber;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pdf-codec",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.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.6.0",
|
|
102
102
|
"fflate": "^0.8.3",
|
|
103
103
|
"zod": "^4.4.3"
|
|
104
104
|
},
|