rtf-codec 4.2.4 → 4.2.5

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
- center: "center";
15
14
  right: "right";
15
+ center: "center";
16
16
  justify: "justify";
17
17
  }>>;
18
18
  list: z.ZodOptional<z.ZodObject<{
@@ -97,9 +97,9 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
97
97
  symbol: z.ZodString;
98
98
  name: z.ZodOptional<z.ZodString>;
99
99
  dimension: z.ZodRecord<z.ZodEnum<{
100
- time: "time";
101
100
  length: "length";
102
101
  mass: "mass";
102
+ time: "time";
103
103
  electricCurrent: "electricCurrent";
104
104
  thermodynamicTemperature: "thermodynamicTemperature";
105
105
  amountOfSubstance: "amountOfSubstance";
@@ -160,8 +160,8 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
160
160
  paragraph: z.ZodOptional<z.ZodObject<{
161
161
  alignment: z.ZodOptional<z.ZodEnum<{
162
162
  left: "left";
163
- center: "center";
164
163
  right: "right";
164
+ center: "center";
165
165
  justify: "justify";
166
166
  }>>;
167
167
  list: z.ZodOptional<z.ZodObject<{
@@ -246,9 +246,9 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
246
246
  symbol: z.ZodString;
247
247
  name: z.ZodOptional<z.ZodString>;
248
248
  dimension: z.ZodRecord<z.ZodEnum<{
249
- time: "time";
250
249
  length: "length";
251
250
  mass: "mass";
251
+ time: "time";
252
252
  electricCurrent: "electricCurrent";
253
253
  thermodynamicTemperature: "thermodynamicTemperature";
254
254
  amountOfSubstance: "amountOfSubstance";
@@ -314,8 +314,8 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
314
314
  paragraph: z.ZodOptional<z.ZodObject<{
315
315
  alignment: z.ZodOptional<z.ZodEnum<{
316
316
  left: "left";
317
- center: "center";
318
317
  right: "right";
318
+ center: "center";
319
319
  justify: "justify";
320
320
  }>>;
321
321
  list: z.ZodOptional<z.ZodObject<{
@@ -400,9 +400,9 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
400
400
  symbol: z.ZodString;
401
401
  name: z.ZodOptional<z.ZodString>;
402
402
  dimension: z.ZodRecord<z.ZodEnum<{
403
- time: "time";
404
403
  length: "length";
405
404
  mass: "mass";
405
+ time: "time";
406
406
  electricCurrent: "electricCurrent";
407
407
  thermodynamicTemperature: "thermodynamicTemperature";
408
408
  amountOfSubstance: "amountOfSubstance";
@@ -463,8 +463,8 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
463
463
  paragraph: z.ZodOptional<z.ZodObject<{
464
464
  alignment: z.ZodOptional<z.ZodEnum<{
465
465
  left: "left";
466
- center: "center";
467
466
  right: "right";
467
+ center: "center";
468
468
  justify: "justify";
469
469
  }>>;
470
470
  list: z.ZodOptional<z.ZodObject<{
@@ -549,9 +549,9 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
549
549
  symbol: z.ZodString;
550
550
  name: z.ZodOptional<z.ZodString>;
551
551
  dimension: z.ZodRecord<z.ZodEnum<{
552
- time: "time";
553
552
  length: "length";
554
553
  mass: "mass";
554
+ time: "time";
555
555
  electricCurrent: "electricCurrent";
556
556
  thermodynamicTemperature: "thermodynamicTemperature";
557
557
  amountOfSubstance: "amountOfSubstance";
@@ -671,8 +671,8 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
671
671
  paragraph: z.ZodOptional<z.ZodObject<{
672
672
  alignment: z.ZodOptional<z.ZodEnum<{
673
673
  left: "left";
674
- center: "center";
675
674
  right: "right";
675
+ center: "center";
676
676
  justify: "justify";
677
677
  }>>;
678
678
  list: z.ZodOptional<z.ZodObject<{
@@ -757,9 +757,9 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
757
757
  symbol: z.ZodString;
758
758
  name: z.ZodOptional<z.ZodString>;
759
759
  dimension: z.ZodRecord<z.ZodEnum<{
760
- time: "time";
761
760
  length: "length";
762
761
  mass: "mass";
762
+ time: "time";
763
763
  electricCurrent: "electricCurrent";
764
764
  thermodynamicTemperature: "thermodynamicTemperature";
765
765
  amountOfSubstance: "amountOfSubstance";
@@ -902,9 +902,9 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
902
902
  symbol: z.ZodString;
903
903
  name: z.ZodOptional<z.ZodString>;
904
904
  dimension: z.ZodRecord<z.ZodEnum<{
905
- time: "time";
906
905
  length: "length";
907
906
  mass: "mass";
907
+ time: "time";
908
908
  electricCurrent: "electricCurrent";
909
909
  thermodynamicTemperature: "thermodynamicTemperature";
910
910
  amountOfSubstance: "amountOfSubstance";
@@ -1097,9 +1097,9 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
1097
1097
  symbol: z.ZodString;
1098
1098
  name: z.ZodOptional<z.ZodString>;
1099
1099
  dimension: z.ZodRecord<z.ZodEnum<{
1100
- time: "time";
1101
1100
  length: "length";
1102
1101
  mass: "mass";
1102
+ time: "time";
1103
1103
  electricCurrent: "electricCurrent";
1104
1104
  thermodynamicTemperature: "thermodynamicTemperature";
1105
1105
  amountOfSubstance: "amountOfSubstance";
@@ -1502,8 +1502,8 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
1502
1502
  }, z.core.$strip>>;
1503
1503
  alignment: z.ZodOptional<z.ZodEnum<{
1504
1504
  left: "left";
1505
- center: "center";
1506
1505
  right: "right";
1506
+ center: "center";
1507
1507
  justify: "justify";
1508
1508
  }>>;
1509
1509
  verticalAlignment: z.ZodOptional<z.ZodEnum<{
@@ -1645,10 +1645,10 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
1645
1645
  }>;
1646
1646
  align: z.ZodEnum<{
1647
1647
  left: "left";
1648
- center: "center";
1649
1648
  right: "right";
1650
1649
  top: "top";
1651
1650
  bottom: "bottom";
1651
+ center: "center";
1652
1652
  inside: "inside";
1653
1653
  outside: "outside";
1654
1654
  }>;
@@ -1688,10 +1688,10 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
1688
1688
  }>;
1689
1689
  align: z.ZodEnum<{
1690
1690
  left: "left";
1691
- center: "center";
1692
1691
  right: "right";
1693
1692
  top: "top";
1694
1693
  bottom: "bottom";
1694
+ center: "center";
1695
1695
  inside: "inside";
1696
1696
  outside: "outside";
1697
1697
  }>;
@@ -2442,9 +2442,9 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
2442
2442
  symbol: z.ZodString;
2443
2443
  name: z.ZodOptional<z.ZodString>;
2444
2444
  dimension: z.ZodRecord<z.ZodEnum<{
2445
- time: "time";
2446
2445
  length: "length";
2447
2446
  mass: "mass";
2447
+ time: "time";
2448
2448
  electricCurrent: "electricCurrent";
2449
2449
  thermodynamicTemperature: "thermodynamicTemperature";
2450
2450
  amountOfSubstance: "amountOfSubstance";
@@ -3171,9 +3171,9 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
3171
3171
  symbol: z.ZodString;
3172
3172
  name: z.ZodOptional<z.ZodString>;
3173
3173
  dimension: z.ZodRecord<z.ZodEnum<{
3174
- time: "time";
3175
3174
  length: "length";
3176
3175
  mass: "mass";
3176
+ time: "time";
3177
3177
  electricCurrent: "electricCurrent";
3178
3178
  thermodynamicTemperature: "thermodynamicTemperature";
3179
3179
  amountOfSubstance: "amountOfSubstance";
@@ -3299,9 +3299,9 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
3299
3299
  symbol: z.ZodString;
3300
3300
  name: z.ZodOptional<z.ZodString>;
3301
3301
  dimension: z.ZodRecord<z.ZodEnum<{
3302
- time: "time";
3303
3302
  length: "length";
3304
3303
  mass: "mass";
3304
+ time: "time";
3305
3305
  electricCurrent: "electricCurrent";
3306
3306
  thermodynamicTemperature: "thermodynamicTemperature";
3307
3307
  amountOfSubstance: "amountOfSubstance";
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
- center: "center";
15
14
  right: "right";
15
+ center: "center";
16
16
  justify: "justify";
17
17
  }>>;
18
18
  list: z.ZodOptional<z.ZodObject<{
@@ -97,9 +97,9 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
97
97
  symbol: z.ZodString;
98
98
  name: z.ZodOptional<z.ZodString>;
99
99
  dimension: z.ZodRecord<z.ZodEnum<{
100
- time: "time";
101
100
  length: "length";
102
101
  mass: "mass";
102
+ time: "time";
103
103
  electricCurrent: "electricCurrent";
104
104
  thermodynamicTemperature: "thermodynamicTemperature";
105
105
  amountOfSubstance: "amountOfSubstance";
@@ -160,8 +160,8 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
160
160
  paragraph: z.ZodOptional<z.ZodObject<{
161
161
  alignment: z.ZodOptional<z.ZodEnum<{
162
162
  left: "left";
163
- center: "center";
164
163
  right: "right";
164
+ center: "center";
165
165
  justify: "justify";
166
166
  }>>;
167
167
  list: z.ZodOptional<z.ZodObject<{
@@ -246,9 +246,9 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
246
246
  symbol: z.ZodString;
247
247
  name: z.ZodOptional<z.ZodString>;
248
248
  dimension: z.ZodRecord<z.ZodEnum<{
249
- time: "time";
250
249
  length: "length";
251
250
  mass: "mass";
251
+ time: "time";
252
252
  electricCurrent: "electricCurrent";
253
253
  thermodynamicTemperature: "thermodynamicTemperature";
254
254
  amountOfSubstance: "amountOfSubstance";
@@ -314,8 +314,8 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
314
314
  paragraph: z.ZodOptional<z.ZodObject<{
315
315
  alignment: z.ZodOptional<z.ZodEnum<{
316
316
  left: "left";
317
- center: "center";
318
317
  right: "right";
318
+ center: "center";
319
319
  justify: "justify";
320
320
  }>>;
321
321
  list: z.ZodOptional<z.ZodObject<{
@@ -400,9 +400,9 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
400
400
  symbol: z.ZodString;
401
401
  name: z.ZodOptional<z.ZodString>;
402
402
  dimension: z.ZodRecord<z.ZodEnum<{
403
- time: "time";
404
403
  length: "length";
405
404
  mass: "mass";
405
+ time: "time";
406
406
  electricCurrent: "electricCurrent";
407
407
  thermodynamicTemperature: "thermodynamicTemperature";
408
408
  amountOfSubstance: "amountOfSubstance";
@@ -463,8 +463,8 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
463
463
  paragraph: z.ZodOptional<z.ZodObject<{
464
464
  alignment: z.ZodOptional<z.ZodEnum<{
465
465
  left: "left";
466
- center: "center";
467
466
  right: "right";
467
+ center: "center";
468
468
  justify: "justify";
469
469
  }>>;
470
470
  list: z.ZodOptional<z.ZodObject<{
@@ -549,9 +549,9 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
549
549
  symbol: z.ZodString;
550
550
  name: z.ZodOptional<z.ZodString>;
551
551
  dimension: z.ZodRecord<z.ZodEnum<{
552
- time: "time";
553
552
  length: "length";
554
553
  mass: "mass";
554
+ time: "time";
555
555
  electricCurrent: "electricCurrent";
556
556
  thermodynamicTemperature: "thermodynamicTemperature";
557
557
  amountOfSubstance: "amountOfSubstance";
@@ -671,8 +671,8 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
671
671
  paragraph: z.ZodOptional<z.ZodObject<{
672
672
  alignment: z.ZodOptional<z.ZodEnum<{
673
673
  left: "left";
674
- center: "center";
675
674
  right: "right";
675
+ center: "center";
676
676
  justify: "justify";
677
677
  }>>;
678
678
  list: z.ZodOptional<z.ZodObject<{
@@ -757,9 +757,9 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
757
757
  symbol: z.ZodString;
758
758
  name: z.ZodOptional<z.ZodString>;
759
759
  dimension: z.ZodRecord<z.ZodEnum<{
760
- time: "time";
761
760
  length: "length";
762
761
  mass: "mass";
762
+ time: "time";
763
763
  electricCurrent: "electricCurrent";
764
764
  thermodynamicTemperature: "thermodynamicTemperature";
765
765
  amountOfSubstance: "amountOfSubstance";
@@ -902,9 +902,9 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
902
902
  symbol: z.ZodString;
903
903
  name: z.ZodOptional<z.ZodString>;
904
904
  dimension: z.ZodRecord<z.ZodEnum<{
905
- time: "time";
906
905
  length: "length";
907
906
  mass: "mass";
907
+ time: "time";
908
908
  electricCurrent: "electricCurrent";
909
909
  thermodynamicTemperature: "thermodynamicTemperature";
910
910
  amountOfSubstance: "amountOfSubstance";
@@ -1097,9 +1097,9 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
1097
1097
  symbol: z.ZodString;
1098
1098
  name: z.ZodOptional<z.ZodString>;
1099
1099
  dimension: z.ZodRecord<z.ZodEnum<{
1100
- time: "time";
1101
1100
  length: "length";
1102
1101
  mass: "mass";
1102
+ time: "time";
1103
1103
  electricCurrent: "electricCurrent";
1104
1104
  thermodynamicTemperature: "thermodynamicTemperature";
1105
1105
  amountOfSubstance: "amountOfSubstance";
@@ -1502,8 +1502,8 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
1502
1502
  }, z.core.$strip>>;
1503
1503
  alignment: z.ZodOptional<z.ZodEnum<{
1504
1504
  left: "left";
1505
- center: "center";
1506
1505
  right: "right";
1506
+ center: "center";
1507
1507
  justify: "justify";
1508
1508
  }>>;
1509
1509
  verticalAlignment: z.ZodOptional<z.ZodEnum<{
@@ -1645,10 +1645,10 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
1645
1645
  }>;
1646
1646
  align: z.ZodEnum<{
1647
1647
  left: "left";
1648
- center: "center";
1649
1648
  right: "right";
1650
1649
  top: "top";
1651
1650
  bottom: "bottom";
1651
+ center: "center";
1652
1652
  inside: "inside";
1653
1653
  outside: "outside";
1654
1654
  }>;
@@ -1688,10 +1688,10 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
1688
1688
  }>;
1689
1689
  align: z.ZodEnum<{
1690
1690
  left: "left";
1691
- center: "center";
1692
1691
  right: "right";
1693
1692
  top: "top";
1694
1693
  bottom: "bottom";
1694
+ center: "center";
1695
1695
  inside: "inside";
1696
1696
  outside: "outside";
1697
1697
  }>;
@@ -2442,9 +2442,9 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
2442
2442
  symbol: z.ZodString;
2443
2443
  name: z.ZodOptional<z.ZodString>;
2444
2444
  dimension: z.ZodRecord<z.ZodEnum<{
2445
- time: "time";
2446
2445
  length: "length";
2447
2446
  mass: "mass";
2447
+ time: "time";
2448
2448
  electricCurrent: "electricCurrent";
2449
2449
  thermodynamicTemperature: "thermodynamicTemperature";
2450
2450
  amountOfSubstance: "amountOfSubstance";
@@ -3171,9 +3171,9 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
3171
3171
  symbol: z.ZodString;
3172
3172
  name: z.ZodOptional<z.ZodString>;
3173
3173
  dimension: z.ZodRecord<z.ZodEnum<{
3174
- time: "time";
3175
3174
  length: "length";
3176
3175
  mass: "mass";
3176
+ time: "time";
3177
3177
  electricCurrent: "electricCurrent";
3178
3178
  thermodynamicTemperature: "thermodynamicTemperature";
3179
3179
  amountOfSubstance: "amountOfSubstance";
@@ -3299,9 +3299,9 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
3299
3299
  symbol: z.ZodString;
3300
3300
  name: z.ZodOptional<z.ZodString>;
3301
3301
  dimension: z.ZodRecord<z.ZodEnum<{
3302
- time: "time";
3303
3302
  length: "length";
3304
3303
  mass: "mass";
3304
+ time: "time";
3305
3305
  electricCurrent: "electricCurrent";
3306
3306
  thermodynamicTemperature: "thermodynamicTemperature";
3307
3307
  amountOfSubstance: "amountOfSubstance";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rtf-codec",
3
- "version": "4.2.4",
3
+ "version": "4.2.5",
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": {
@@ -82,8 +82,8 @@
82
82
  "license": "MIT",
83
83
  "packageManager": "pnpm@11.6.0",
84
84
  "dependencies": {
85
- "archive-codec": "1.10.6",
86
- "document-schema.js": "7.9.0",
85
+ "archive-codec": "1.10.7",
86
+ "document-schema.js": "7.9.1",
87
87
  "zod": "4.4.3"
88
88
  },
89
89
  "devDependencies": {