pdf-codec 3.6.0 → 3.6.2

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 CHANGED
@@ -225,6 +225,7 @@ declare const pdfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
225
225
  markdown: "markdown";
226
226
  pdf: "pdf";
227
227
  epub: "epub";
228
+ rtf: "rtf";
228
229
  }>;
229
230
  xml: z.ZodString;
230
231
  }, z.core.$strict>>;
@@ -289,6 +290,7 @@ declare const pdfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
289
290
  markdown: "markdown";
290
291
  pdf: "pdf";
291
292
  epub: "epub";
293
+ rtf: "rtf";
292
294
  }>;
293
295
  xml: z.ZodString;
294
296
  }, z.core.$strict>>>;
package/dist/codec.d.ts CHANGED
@@ -225,6 +225,7 @@ declare const pdfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
225
225
  markdown: "markdown";
226
226
  pdf: "pdf";
227
227
  epub: "epub";
228
+ rtf: "rtf";
228
229
  }>;
229
230
  xml: z.ZodString;
230
231
  }, z.core.$strict>>;
@@ -289,6 +290,7 @@ declare const pdfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
289
290
  markdown: "markdown";
290
291
  pdf: "pdf";
291
292
  epub: "epub";
293
+ rtf: "rtf";
292
294
  }>;
293
295
  xml: z.ZodString;
294
296
  }, z.core.$strict>>>;
package/dist/layout.d.cts CHANGED
@@ -441,6 +441,7 @@ declare const LayoutAnnotationSchema: z.ZodObject<{
441
441
  markdown: "markdown";
442
442
  pdf: "pdf";
443
443
  epub: "epub";
444
+ rtf: "rtf";
444
445
  }>;
445
446
  xml: z.ZodString;
446
447
  }, z.core.$strict>>;
@@ -656,6 +657,7 @@ declare const LayoutPageSchema: z.ZodObject<{
656
657
  markdown: "markdown";
657
658
  pdf: "pdf";
658
659
  epub: "epub";
660
+ rtf: "rtf";
659
661
  }>;
660
662
  xml: z.ZodString;
661
663
  }, z.core.$strict>>;
@@ -984,6 +986,7 @@ declare const LayoutDocumentSchema: z.ZodObject<{
984
986
  markdown: "markdown";
985
987
  pdf: "pdf";
986
988
  epub: "epub";
989
+ rtf: "rtf";
987
990
  }>;
988
991
  xml: z.ZodString;
989
992
  }, z.core.$strict>>;
@@ -1048,6 +1051,7 @@ declare const LayoutDocumentSchema: z.ZodObject<{
1048
1051
  markdown: "markdown";
1049
1052
  pdf: "pdf";
1050
1053
  epub: "epub";
1054
+ rtf: "rtf";
1051
1055
  }>;
1052
1056
  xml: z.ZodString;
1053
1057
  }, z.core.$strict>>>;
package/dist/layout.d.ts CHANGED
@@ -441,6 +441,7 @@ declare const LayoutAnnotationSchema: z.ZodObject<{
441
441
  markdown: "markdown";
442
442
  pdf: "pdf";
443
443
  epub: "epub";
444
+ rtf: "rtf";
444
445
  }>;
445
446
  xml: z.ZodString;
446
447
  }, z.core.$strict>>;
@@ -656,6 +657,7 @@ declare const LayoutPageSchema: z.ZodObject<{
656
657
  markdown: "markdown";
657
658
  pdf: "pdf";
658
659
  epub: "epub";
660
+ rtf: "rtf";
659
661
  }>;
660
662
  xml: z.ZodString;
661
663
  }, z.core.$strict>>;
@@ -984,6 +986,7 @@ declare const LayoutDocumentSchema: z.ZodObject<{
984
986
  markdown: "markdown";
985
987
  pdf: "pdf";
986
988
  epub: "epub";
989
+ rtf: "rtf";
987
990
  }>;
988
991
  xml: z.ZodString;
989
992
  }, z.core.$strict>>;
@@ -1048,6 +1051,7 @@ declare const LayoutDocumentSchema: z.ZodObject<{
1048
1051
  markdown: "markdown";
1049
1052
  pdf: "pdf";
1050
1053
  epub: "epub";
1054
+ rtf: "rtf";
1051
1055
  }>;
1052
1056
  xml: z.ZodString;
1053
1057
  }, z.core.$strict>>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pdf-codec",
3
- "version": "3.6.0",
3
+ "version": "3.6.2",
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.4.0",
101
+ "document-schema.js": "^5.5.0",
102
102
  "fflate": "^0.8.3",
103
103
  "zod": "^4.4.3"
104
104
  },