mrkdwn.js 6.6.4 → 6.6.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 markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
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<{
@@ -160,8 +160,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
160
160
  paragraph: z.ZodOptional<z.ZodObject<{
161
161
  alignment: z.ZodOptional<z.ZodEnum<{
162
162
  left: "left";
163
- right: "right";
164
163
  center: "center";
164
+ right: "right";
165
165
  justify: "justify";
166
166
  }>>;
167
167
  list: z.ZodOptional<z.ZodObject<{
@@ -314,8 +314,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
314
314
  paragraph: z.ZodOptional<z.ZodObject<{
315
315
  alignment: z.ZodOptional<z.ZodEnum<{
316
316
  left: "left";
317
- right: "right";
318
317
  center: "center";
318
+ right: "right";
319
319
  justify: "justify";
320
320
  }>>;
321
321
  list: z.ZodOptional<z.ZodObject<{
@@ -463,8 +463,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
463
463
  paragraph: z.ZodOptional<z.ZodObject<{
464
464
  alignment: z.ZodOptional<z.ZodEnum<{
465
465
  left: "left";
466
- right: "right";
467
466
  center: "center";
467
+ right: "right";
468
468
  justify: "justify";
469
469
  }>>;
470
470
  list: z.ZodOptional<z.ZodObject<{
@@ -671,8 +671,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
671
671
  paragraph: z.ZodOptional<z.ZodObject<{
672
672
  alignment: z.ZodOptional<z.ZodEnum<{
673
673
  left: "left";
674
- right: "right";
675
674
  center: "center";
675
+ right: "right";
676
676
  justify: "justify";
677
677
  }>>;
678
678
  list: z.ZodOptional<z.ZodObject<{
@@ -1502,8 +1502,8 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1502
1502
  }, z.core.$strip>>;
1503
1503
  alignment: z.ZodOptional<z.ZodEnum<{
1504
1504
  left: "left";
1505
- right: "right";
1506
1505
  center: "center";
1506
+ right: "right";
1507
1507
  justify: "justify";
1508
1508
  }>>;
1509
1509
  verticalAlignment: z.ZodOptional<z.ZodEnum<{
@@ -1608,6 +1608,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
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<{
@@ -1644,10 +1645,10 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1644
1645
  }>;
1645
1646
  align: z.ZodEnum<{
1646
1647
  left: "left";
1648
+ center: "center";
1647
1649
  right: "right";
1648
1650
  top: "top";
1649
1651
  bottom: "bottom";
1650
- center: "center";
1651
1652
  inside: "inside";
1652
1653
  outside: "outside";
1653
1654
  }>;
@@ -1687,10 +1688,10 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1687
1688
  }>;
1688
1689
  align: z.ZodEnum<{
1689
1690
  left: "left";
1691
+ center: "center";
1690
1692
  right: "right";
1691
1693
  top: "top";
1692
1694
  bottom: "bottom";
1693
- center: "center";
1694
1695
  inside: "inside";
1695
1696
  outside: "outside";
1696
1697
  }>;
package/dist/codec.d.ts CHANGED
@@ -11,8 +11,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
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<{
@@ -160,8 +160,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
160
160
  paragraph: z.ZodOptional<z.ZodObject<{
161
161
  alignment: z.ZodOptional<z.ZodEnum<{
162
162
  left: "left";
163
- right: "right";
164
163
  center: "center";
164
+ right: "right";
165
165
  justify: "justify";
166
166
  }>>;
167
167
  list: z.ZodOptional<z.ZodObject<{
@@ -314,8 +314,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
314
314
  paragraph: z.ZodOptional<z.ZodObject<{
315
315
  alignment: z.ZodOptional<z.ZodEnum<{
316
316
  left: "left";
317
- right: "right";
318
317
  center: "center";
318
+ right: "right";
319
319
  justify: "justify";
320
320
  }>>;
321
321
  list: z.ZodOptional<z.ZodObject<{
@@ -463,8 +463,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
463
463
  paragraph: z.ZodOptional<z.ZodObject<{
464
464
  alignment: z.ZodOptional<z.ZodEnum<{
465
465
  left: "left";
466
- right: "right";
467
466
  center: "center";
467
+ right: "right";
468
468
  justify: "justify";
469
469
  }>>;
470
470
  list: z.ZodOptional<z.ZodObject<{
@@ -671,8 +671,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
671
671
  paragraph: z.ZodOptional<z.ZodObject<{
672
672
  alignment: z.ZodOptional<z.ZodEnum<{
673
673
  left: "left";
674
- right: "right";
675
674
  center: "center";
675
+ right: "right";
676
676
  justify: "justify";
677
677
  }>>;
678
678
  list: z.ZodOptional<z.ZodObject<{
@@ -1502,8 +1502,8 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1502
1502
  }, z.core.$strip>>;
1503
1503
  alignment: z.ZodOptional<z.ZodEnum<{
1504
1504
  left: "left";
1505
- right: "right";
1506
1505
  center: "center";
1506
+ right: "right";
1507
1507
  justify: "justify";
1508
1508
  }>>;
1509
1509
  verticalAlignment: z.ZodOptional<z.ZodEnum<{
@@ -1608,6 +1608,7 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
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<{
@@ -1644,10 +1645,10 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1644
1645
  }>;
1645
1646
  align: z.ZodEnum<{
1646
1647
  left: "left";
1648
+ center: "center";
1647
1649
  right: "right";
1648
1650
  top: "top";
1649
1651
  bottom: "bottom";
1650
- center: "center";
1651
1652
  inside: "inside";
1652
1653
  outside: "outside";
1653
1654
  }>;
@@ -1687,10 +1688,10 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1687
1688
  }>;
1688
1689
  align: z.ZodEnum<{
1689
1690
  left: "left";
1691
+ center: "center";
1690
1692
  right: "right";
1691
1693
  top: "top";
1692
1694
  bottom: "bottom";
1693
- center: "center";
1694
1695
  inside: "inside";
1695
1696
  outside: "outside";
1696
1697
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mrkdwn.js",
3
- "version": "6.6.4",
3
+ "version": "6.6.5",
4
4
  "description": "Hand-written CommonMark+GFM <-> DocumentTree codec, built on document-schema.js",
5
5
  "type": "module",
6
6
  "repository": {
@@ -56,7 +56,7 @@
56
56
  ],
57
57
  "license": "MIT",
58
58
  "dependencies": {
59
- "document-schema.js": "7.8.0",
59
+ "document-schema.js": "7.9.0",
60
60
  "zod": "4.4.3"
61
61
  },
62
62
  "devDependencies": {