markdown-codec 11.1.1 → 11.1.3

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
@@ -17,8 +17,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
17
17
  paragraph: z.ZodOptional<z.ZodObject<{
18
18
  alignment: z.ZodOptional<z.ZodEnum<{
19
19
  left: "left";
20
- right: "right";
21
20
  center: "center";
21
+ right: "right";
22
22
  justify: "justify";
23
23
  }>>;
24
24
  list: z.ZodOptional<z.ZodObject<{
@@ -103,9 +103,9 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
103
103
  symbol: z.ZodString;
104
104
  name: z.ZodOptional<z.ZodString>;
105
105
  dimension: z.ZodRecord<z.ZodEnum<{
106
+ time: "time";
106
107
  length: "length";
107
108
  mass: "mass";
108
- time: "time";
109
109
  electricCurrent: "electricCurrent";
110
110
  thermodynamicTemperature: "thermodynamicTemperature";
111
111
  amountOfSubstance: "amountOfSubstance";
@@ -172,8 +172,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
172
172
  paragraph: z.ZodOptional<z.ZodObject<{
173
173
  alignment: z.ZodOptional<z.ZodEnum<{
174
174
  left: "left";
175
- right: "right";
176
175
  center: "center";
176
+ right: "right";
177
177
  justify: "justify";
178
178
  }>>;
179
179
  list: z.ZodOptional<z.ZodObject<{
@@ -258,9 +258,9 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
258
258
  symbol: z.ZodString;
259
259
  name: z.ZodOptional<z.ZodString>;
260
260
  dimension: z.ZodRecord<z.ZodEnum<{
261
+ time: "time";
261
262
  length: "length";
262
263
  mass: "mass";
263
- time: "time";
264
264
  electricCurrent: "electricCurrent";
265
265
  thermodynamicTemperature: "thermodynamicTemperature";
266
266
  amountOfSubstance: "amountOfSubstance";
@@ -332,8 +332,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
332
332
  paragraph: z.ZodOptional<z.ZodObject<{
333
333
  alignment: z.ZodOptional<z.ZodEnum<{
334
334
  left: "left";
335
- right: "right";
336
335
  center: "center";
336
+ right: "right";
337
337
  justify: "justify";
338
338
  }>>;
339
339
  list: z.ZodOptional<z.ZodObject<{
@@ -418,9 +418,9 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
418
418
  symbol: z.ZodString;
419
419
  name: z.ZodOptional<z.ZodString>;
420
420
  dimension: z.ZodRecord<z.ZodEnum<{
421
+ time: "time";
421
422
  length: "length";
422
423
  mass: "mass";
423
- time: "time";
424
424
  electricCurrent: "electricCurrent";
425
425
  thermodynamicTemperature: "thermodynamicTemperature";
426
426
  amountOfSubstance: "amountOfSubstance";
@@ -487,8 +487,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
487
487
  paragraph: z.ZodOptional<z.ZodObject<{
488
488
  alignment: z.ZodOptional<z.ZodEnum<{
489
489
  left: "left";
490
- right: "right";
491
490
  center: "center";
491
+ right: "right";
492
492
  justify: "justify";
493
493
  }>>;
494
494
  list: z.ZodOptional<z.ZodObject<{
@@ -573,9 +573,9 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
573
573
  symbol: z.ZodString;
574
574
  name: z.ZodOptional<z.ZodString>;
575
575
  dimension: z.ZodRecord<z.ZodEnum<{
576
+ time: "time";
576
577
  length: "length";
577
578
  mass: "mass";
578
- time: "time";
579
579
  electricCurrent: "electricCurrent";
580
580
  thermodynamicTemperature: "thermodynamicTemperature";
581
581
  amountOfSubstance: "amountOfSubstance";
@@ -701,8 +701,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
701
701
  paragraph: z.ZodOptional<z.ZodObject<{
702
702
  alignment: z.ZodOptional<z.ZodEnum<{
703
703
  left: "left";
704
- right: "right";
705
704
  center: "center";
705
+ right: "right";
706
706
  justify: "justify";
707
707
  }>>;
708
708
  list: z.ZodOptional<z.ZodObject<{
@@ -787,9 +787,9 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
787
787
  symbol: z.ZodString;
788
788
  name: z.ZodOptional<z.ZodString>;
789
789
  dimension: z.ZodRecord<z.ZodEnum<{
790
+ time: "time";
790
791
  length: "length";
791
792
  mass: "mass";
792
- time: "time";
793
793
  electricCurrent: "electricCurrent";
794
794
  thermodynamicTemperature: "thermodynamicTemperature";
795
795
  amountOfSubstance: "amountOfSubstance";
@@ -937,9 +937,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
937
937
  symbol: z.ZodString;
938
938
  name: z.ZodOptional<z.ZodString>;
939
939
  dimension: z.ZodRecord<z.ZodEnum<{
940
+ time: "time";
940
941
  length: "length";
941
942
  mass: "mass";
942
- time: "time";
943
943
  electricCurrent: "electricCurrent";
944
944
  thermodynamicTemperature: "thermodynamicTemperature";
945
945
  amountOfSubstance: "amountOfSubstance";
@@ -1133,9 +1133,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1133
1133
  symbol: z.ZodString;
1134
1134
  name: z.ZodOptional<z.ZodString>;
1135
1135
  dimension: z.ZodRecord<z.ZodEnum<{
1136
+ time: "time";
1136
1137
  length: "length";
1137
1138
  mass: "mass";
1138
- time: "time";
1139
1139
  electricCurrent: "electricCurrent";
1140
1140
  thermodynamicTemperature: "thermodynamicTemperature";
1141
1141
  amountOfSubstance: "amountOfSubstance";
@@ -1538,8 +1538,8 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1538
1538
  }, z.core.$strip>>;
1539
1539
  alignment: z.ZodOptional<z.ZodEnum<{
1540
1540
  left: "left";
1541
- right: "right";
1542
1541
  center: "center";
1542
+ right: "right";
1543
1543
  justify: "justify";
1544
1544
  }>>;
1545
1545
  verticalAlignment: z.ZodOptional<z.ZodEnum<{
@@ -1681,10 +1681,10 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1681
1681
  }>;
1682
1682
  align: z.ZodEnum<{
1683
1683
  left: "left";
1684
+ center: "center";
1684
1685
  right: "right";
1685
1686
  top: "top";
1686
1687
  bottom: "bottom";
1687
- center: "center";
1688
1688
  inside: "inside";
1689
1689
  outside: "outside";
1690
1690
  }>;
@@ -1724,10 +1724,10 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1724
1724
  }>;
1725
1725
  align: z.ZodEnum<{
1726
1726
  left: "left";
1727
+ center: "center";
1727
1728
  right: "right";
1728
1729
  top: "top";
1729
1730
  bottom: "bottom";
1730
- center: "center";
1731
1731
  inside: "inside";
1732
1732
  outside: "outside";
1733
1733
  }>;
@@ -2478,9 +2478,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2478
2478
  symbol: z.ZodString;
2479
2479
  name: z.ZodOptional<z.ZodString>;
2480
2480
  dimension: z.ZodRecord<z.ZodEnum<{
2481
+ time: "time";
2481
2482
  length: "length";
2482
2483
  mass: "mass";
2483
- time: "time";
2484
2484
  electricCurrent: "electricCurrent";
2485
2485
  thermodynamicTemperature: "thermodynamicTemperature";
2486
2486
  amountOfSubstance: "amountOfSubstance";
@@ -3208,9 +3208,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
3208
3208
  symbol: z.ZodString;
3209
3209
  name: z.ZodOptional<z.ZodString>;
3210
3210
  dimension: z.ZodRecord<z.ZodEnum<{
3211
+ time: "time";
3211
3212
  length: "length";
3212
3213
  mass: "mass";
3213
- time: "time";
3214
3214
  electricCurrent: "electricCurrent";
3215
3215
  thermodynamicTemperature: "thermodynamicTemperature";
3216
3216
  amountOfSubstance: "amountOfSubstance";
@@ -3336,9 +3336,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
3336
3336
  symbol: z.ZodString;
3337
3337
  name: z.ZodOptional<z.ZodString>;
3338
3338
  dimension: z.ZodRecord<z.ZodEnum<{
3339
+ time: "time";
3339
3340
  length: "length";
3340
3341
  mass: "mass";
3341
- time: "time";
3342
3342
  electricCurrent: "electricCurrent";
3343
3343
  thermodynamicTemperature: "thermodynamicTemperature";
3344
3344
  amountOfSubstance: "amountOfSubstance";
package/dist/codec.d.ts CHANGED
@@ -17,8 +17,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
17
17
  paragraph: z.ZodOptional<z.ZodObject<{
18
18
  alignment: z.ZodOptional<z.ZodEnum<{
19
19
  left: "left";
20
- right: "right";
21
20
  center: "center";
21
+ right: "right";
22
22
  justify: "justify";
23
23
  }>>;
24
24
  list: z.ZodOptional<z.ZodObject<{
@@ -103,9 +103,9 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
103
103
  symbol: z.ZodString;
104
104
  name: z.ZodOptional<z.ZodString>;
105
105
  dimension: z.ZodRecord<z.ZodEnum<{
106
+ time: "time";
106
107
  length: "length";
107
108
  mass: "mass";
108
- time: "time";
109
109
  electricCurrent: "electricCurrent";
110
110
  thermodynamicTemperature: "thermodynamicTemperature";
111
111
  amountOfSubstance: "amountOfSubstance";
@@ -172,8 +172,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
172
172
  paragraph: z.ZodOptional<z.ZodObject<{
173
173
  alignment: z.ZodOptional<z.ZodEnum<{
174
174
  left: "left";
175
- right: "right";
176
175
  center: "center";
176
+ right: "right";
177
177
  justify: "justify";
178
178
  }>>;
179
179
  list: z.ZodOptional<z.ZodObject<{
@@ -258,9 +258,9 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
258
258
  symbol: z.ZodString;
259
259
  name: z.ZodOptional<z.ZodString>;
260
260
  dimension: z.ZodRecord<z.ZodEnum<{
261
+ time: "time";
261
262
  length: "length";
262
263
  mass: "mass";
263
- time: "time";
264
264
  electricCurrent: "electricCurrent";
265
265
  thermodynamicTemperature: "thermodynamicTemperature";
266
266
  amountOfSubstance: "amountOfSubstance";
@@ -332,8 +332,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
332
332
  paragraph: z.ZodOptional<z.ZodObject<{
333
333
  alignment: z.ZodOptional<z.ZodEnum<{
334
334
  left: "left";
335
- right: "right";
336
335
  center: "center";
336
+ right: "right";
337
337
  justify: "justify";
338
338
  }>>;
339
339
  list: z.ZodOptional<z.ZodObject<{
@@ -418,9 +418,9 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
418
418
  symbol: z.ZodString;
419
419
  name: z.ZodOptional<z.ZodString>;
420
420
  dimension: z.ZodRecord<z.ZodEnum<{
421
+ time: "time";
421
422
  length: "length";
422
423
  mass: "mass";
423
- time: "time";
424
424
  electricCurrent: "electricCurrent";
425
425
  thermodynamicTemperature: "thermodynamicTemperature";
426
426
  amountOfSubstance: "amountOfSubstance";
@@ -487,8 +487,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
487
487
  paragraph: z.ZodOptional<z.ZodObject<{
488
488
  alignment: z.ZodOptional<z.ZodEnum<{
489
489
  left: "left";
490
- right: "right";
491
490
  center: "center";
491
+ right: "right";
492
492
  justify: "justify";
493
493
  }>>;
494
494
  list: z.ZodOptional<z.ZodObject<{
@@ -573,9 +573,9 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
573
573
  symbol: z.ZodString;
574
574
  name: z.ZodOptional<z.ZodString>;
575
575
  dimension: z.ZodRecord<z.ZodEnum<{
576
+ time: "time";
576
577
  length: "length";
577
578
  mass: "mass";
578
- time: "time";
579
579
  electricCurrent: "electricCurrent";
580
580
  thermodynamicTemperature: "thermodynamicTemperature";
581
581
  amountOfSubstance: "amountOfSubstance";
@@ -701,8 +701,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
701
701
  paragraph: z.ZodOptional<z.ZodObject<{
702
702
  alignment: z.ZodOptional<z.ZodEnum<{
703
703
  left: "left";
704
- right: "right";
705
704
  center: "center";
705
+ right: "right";
706
706
  justify: "justify";
707
707
  }>>;
708
708
  list: z.ZodOptional<z.ZodObject<{
@@ -787,9 +787,9 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
787
787
  symbol: z.ZodString;
788
788
  name: z.ZodOptional<z.ZodString>;
789
789
  dimension: z.ZodRecord<z.ZodEnum<{
790
+ time: "time";
790
791
  length: "length";
791
792
  mass: "mass";
792
- time: "time";
793
793
  electricCurrent: "electricCurrent";
794
794
  thermodynamicTemperature: "thermodynamicTemperature";
795
795
  amountOfSubstance: "amountOfSubstance";
@@ -937,9 +937,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
937
937
  symbol: z.ZodString;
938
938
  name: z.ZodOptional<z.ZodString>;
939
939
  dimension: z.ZodRecord<z.ZodEnum<{
940
+ time: "time";
940
941
  length: "length";
941
942
  mass: "mass";
942
- time: "time";
943
943
  electricCurrent: "electricCurrent";
944
944
  thermodynamicTemperature: "thermodynamicTemperature";
945
945
  amountOfSubstance: "amountOfSubstance";
@@ -1133,9 +1133,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1133
1133
  symbol: z.ZodString;
1134
1134
  name: z.ZodOptional<z.ZodString>;
1135
1135
  dimension: z.ZodRecord<z.ZodEnum<{
1136
+ time: "time";
1136
1137
  length: "length";
1137
1138
  mass: "mass";
1138
- time: "time";
1139
1139
  electricCurrent: "electricCurrent";
1140
1140
  thermodynamicTemperature: "thermodynamicTemperature";
1141
1141
  amountOfSubstance: "amountOfSubstance";
@@ -1538,8 +1538,8 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1538
1538
  }, z.core.$strip>>;
1539
1539
  alignment: z.ZodOptional<z.ZodEnum<{
1540
1540
  left: "left";
1541
- right: "right";
1542
1541
  center: "center";
1542
+ right: "right";
1543
1543
  justify: "justify";
1544
1544
  }>>;
1545
1545
  verticalAlignment: z.ZodOptional<z.ZodEnum<{
@@ -1681,10 +1681,10 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1681
1681
  }>;
1682
1682
  align: z.ZodEnum<{
1683
1683
  left: "left";
1684
+ center: "center";
1684
1685
  right: "right";
1685
1686
  top: "top";
1686
1687
  bottom: "bottom";
1687
- center: "center";
1688
1688
  inside: "inside";
1689
1689
  outside: "outside";
1690
1690
  }>;
@@ -1724,10 +1724,10 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1724
1724
  }>;
1725
1725
  align: z.ZodEnum<{
1726
1726
  left: "left";
1727
+ center: "center";
1727
1728
  right: "right";
1728
1729
  top: "top";
1729
1730
  bottom: "bottom";
1730
- center: "center";
1731
1731
  inside: "inside";
1732
1732
  outside: "outside";
1733
1733
  }>;
@@ -2478,9 +2478,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
2478
2478
  symbol: z.ZodString;
2479
2479
  name: z.ZodOptional<z.ZodString>;
2480
2480
  dimension: z.ZodRecord<z.ZodEnum<{
2481
+ time: "time";
2481
2482
  length: "length";
2482
2483
  mass: "mass";
2483
- time: "time";
2484
2484
  electricCurrent: "electricCurrent";
2485
2485
  thermodynamicTemperature: "thermodynamicTemperature";
2486
2486
  amountOfSubstance: "amountOfSubstance";
@@ -3208,9 +3208,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
3208
3208
  symbol: z.ZodString;
3209
3209
  name: z.ZodOptional<z.ZodString>;
3210
3210
  dimension: z.ZodRecord<z.ZodEnum<{
3211
+ time: "time";
3211
3212
  length: "length";
3212
3213
  mass: "mass";
3213
- time: "time";
3214
3214
  electricCurrent: "electricCurrent";
3215
3215
  thermodynamicTemperature: "thermodynamicTemperature";
3216
3216
  amountOfSubstance: "amountOfSubstance";
@@ -3336,9 +3336,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
3336
3336
  symbol: z.ZodString;
3337
3337
  name: z.ZodOptional<z.ZodString>;
3338
3338
  dimension: z.ZodRecord<z.ZodEnum<{
3339
+ time: "time";
3339
3340
  length: "length";
3340
3341
  mass: "mass";
3341
- time: "time";
3342
3342
  electricCurrent: "electricCurrent";
3343
3343
  thermodynamicTemperature: "thermodynamicTemperature";
3344
3344
  amountOfSubstance: "amountOfSubstance";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "markdown-codec",
3
- "version": "11.1.1",
3
+ "version": "11.1.3",
4
4
  "description": "Hand-written CommonMark+GFM <-> DocumentTree codec, built on document-schema.js",
5
5
  "type": "module",
6
6
  "repository": {
@@ -83,7 +83,7 @@
83
83
  "license": "MIT",
84
84
  "packageManager": "pnpm@12.4.1+sha512.2e81e399d73fe8390dab25e06aa788ab7a5908248d2f5a370f82b481147a6a7a367bf8048f9a6fdb6460f21a66f0542dedb8b94ca2c8723596741920b1656d4c",
85
85
  "dependencies": {
86
- "byte-codec": "1.9.0",
86
+ "byte-codec": "1.10.1",
87
87
  "document-schema.js": "7.15.0",
88
88
  "zod": "4.4.3"
89
89
  },