rtf-codec 4.2.3 → 4.2.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
@@ -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";
100
101
  length: "length";
101
102
  mass: "mass";
102
- time: "time";
103
103
  electricCurrent: "electricCurrent";
104
104
  thermodynamicTemperature: "thermodynamicTemperature";
105
105
  amountOfSubstance: "amountOfSubstance";
@@ -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";
249
250
  length: "length";
250
251
  mass: "mass";
251
- time: "time";
252
252
  electricCurrent: "electricCurrent";
253
253
  thermodynamicTemperature: "thermodynamicTemperature";
254
254
  amountOfSubstance: "amountOfSubstance";
@@ -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";
403
404
  length: "length";
404
405
  mass: "mass";
405
- time: "time";
406
406
  electricCurrent: "electricCurrent";
407
407
  thermodynamicTemperature: "thermodynamicTemperature";
408
408
  amountOfSubstance: "amountOfSubstance";
@@ -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";
552
553
  length: "length";
553
554
  mass: "mass";
554
- time: "time";
555
555
  electricCurrent: "electricCurrent";
556
556
  thermodynamicTemperature: "thermodynamicTemperature";
557
557
  amountOfSubstance: "amountOfSubstance";
@@ -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";
760
761
  length: "length";
761
762
  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";
905
906
  length: "length";
906
907
  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";
1100
1101
  length: "length";
1101
1102
  mass: "mass";
1102
- time: "time";
1103
1103
  electricCurrent: "electricCurrent";
1104
1104
  thermodynamicTemperature: "thermodynamicTemperature";
1105
1105
  amountOfSubstance: "amountOfSubstance";
@@ -1608,6 +1608,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
1608
1608
  }, z.core.$strip>>;
1609
1609
  anchorRunIndex: z.ZodOptional<z.ZodNumber>;
1610
1610
  anchorOffset: z.ZodOptional<z.ZodNumber>;
1611
+ caption: z.ZodOptional<z.ZodString>;
1611
1612
  floatPosition: z.ZodOptional<z.ZodObject<{
1612
1613
  horizontal: z.ZodUnion<readonly [z.ZodObject<{
1613
1614
  relativeTo: z.ZodEnum<{
@@ -1779,10 +1780,10 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
1779
1780
  endColumn: z.ZodNumber;
1780
1781
  }, z.core.$strip>>;
1781
1782
  type: z.ZodEnum<{
1782
- decimal: "decimal";
1783
- list: "list";
1784
1783
  date: "date";
1785
1784
  custom: "custom";
1785
+ decimal: "decimal";
1786
+ list: "list";
1786
1787
  time: "time";
1787
1788
  whole: "whole";
1788
1789
  textLength: "textLength";
@@ -2441,9 +2442,9 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
2441
2442
  symbol: z.ZodString;
2442
2443
  name: z.ZodOptional<z.ZodString>;
2443
2444
  dimension: z.ZodRecord<z.ZodEnum<{
2445
+ time: "time";
2444
2446
  length: "length";
2445
2447
  mass: "mass";
2446
- time: "time";
2447
2448
  electricCurrent: "electricCurrent";
2448
2449
  thermodynamicTemperature: "thermodynamicTemperature";
2449
2450
  amountOfSubstance: "amountOfSubstance";
@@ -3170,9 +3171,9 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
3170
3171
  symbol: z.ZodString;
3171
3172
  name: z.ZodOptional<z.ZodString>;
3172
3173
  dimension: z.ZodRecord<z.ZodEnum<{
3174
+ time: "time";
3173
3175
  length: "length";
3174
3176
  mass: "mass";
3175
- time: "time";
3176
3177
  electricCurrent: "electricCurrent";
3177
3178
  thermodynamicTemperature: "thermodynamicTemperature";
3178
3179
  amountOfSubstance: "amountOfSubstance";
@@ -3298,9 +3299,9 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
3298
3299
  symbol: z.ZodString;
3299
3300
  name: z.ZodOptional<z.ZodString>;
3300
3301
  dimension: z.ZodRecord<z.ZodEnum<{
3302
+ time: "time";
3301
3303
  length: "length";
3302
3304
  mass: "mass";
3303
- time: "time";
3304
3305
  electricCurrent: "electricCurrent";
3305
3306
  thermodynamicTemperature: "thermodynamicTemperature";
3306
3307
  amountOfSubstance: "amountOfSubstance";
package/dist/codec.d.ts CHANGED
@@ -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";
100
101
  length: "length";
101
102
  mass: "mass";
102
- time: "time";
103
103
  electricCurrent: "electricCurrent";
104
104
  thermodynamicTemperature: "thermodynamicTemperature";
105
105
  amountOfSubstance: "amountOfSubstance";
@@ -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";
249
250
  length: "length";
250
251
  mass: "mass";
251
- time: "time";
252
252
  electricCurrent: "electricCurrent";
253
253
  thermodynamicTemperature: "thermodynamicTemperature";
254
254
  amountOfSubstance: "amountOfSubstance";
@@ -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";
403
404
  length: "length";
404
405
  mass: "mass";
405
- time: "time";
406
406
  electricCurrent: "electricCurrent";
407
407
  thermodynamicTemperature: "thermodynamicTemperature";
408
408
  amountOfSubstance: "amountOfSubstance";
@@ -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";
552
553
  length: "length";
553
554
  mass: "mass";
554
- time: "time";
555
555
  electricCurrent: "electricCurrent";
556
556
  thermodynamicTemperature: "thermodynamicTemperature";
557
557
  amountOfSubstance: "amountOfSubstance";
@@ -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";
760
761
  length: "length";
761
762
  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";
905
906
  length: "length";
906
907
  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";
1100
1101
  length: "length";
1101
1102
  mass: "mass";
1102
- time: "time";
1103
1103
  electricCurrent: "electricCurrent";
1104
1104
  thermodynamicTemperature: "thermodynamicTemperature";
1105
1105
  amountOfSubstance: "amountOfSubstance";
@@ -1608,6 +1608,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
1608
1608
  }, z.core.$strip>>;
1609
1609
  anchorRunIndex: z.ZodOptional<z.ZodNumber>;
1610
1610
  anchorOffset: z.ZodOptional<z.ZodNumber>;
1611
+ caption: z.ZodOptional<z.ZodString>;
1611
1612
  floatPosition: z.ZodOptional<z.ZodObject<{
1612
1613
  horizontal: z.ZodUnion<readonly [z.ZodObject<{
1613
1614
  relativeTo: z.ZodEnum<{
@@ -1779,10 +1780,10 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
1779
1780
  endColumn: z.ZodNumber;
1780
1781
  }, z.core.$strip>>;
1781
1782
  type: z.ZodEnum<{
1782
- decimal: "decimal";
1783
- list: "list";
1784
1783
  date: "date";
1785
1784
  custom: "custom";
1785
+ decimal: "decimal";
1786
+ list: "list";
1786
1787
  time: "time";
1787
1788
  whole: "whole";
1788
1789
  textLength: "textLength";
@@ -2441,9 +2442,9 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
2441
2442
  symbol: z.ZodString;
2442
2443
  name: z.ZodOptional<z.ZodString>;
2443
2444
  dimension: z.ZodRecord<z.ZodEnum<{
2445
+ time: "time";
2444
2446
  length: "length";
2445
2447
  mass: "mass";
2446
- time: "time";
2447
2448
  electricCurrent: "electricCurrent";
2448
2449
  thermodynamicTemperature: "thermodynamicTemperature";
2449
2450
  amountOfSubstance: "amountOfSubstance";
@@ -3170,9 +3171,9 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
3170
3171
  symbol: z.ZodString;
3171
3172
  name: z.ZodOptional<z.ZodString>;
3172
3173
  dimension: z.ZodRecord<z.ZodEnum<{
3174
+ time: "time";
3173
3175
  length: "length";
3174
3176
  mass: "mass";
3175
- time: "time";
3176
3177
  electricCurrent: "electricCurrent";
3177
3178
  thermodynamicTemperature: "thermodynamicTemperature";
3178
3179
  amountOfSubstance: "amountOfSubstance";
@@ -3298,9 +3299,9 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
3298
3299
  symbol: z.ZodString;
3299
3300
  name: z.ZodOptional<z.ZodString>;
3300
3301
  dimension: z.ZodRecord<z.ZodEnum<{
3302
+ time: "time";
3301
3303
  length: "length";
3302
3304
  mass: "mass";
3303
- time: "time";
3304
3305
  electricCurrent: "electricCurrent";
3305
3306
  thermodynamicTemperature: "thermodynamicTemperature";
3306
3307
  amountOfSubstance: "amountOfSubstance";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rtf-codec",
3
- "version": "4.2.3",
3
+ "version": "4.2.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": {
@@ -82,8 +82,8 @@
82
82
  "license": "MIT",
83
83
  "packageManager": "pnpm@11.6.0",
84
84
  "dependencies": {
85
- "archive-codec": "1.10.5",
86
- "document-schema.js": "7.8.0",
85
+ "archive-codec": "1.10.6",
86
+ "document-schema.js": "7.9.0",
87
87
  "zod": "4.4.3"
88
88
  },
89
89
  "devDependencies": {