mrkdwn.js 11.2.3 → 11.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 +17 -17
- package/dist/codec.d.ts +17 -17
- package/package.json +3 -3
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
|
-
center: "center";
|
|
21
20
|
right: "right";
|
|
21
|
+
center: "center";
|
|
22
22
|
justify: "justify";
|
|
23
23
|
}>>;
|
|
24
24
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -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
|
-
center: "center";
|
|
176
175
|
right: "right";
|
|
176
|
+
center: "center";
|
|
177
177
|
justify: "justify";
|
|
178
178
|
}>>;
|
|
179
179
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -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
|
-
center: "center";
|
|
336
335
|
right: "right";
|
|
336
|
+
center: "center";
|
|
337
337
|
justify: "justify";
|
|
338
338
|
}>>;
|
|
339
339
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -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
|
-
center: "center";
|
|
491
490
|
right: "right";
|
|
491
|
+
center: "center";
|
|
492
492
|
justify: "justify";
|
|
493
493
|
}>>;
|
|
494
494
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -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
|
-
center: "center";
|
|
705
704
|
right: "right";
|
|
705
|
+
center: "center";
|
|
706
706
|
justify: "justify";
|
|
707
707
|
}>>;
|
|
708
708
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -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
|
-
center: "center";
|
|
1542
1541
|
right: "right";
|
|
1542
|
+
center: "center";
|
|
1543
1543
|
justify: "justify";
|
|
1544
1544
|
}>>;
|
|
1545
1545
|
verticalAlignment: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1648,7 +1648,6 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1648
1648
|
floatPosition: z.ZodOptional<z.ZodObject<{
|
|
1649
1649
|
horizontal: z.ZodUnion<readonly [z.ZodObject<{
|
|
1650
1650
|
relativeTo: z.ZodEnum<{
|
|
1651
|
-
frame: "frame";
|
|
1652
1651
|
paragraph: "paragraph";
|
|
1653
1652
|
page: "page";
|
|
1654
1653
|
margin: "margin";
|
|
@@ -1661,11 +1660,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1661
1660
|
column: "column";
|
|
1662
1661
|
character: "character";
|
|
1663
1662
|
line: "line";
|
|
1663
|
+
frame: "frame";
|
|
1664
1664
|
}>;
|
|
1665
1665
|
offsetPt: z.ZodNumber;
|
|
1666
1666
|
}, z.core.$strict>, z.ZodObject<{
|
|
1667
1667
|
relativeTo: z.ZodEnum<{
|
|
1668
|
-
frame: "frame";
|
|
1669
1668
|
paragraph: "paragraph";
|
|
1670
1669
|
page: "page";
|
|
1671
1670
|
margin: "margin";
|
|
@@ -1678,20 +1677,20 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1678
1677
|
column: "column";
|
|
1679
1678
|
character: "character";
|
|
1680
1679
|
line: "line";
|
|
1680
|
+
frame: "frame";
|
|
1681
1681
|
}>;
|
|
1682
1682
|
align: z.ZodEnum<{
|
|
1683
1683
|
left: "left";
|
|
1684
|
-
center: "center";
|
|
1685
1684
|
right: "right";
|
|
1686
1685
|
top: "top";
|
|
1687
1686
|
bottom: "bottom";
|
|
1687
|
+
center: "center";
|
|
1688
1688
|
inside: "inside";
|
|
1689
1689
|
outside: "outside";
|
|
1690
1690
|
}>;
|
|
1691
1691
|
}, z.core.$strict>]>;
|
|
1692
1692
|
vertical: z.ZodUnion<readonly [z.ZodObject<{
|
|
1693
1693
|
relativeTo: z.ZodEnum<{
|
|
1694
|
-
frame: "frame";
|
|
1695
1694
|
paragraph: "paragraph";
|
|
1696
1695
|
page: "page";
|
|
1697
1696
|
margin: "margin";
|
|
@@ -1704,11 +1703,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1704
1703
|
column: "column";
|
|
1705
1704
|
character: "character";
|
|
1706
1705
|
line: "line";
|
|
1706
|
+
frame: "frame";
|
|
1707
1707
|
}>;
|
|
1708
1708
|
offsetPt: z.ZodNumber;
|
|
1709
1709
|
}, z.core.$strict>, z.ZodObject<{
|
|
1710
1710
|
relativeTo: z.ZodEnum<{
|
|
1711
|
-
frame: "frame";
|
|
1712
1711
|
paragraph: "paragraph";
|
|
1713
1712
|
page: "page";
|
|
1714
1713
|
margin: "margin";
|
|
@@ -1721,13 +1720,14 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1721
1720
|
column: "column";
|
|
1722
1721
|
character: "character";
|
|
1723
1722
|
line: "line";
|
|
1723
|
+
frame: "frame";
|
|
1724
1724
|
}>;
|
|
1725
1725
|
align: z.ZodEnum<{
|
|
1726
1726
|
left: "left";
|
|
1727
|
-
center: "center";
|
|
1728
1727
|
right: "right";
|
|
1729
1728
|
top: "top";
|
|
1730
1729
|
bottom: "bottom";
|
|
1730
|
+
center: "center";
|
|
1731
1731
|
inside: "inside";
|
|
1732
1732
|
outside: "outside";
|
|
1733
1733
|
}>;
|
|
@@ -1816,9 +1816,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1816
1816
|
endColumn: z.ZodNumber;
|
|
1817
1817
|
}, z.core.$strip>>;
|
|
1818
1818
|
type: z.ZodEnum<{
|
|
1819
|
+
decimal: "decimal";
|
|
1819
1820
|
date: "date";
|
|
1820
1821
|
custom: "custom";
|
|
1821
|
-
decimal: "decimal";
|
|
1822
1822
|
list: "list";
|
|
1823
1823
|
time: "time";
|
|
1824
1824
|
whole: "whole";
|
|
@@ -2292,8 +2292,8 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
2292
2292
|
value: z.ZodObject<{
|
|
2293
2293
|
type: z.ZodEnum<{
|
|
2294
2294
|
formula: "formula";
|
|
2295
|
-
percent: "percent";
|
|
2296
2295
|
num: "num";
|
|
2296
|
+
percent: "percent";
|
|
2297
2297
|
max: "max";
|
|
2298
2298
|
min: "min";
|
|
2299
2299
|
percentile: "percentile";
|
|
@@ -2339,8 +2339,8 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
2339
2339
|
min: z.ZodObject<{
|
|
2340
2340
|
type: z.ZodEnum<{
|
|
2341
2341
|
formula: "formula";
|
|
2342
|
-
percent: "percent";
|
|
2343
2342
|
num: "num";
|
|
2343
|
+
percent: "percent";
|
|
2344
2344
|
max: "max";
|
|
2345
2345
|
min: "min";
|
|
2346
2346
|
percentile: "percentile";
|
|
@@ -2350,8 +2350,8 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
2350
2350
|
max: z.ZodObject<{
|
|
2351
2351
|
type: z.ZodEnum<{
|
|
2352
2352
|
formula: "formula";
|
|
2353
|
-
percent: "percent";
|
|
2354
2353
|
num: "num";
|
|
2354
|
+
percent: "percent";
|
|
2355
2355
|
max: "max";
|
|
2356
2356
|
min: "min";
|
|
2357
2357
|
percentile: "percentile";
|
|
@@ -2398,8 +2398,8 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
2398
2398
|
thresholds: z.ZodArray<z.ZodObject<{
|
|
2399
2399
|
type: z.ZodEnum<{
|
|
2400
2400
|
formula: "formula";
|
|
2401
|
-
percent: "percent";
|
|
2402
2401
|
num: "num";
|
|
2402
|
+
percent: "percent";
|
|
2403
2403
|
max: "max";
|
|
2404
2404
|
min: "min";
|
|
2405
2405
|
percentile: "percentile";
|
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
|
-
center: "center";
|
|
21
20
|
right: "right";
|
|
21
|
+
center: "center";
|
|
22
22
|
justify: "justify";
|
|
23
23
|
}>>;
|
|
24
24
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -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
|
-
center: "center";
|
|
176
175
|
right: "right";
|
|
176
|
+
center: "center";
|
|
177
177
|
justify: "justify";
|
|
178
178
|
}>>;
|
|
179
179
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -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
|
-
center: "center";
|
|
336
335
|
right: "right";
|
|
336
|
+
center: "center";
|
|
337
337
|
justify: "justify";
|
|
338
338
|
}>>;
|
|
339
339
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -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
|
-
center: "center";
|
|
491
490
|
right: "right";
|
|
491
|
+
center: "center";
|
|
492
492
|
justify: "justify";
|
|
493
493
|
}>>;
|
|
494
494
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -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
|
-
center: "center";
|
|
705
704
|
right: "right";
|
|
705
|
+
center: "center";
|
|
706
706
|
justify: "justify";
|
|
707
707
|
}>>;
|
|
708
708
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -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
|
-
center: "center";
|
|
1542
1541
|
right: "right";
|
|
1542
|
+
center: "center";
|
|
1543
1543
|
justify: "justify";
|
|
1544
1544
|
}>>;
|
|
1545
1545
|
verticalAlignment: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1648,7 +1648,6 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1648
1648
|
floatPosition: z.ZodOptional<z.ZodObject<{
|
|
1649
1649
|
horizontal: z.ZodUnion<readonly [z.ZodObject<{
|
|
1650
1650
|
relativeTo: z.ZodEnum<{
|
|
1651
|
-
frame: "frame";
|
|
1652
1651
|
paragraph: "paragraph";
|
|
1653
1652
|
page: "page";
|
|
1654
1653
|
margin: "margin";
|
|
@@ -1661,11 +1660,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1661
1660
|
column: "column";
|
|
1662
1661
|
character: "character";
|
|
1663
1662
|
line: "line";
|
|
1663
|
+
frame: "frame";
|
|
1664
1664
|
}>;
|
|
1665
1665
|
offsetPt: z.ZodNumber;
|
|
1666
1666
|
}, z.core.$strict>, z.ZodObject<{
|
|
1667
1667
|
relativeTo: z.ZodEnum<{
|
|
1668
|
-
frame: "frame";
|
|
1669
1668
|
paragraph: "paragraph";
|
|
1670
1669
|
page: "page";
|
|
1671
1670
|
margin: "margin";
|
|
@@ -1678,20 +1677,20 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1678
1677
|
column: "column";
|
|
1679
1678
|
character: "character";
|
|
1680
1679
|
line: "line";
|
|
1680
|
+
frame: "frame";
|
|
1681
1681
|
}>;
|
|
1682
1682
|
align: z.ZodEnum<{
|
|
1683
1683
|
left: "left";
|
|
1684
|
-
center: "center";
|
|
1685
1684
|
right: "right";
|
|
1686
1685
|
top: "top";
|
|
1687
1686
|
bottom: "bottom";
|
|
1687
|
+
center: "center";
|
|
1688
1688
|
inside: "inside";
|
|
1689
1689
|
outside: "outside";
|
|
1690
1690
|
}>;
|
|
1691
1691
|
}, z.core.$strict>]>;
|
|
1692
1692
|
vertical: z.ZodUnion<readonly [z.ZodObject<{
|
|
1693
1693
|
relativeTo: z.ZodEnum<{
|
|
1694
|
-
frame: "frame";
|
|
1695
1694
|
paragraph: "paragraph";
|
|
1696
1695
|
page: "page";
|
|
1697
1696
|
margin: "margin";
|
|
@@ -1704,11 +1703,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1704
1703
|
column: "column";
|
|
1705
1704
|
character: "character";
|
|
1706
1705
|
line: "line";
|
|
1706
|
+
frame: "frame";
|
|
1707
1707
|
}>;
|
|
1708
1708
|
offsetPt: z.ZodNumber;
|
|
1709
1709
|
}, z.core.$strict>, z.ZodObject<{
|
|
1710
1710
|
relativeTo: z.ZodEnum<{
|
|
1711
|
-
frame: "frame";
|
|
1712
1711
|
paragraph: "paragraph";
|
|
1713
1712
|
page: "page";
|
|
1714
1713
|
margin: "margin";
|
|
@@ -1721,13 +1720,14 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1721
1720
|
column: "column";
|
|
1722
1721
|
character: "character";
|
|
1723
1722
|
line: "line";
|
|
1723
|
+
frame: "frame";
|
|
1724
1724
|
}>;
|
|
1725
1725
|
align: z.ZodEnum<{
|
|
1726
1726
|
left: "left";
|
|
1727
|
-
center: "center";
|
|
1728
1727
|
right: "right";
|
|
1729
1728
|
top: "top";
|
|
1730
1729
|
bottom: "bottom";
|
|
1730
|
+
center: "center";
|
|
1731
1731
|
inside: "inside";
|
|
1732
1732
|
outside: "outside";
|
|
1733
1733
|
}>;
|
|
@@ -1816,9 +1816,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1816
1816
|
endColumn: z.ZodNumber;
|
|
1817
1817
|
}, z.core.$strip>>;
|
|
1818
1818
|
type: z.ZodEnum<{
|
|
1819
|
+
decimal: "decimal";
|
|
1819
1820
|
date: "date";
|
|
1820
1821
|
custom: "custom";
|
|
1821
|
-
decimal: "decimal";
|
|
1822
1822
|
list: "list";
|
|
1823
1823
|
time: "time";
|
|
1824
1824
|
whole: "whole";
|
|
@@ -2292,8 +2292,8 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
2292
2292
|
value: z.ZodObject<{
|
|
2293
2293
|
type: z.ZodEnum<{
|
|
2294
2294
|
formula: "formula";
|
|
2295
|
-
percent: "percent";
|
|
2296
2295
|
num: "num";
|
|
2296
|
+
percent: "percent";
|
|
2297
2297
|
max: "max";
|
|
2298
2298
|
min: "min";
|
|
2299
2299
|
percentile: "percentile";
|
|
@@ -2339,8 +2339,8 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
2339
2339
|
min: z.ZodObject<{
|
|
2340
2340
|
type: z.ZodEnum<{
|
|
2341
2341
|
formula: "formula";
|
|
2342
|
-
percent: "percent";
|
|
2343
2342
|
num: "num";
|
|
2343
|
+
percent: "percent";
|
|
2344
2344
|
max: "max";
|
|
2345
2345
|
min: "min";
|
|
2346
2346
|
percentile: "percentile";
|
|
@@ -2350,8 +2350,8 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
2350
2350
|
max: z.ZodObject<{
|
|
2351
2351
|
type: z.ZodEnum<{
|
|
2352
2352
|
formula: "formula";
|
|
2353
|
-
percent: "percent";
|
|
2354
2353
|
num: "num";
|
|
2354
|
+
percent: "percent";
|
|
2355
2355
|
max: "max";
|
|
2356
2356
|
min: "min";
|
|
2357
2357
|
percentile: "percentile";
|
|
@@ -2398,8 +2398,8 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
2398
2398
|
thresholds: z.ZodArray<z.ZodObject<{
|
|
2399
2399
|
type: z.ZodEnum<{
|
|
2400
2400
|
formula: "formula";
|
|
2401
|
-
percent: "percent";
|
|
2402
2401
|
num: "num";
|
|
2402
|
+
percent: "percent";
|
|
2403
2403
|
max: "max";
|
|
2404
2404
|
min: "min";
|
|
2405
2405
|
percentile: "percentile";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mrkdwn.js",
|
|
3
|
-
"version": "11.2.
|
|
3
|
+
"version": "11.2.4",
|
|
4
4
|
"description": "Hand-written CommonMark+GFM <-> DocumentTree codec, built on document-schema.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
],
|
|
57
57
|
"license": "MIT",
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"byte-codec": "2.1.
|
|
60
|
-
"document-schema.js": "7.16.
|
|
59
|
+
"byte-codec": "2.1.1",
|
|
60
|
+
"document-schema.js": "7.16.4",
|
|
61
61
|
"zod": "4.4.3"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|