rtf-codec 4.0.3 → 4.0.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 CHANGED
@@ -11,8 +11,8 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
11
11
  paragraph: z.ZodOptional<z.ZodObject<{
12
12
  alignment: z.ZodOptional<z.ZodEnum<{
13
13
  left: "left";
14
- right: "right";
15
14
  center: "center";
15
+ right: "right";
16
16
  justify: "justify";
17
17
  }>>;
18
18
  list: z.ZodOptional<z.ZodObject<{
@@ -159,8 +159,8 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
159
159
  paragraph: z.ZodOptional<z.ZodObject<{
160
160
  alignment: z.ZodOptional<z.ZodEnum<{
161
161
  left: "left";
162
- right: "right";
163
162
  center: "center";
163
+ right: "right";
164
164
  justify: "justify";
165
165
  }>>;
166
166
  list: z.ZodOptional<z.ZodObject<{
@@ -307,8 +307,8 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
307
307
  paragraph: z.ZodOptional<z.ZodObject<{
308
308
  alignment: z.ZodOptional<z.ZodEnum<{
309
309
  left: "left";
310
- right: "right";
311
310
  center: "center";
311
+ right: "right";
312
312
  justify: "justify";
313
313
  }>>;
314
314
  list: z.ZodOptional<z.ZodObject<{
@@ -455,8 +455,8 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
455
455
  paragraph: z.ZodOptional<z.ZodObject<{
456
456
  alignment: z.ZodOptional<z.ZodEnum<{
457
457
  left: "left";
458
- right: "right";
459
458
  center: "center";
459
+ right: "right";
460
460
  justify: "justify";
461
461
  }>>;
462
462
  list: z.ZodOptional<z.ZodObject<{
@@ -634,8 +634,8 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
634
634
  paragraph: z.ZodOptional<z.ZodObject<{
635
635
  alignment: z.ZodOptional<z.ZodEnum<{
636
636
  left: "left";
637
- right: "right";
638
637
  center: "center";
638
+ right: "right";
639
639
  justify: "justify";
640
640
  }>>;
641
641
  list: z.ZodOptional<z.ZodObject<{
@@ -1275,8 +1275,8 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
1275
1275
  }, z.core.$strip>>;
1276
1276
  alignment: z.ZodOptional<z.ZodEnum<{
1277
1277
  left: "left";
1278
- right: "right";
1279
1278
  center: "center";
1279
+ right: "right";
1280
1280
  justify: "justify";
1281
1281
  }>>;
1282
1282
  verticalAlignment: z.ZodOptional<z.ZodEnum<{
@@ -1379,10 +1379,10 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
1379
1379
  }>;
1380
1380
  align: z.ZodEnum<{
1381
1381
  left: "left";
1382
+ center: "center";
1382
1383
  right: "right";
1383
1384
  top: "top";
1384
1385
  bottom: "bottom";
1385
- center: "center";
1386
1386
  inside: "inside";
1387
1387
  outside: "outside";
1388
1388
  }>;
@@ -1422,10 +1422,10 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
1422
1422
  }>;
1423
1423
  align: z.ZodEnum<{
1424
1424
  left: "left";
1425
+ center: "center";
1425
1426
  right: "right";
1426
1427
  top: "top";
1427
1428
  bottom: "bottom";
1428
- center: "center";
1429
1429
  inside: "inside";
1430
1430
  outside: "outside";
1431
1431
  }>;
@@ -1908,6 +1908,9 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
1908
1908
  thisWeek: "thisWeek";
1909
1909
  lastWeek: "lastWeek";
1910
1910
  nextWeek: "nextWeek";
1911
+ thisYear: "thisYear";
1912
+ lastYear: "lastYear";
1913
+ nextYear: "nextYear";
1911
1914
  }>;
1912
1915
  style: z.ZodOptional<z.ZodObject<{
1913
1916
  textColor: z.ZodOptional<z.ZodObject<{
package/dist/codec.d.ts CHANGED
@@ -11,8 +11,8 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
11
11
  paragraph: z.ZodOptional<z.ZodObject<{
12
12
  alignment: z.ZodOptional<z.ZodEnum<{
13
13
  left: "left";
14
- right: "right";
15
14
  center: "center";
15
+ right: "right";
16
16
  justify: "justify";
17
17
  }>>;
18
18
  list: z.ZodOptional<z.ZodObject<{
@@ -159,8 +159,8 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
159
159
  paragraph: z.ZodOptional<z.ZodObject<{
160
160
  alignment: z.ZodOptional<z.ZodEnum<{
161
161
  left: "left";
162
- right: "right";
163
162
  center: "center";
163
+ right: "right";
164
164
  justify: "justify";
165
165
  }>>;
166
166
  list: z.ZodOptional<z.ZodObject<{
@@ -307,8 +307,8 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
307
307
  paragraph: z.ZodOptional<z.ZodObject<{
308
308
  alignment: z.ZodOptional<z.ZodEnum<{
309
309
  left: "left";
310
- right: "right";
311
310
  center: "center";
311
+ right: "right";
312
312
  justify: "justify";
313
313
  }>>;
314
314
  list: z.ZodOptional<z.ZodObject<{
@@ -455,8 +455,8 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
455
455
  paragraph: z.ZodOptional<z.ZodObject<{
456
456
  alignment: z.ZodOptional<z.ZodEnum<{
457
457
  left: "left";
458
- right: "right";
459
458
  center: "center";
459
+ right: "right";
460
460
  justify: "justify";
461
461
  }>>;
462
462
  list: z.ZodOptional<z.ZodObject<{
@@ -634,8 +634,8 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
634
634
  paragraph: z.ZodOptional<z.ZodObject<{
635
635
  alignment: z.ZodOptional<z.ZodEnum<{
636
636
  left: "left";
637
- right: "right";
638
637
  center: "center";
638
+ right: "right";
639
639
  justify: "justify";
640
640
  }>>;
641
641
  list: z.ZodOptional<z.ZodObject<{
@@ -1275,8 +1275,8 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
1275
1275
  }, z.core.$strip>>;
1276
1276
  alignment: z.ZodOptional<z.ZodEnum<{
1277
1277
  left: "left";
1278
- right: "right";
1279
1278
  center: "center";
1279
+ right: "right";
1280
1280
  justify: "justify";
1281
1281
  }>>;
1282
1282
  verticalAlignment: z.ZodOptional<z.ZodEnum<{
@@ -1379,10 +1379,10 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
1379
1379
  }>;
1380
1380
  align: z.ZodEnum<{
1381
1381
  left: "left";
1382
+ center: "center";
1382
1383
  right: "right";
1383
1384
  top: "top";
1384
1385
  bottom: "bottom";
1385
- center: "center";
1386
1386
  inside: "inside";
1387
1387
  outside: "outside";
1388
1388
  }>;
@@ -1422,10 +1422,10 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
1422
1422
  }>;
1423
1423
  align: z.ZodEnum<{
1424
1424
  left: "left";
1425
+ center: "center";
1425
1426
  right: "right";
1426
1427
  top: "top";
1427
1428
  bottom: "bottom";
1428
- center: "center";
1429
1429
  inside: "inside";
1430
1430
  outside: "outside";
1431
1431
  }>;
@@ -1908,6 +1908,9 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
1908
1908
  thisWeek: "thisWeek";
1909
1909
  lastWeek: "lastWeek";
1910
1910
  nextWeek: "nextWeek";
1911
+ thisYear: "thisYear";
1912
+ lastYear: "lastYear";
1913
+ nextYear: "nextYear";
1911
1914
  }>;
1912
1915
  style: z.ZodOptional<z.ZodObject<{
1913
1916
  textColor: z.ZodOptional<z.ZodObject<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rtf-codec",
3
- "version": "4.0.3",
3
+ "version": "4.0.4",
4
4
  "description": "Hand-written Rich Text Format (RTF 1.9.1) reader and writer against the shared document-schema.js content pivot.",
5
5
  "type": "module",
6
6
  "repository": {
@@ -80,8 +80,8 @@
80
80
  "license": "MIT",
81
81
  "packageManager": "pnpm@11.6.0",
82
82
  "dependencies": {
83
- "archive-codec": "^1.6.7",
84
- "document-schema.js": "^7.2.0",
83
+ "archive-codec": "^1.6.8",
84
+ "document-schema.js": "^7.3.0",
85
85
  "zod": "^4.4.3"
86
86
  },
87
87
  "devDependencies": {