pdf-codec.js 5.3.6 → 5.3.8

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
@@ -38,12 +38,12 @@ declare const pdfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
38
38
  font: z.ZodObject<{
39
39
  family: z.ZodString;
40
40
  weight: z.ZodEnum<{
41
- normal: "normal";
42
41
  bold: "bold";
42
+ normal: "normal";
43
43
  }>;
44
44
  style: z.ZodEnum<{
45
- normal: "normal";
46
45
  italic: "italic";
46
+ normal: "normal";
47
47
  }>;
48
48
  }, z.core.$strip>;
49
49
  sizePt: z.ZodNumber;
package/dist/codec.d.ts CHANGED
@@ -38,12 +38,12 @@ declare const pdfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
38
38
  font: z.ZodObject<{
39
39
  family: z.ZodString;
40
40
  weight: z.ZodEnum<{
41
- normal: "normal";
42
41
  bold: "bold";
42
+ normal: "normal";
43
43
  }>;
44
44
  style: z.ZodEnum<{
45
- normal: "normal";
46
45
  italic: "italic";
46
+ normal: "normal";
47
47
  }>;
48
48
  }, z.core.$strip>;
49
49
  sizePt: z.ZodNumber;
package/dist/layout.d.cts CHANGED
@@ -9,12 +9,12 @@ declare const LayoutTextSchema: z.ZodObject<{
9
9
  font: z.ZodObject<{
10
10
  family: z.ZodString;
11
11
  weight: z.ZodEnum<{
12
- normal: "normal";
13
12
  bold: "bold";
13
+ normal: "normal";
14
14
  }>;
15
15
  style: z.ZodEnum<{
16
- normal: "normal";
17
16
  italic: "italic";
17
+ normal: "normal";
18
18
  }>;
19
19
  }, z.core.$strip>;
20
20
  sizePt: z.ZodNumber;
@@ -228,12 +228,12 @@ declare const LayoutItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
228
228
  font: z.ZodObject<{
229
229
  family: z.ZodString;
230
230
  weight: z.ZodEnum<{
231
- normal: "normal";
232
231
  bold: "bold";
232
+ normal: "normal";
233
233
  }>;
234
234
  style: z.ZodEnum<{
235
- normal: "normal";
236
235
  italic: "italic";
236
+ normal: "normal";
237
237
  }>;
238
238
  }, z.core.$strip>;
239
239
  sizePt: z.ZodNumber;
@@ -461,12 +461,12 @@ declare const LayoutPageSchema: z.ZodObject<{
461
461
  font: z.ZodObject<{
462
462
  family: z.ZodString;
463
463
  weight: z.ZodEnum<{
464
- normal: "normal";
465
464
  bold: "bold";
465
+ normal: "normal";
466
466
  }>;
467
467
  style: z.ZodEnum<{
468
- normal: "normal";
469
468
  italic: "italic";
469
+ normal: "normal";
470
470
  }>;
471
471
  }, z.core.$strip>;
472
472
  sizePt: z.ZodNumber;
@@ -812,12 +812,12 @@ declare const LayoutDocumentSchema: z.ZodObject<{
812
812
  font: z.ZodObject<{
813
813
  family: z.ZodString;
814
814
  weight: z.ZodEnum<{
815
- normal: "normal";
816
815
  bold: "bold";
816
+ normal: "normal";
817
817
  }>;
818
818
  style: z.ZodEnum<{
819
- normal: "normal";
820
819
  italic: "italic";
820
+ normal: "normal";
821
821
  }>;
822
822
  }, z.core.$strip>;
823
823
  sizePt: z.ZodNumber;
package/dist/layout.d.ts CHANGED
@@ -9,12 +9,12 @@ declare const LayoutTextSchema: z.ZodObject<{
9
9
  font: z.ZodObject<{
10
10
  family: z.ZodString;
11
11
  weight: z.ZodEnum<{
12
- normal: "normal";
13
12
  bold: "bold";
13
+ normal: "normal";
14
14
  }>;
15
15
  style: z.ZodEnum<{
16
- normal: "normal";
17
16
  italic: "italic";
17
+ normal: "normal";
18
18
  }>;
19
19
  }, z.core.$strip>;
20
20
  sizePt: z.ZodNumber;
@@ -228,12 +228,12 @@ declare const LayoutItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
228
228
  font: z.ZodObject<{
229
229
  family: z.ZodString;
230
230
  weight: z.ZodEnum<{
231
- normal: "normal";
232
231
  bold: "bold";
232
+ normal: "normal";
233
233
  }>;
234
234
  style: z.ZodEnum<{
235
- normal: "normal";
236
235
  italic: "italic";
236
+ normal: "normal";
237
237
  }>;
238
238
  }, z.core.$strip>;
239
239
  sizePt: z.ZodNumber;
@@ -461,12 +461,12 @@ declare const LayoutPageSchema: z.ZodObject<{
461
461
  font: z.ZodObject<{
462
462
  family: z.ZodString;
463
463
  weight: z.ZodEnum<{
464
- normal: "normal";
465
464
  bold: "bold";
465
+ normal: "normal";
466
466
  }>;
467
467
  style: z.ZodEnum<{
468
- normal: "normal";
469
468
  italic: "italic";
469
+ normal: "normal";
470
470
  }>;
471
471
  }, z.core.$strip>;
472
472
  sizePt: z.ZodNumber;
@@ -812,12 +812,12 @@ declare const LayoutDocumentSchema: z.ZodObject<{
812
812
  font: z.ZodObject<{
813
813
  family: z.ZodString;
814
814
  weight: z.ZodEnum<{
815
- normal: "normal";
816
815
  bold: "bold";
816
+ normal: "normal";
817
817
  }>;
818
818
  style: z.ZodEnum<{
819
- normal: "normal";
820
819
  italic: "italic";
820
+ normal: "normal";
821
821
  }>;
822
822
  }, z.core.$strip>;
823
823
  sizePt: z.ZodNumber;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pdf-codec.js",
3
- "version": "5.3.6",
3
+ "version": "5.3.8",
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": {