markdown-codec 6.6.1 → 6.6.2
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/README.md +1 -1
- package/dist/codec.d.cts +22 -22
- package/dist/codec.d.ts +22 -22
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -277,7 +277,7 @@ This package also published under an alternate name from the pre-monorepo pipeli
|
|
|
277
277
|
|
|
278
278
|
- [mrkdwn.js](https://www.npmjs.com/package/mrkdwn.js)
|
|
279
279
|
|
|
280
|
-
**
|
|
280
|
+
**Republished automatically** — the alias's trusted publisher is registered against this repository and workflow (2026-09-10), so every release from the [backfill run](https://github.com/ExaDev/documents.js/actions/runs/34449796133) onward publishes under this name too; the registration evidence is on [ExaDev/documents.js#728](https://github.com/ExaDev/documents.js/issues/728).
|
|
281
281
|
|
|
282
282
|
## License
|
|
283
283
|
|
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
|
-
center: "center";
|
|
15
14
|
right: "right";
|
|
15
|
+
center: "center";
|
|
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
|
-
center: "center";
|
|
164
163
|
right: "right";
|
|
164
|
+
center: "center";
|
|
165
165
|
justify: "justify";
|
|
166
166
|
}>>;
|
|
167
167
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -309,8 +309,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
|
|
|
309
309
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
310
310
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
311
311
|
left: "left";
|
|
312
|
-
center: "center";
|
|
313
312
|
right: "right";
|
|
313
|
+
center: "center";
|
|
314
314
|
justify: "justify";
|
|
315
315
|
}>>;
|
|
316
316
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -458,8 +458,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
|
|
|
458
458
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
459
459
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
460
460
|
left: "left";
|
|
461
|
-
center: "center";
|
|
462
461
|
right: "right";
|
|
462
|
+
center: "center";
|
|
463
463
|
justify: "justify";
|
|
464
464
|
}>>;
|
|
465
465
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -639,8 +639,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
|
|
|
639
639
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
640
640
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
641
641
|
left: "left";
|
|
642
|
-
center: "center";
|
|
643
642
|
right: "right";
|
|
643
|
+
center: "center";
|
|
644
644
|
justify: "justify";
|
|
645
645
|
}>>;
|
|
646
646
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -1295,8 +1295,8 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1295
1295
|
}, z.core.$strip>>;
|
|
1296
1296
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
1297
1297
|
left: "left";
|
|
1298
|
-
center: "center";
|
|
1299
1298
|
right: "right";
|
|
1299
|
+
center: "center";
|
|
1300
1300
|
justify: "justify";
|
|
1301
1301
|
}>>;
|
|
1302
1302
|
verticalAlignment: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1400,10 +1400,10 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1400
1400
|
}>;
|
|
1401
1401
|
align: z.ZodEnum<{
|
|
1402
1402
|
left: "left";
|
|
1403
|
-
center: "center";
|
|
1404
1403
|
right: "right";
|
|
1405
1404
|
top: "top";
|
|
1406
1405
|
bottom: "bottom";
|
|
1406
|
+
center: "center";
|
|
1407
1407
|
inside: "inside";
|
|
1408
1408
|
outside: "outside";
|
|
1409
1409
|
}>;
|
|
@@ -1443,10 +1443,10 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1443
1443
|
}>;
|
|
1444
1444
|
align: z.ZodEnum<{
|
|
1445
1445
|
left: "left";
|
|
1446
|
-
center: "center";
|
|
1447
1446
|
right: "right";
|
|
1448
1447
|
top: "top";
|
|
1449
1448
|
bottom: "bottom";
|
|
1449
|
+
center: "center";
|
|
1450
1450
|
inside: "inside";
|
|
1451
1451
|
outside: "outside";
|
|
1452
1452
|
}>;
|
|
@@ -1535,10 +1535,10 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1535
1535
|
endColumn: z.ZodNumber;
|
|
1536
1536
|
}, z.core.$strip>>;
|
|
1537
1537
|
type: z.ZodEnum<{
|
|
1538
|
-
decimal: "decimal";
|
|
1539
|
-
list: "list";
|
|
1540
1538
|
date: "date";
|
|
1541
1539
|
custom: "custom";
|
|
1540
|
+
decimal: "decimal";
|
|
1541
|
+
list: "list";
|
|
1542
1542
|
time: "time";
|
|
1543
1543
|
whole: "whole";
|
|
1544
1544
|
textLength: "textLength";
|
|
@@ -2010,11 +2010,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
2010
2010
|
stops: z.ZodArray<z.ZodObject<{
|
|
2011
2011
|
value: z.ZodObject<{
|
|
2012
2012
|
type: z.ZodEnum<{
|
|
2013
|
-
num: "num";
|
|
2014
|
-
min: "min";
|
|
2015
|
-
max: "max";
|
|
2016
2013
|
formula: "formula";
|
|
2017
2014
|
percent: "percent";
|
|
2015
|
+
num: "num";
|
|
2016
|
+
max: "max";
|
|
2017
|
+
min: "min";
|
|
2018
2018
|
percentile: "percentile";
|
|
2019
2019
|
}>;
|
|
2020
2020
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -2057,22 +2057,22 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
2057
2057
|
}, z.core.$strip>, z.ZodObject<{
|
|
2058
2058
|
min: z.ZodObject<{
|
|
2059
2059
|
type: z.ZodEnum<{
|
|
2060
|
-
num: "num";
|
|
2061
|
-
min: "min";
|
|
2062
|
-
max: "max";
|
|
2063
2060
|
formula: "formula";
|
|
2064
2061
|
percent: "percent";
|
|
2062
|
+
num: "num";
|
|
2063
|
+
max: "max";
|
|
2064
|
+
min: "min";
|
|
2065
2065
|
percentile: "percentile";
|
|
2066
2066
|
}>;
|
|
2067
2067
|
value: z.ZodOptional<z.ZodString>;
|
|
2068
2068
|
}, z.core.$strip>;
|
|
2069
2069
|
max: z.ZodObject<{
|
|
2070
2070
|
type: z.ZodEnum<{
|
|
2071
|
-
num: "num";
|
|
2072
|
-
min: "min";
|
|
2073
|
-
max: "max";
|
|
2074
2071
|
formula: "formula";
|
|
2075
2072
|
percent: "percent";
|
|
2073
|
+
num: "num";
|
|
2074
|
+
max: "max";
|
|
2075
|
+
min: "min";
|
|
2076
2076
|
percentile: "percentile";
|
|
2077
2077
|
}>;
|
|
2078
2078
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -2116,11 +2116,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
2116
2116
|
iconSetType: z.ZodString;
|
|
2117
2117
|
thresholds: z.ZodArray<z.ZodObject<{
|
|
2118
2118
|
type: z.ZodEnum<{
|
|
2119
|
-
num: "num";
|
|
2120
|
-
min: "min";
|
|
2121
|
-
max: "max";
|
|
2122
2119
|
formula: "formula";
|
|
2123
2120
|
percent: "percent";
|
|
2121
|
+
num: "num";
|
|
2122
|
+
max: "max";
|
|
2123
|
+
min: "min";
|
|
2124
2124
|
percentile: "percentile";
|
|
2125
2125
|
}>;
|
|
2126
2126
|
value: z.ZodOptional<z.ZodString>;
|
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
|
-
center: "center";
|
|
15
14
|
right: "right";
|
|
15
|
+
center: "center";
|
|
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
|
-
center: "center";
|
|
164
163
|
right: "right";
|
|
164
|
+
center: "center";
|
|
165
165
|
justify: "justify";
|
|
166
166
|
}>>;
|
|
167
167
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -309,8 +309,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
|
|
|
309
309
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
310
310
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
311
311
|
left: "left";
|
|
312
|
-
center: "center";
|
|
313
312
|
right: "right";
|
|
313
|
+
center: "center";
|
|
314
314
|
justify: "justify";
|
|
315
315
|
}>>;
|
|
316
316
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -458,8 +458,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
|
|
|
458
458
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
459
459
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
460
460
|
left: "left";
|
|
461
|
-
center: "center";
|
|
462
461
|
right: "right";
|
|
462
|
+
center: "center";
|
|
463
463
|
justify: "justify";
|
|
464
464
|
}>>;
|
|
465
465
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -639,8 +639,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
|
|
|
639
639
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
640
640
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
641
641
|
left: "left";
|
|
642
|
-
center: "center";
|
|
643
642
|
right: "right";
|
|
643
|
+
center: "center";
|
|
644
644
|
justify: "justify";
|
|
645
645
|
}>>;
|
|
646
646
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -1295,8 +1295,8 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1295
1295
|
}, z.core.$strip>>;
|
|
1296
1296
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
1297
1297
|
left: "left";
|
|
1298
|
-
center: "center";
|
|
1299
1298
|
right: "right";
|
|
1299
|
+
center: "center";
|
|
1300
1300
|
justify: "justify";
|
|
1301
1301
|
}>>;
|
|
1302
1302
|
verticalAlignment: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1400,10 +1400,10 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1400
1400
|
}>;
|
|
1401
1401
|
align: z.ZodEnum<{
|
|
1402
1402
|
left: "left";
|
|
1403
|
-
center: "center";
|
|
1404
1403
|
right: "right";
|
|
1405
1404
|
top: "top";
|
|
1406
1405
|
bottom: "bottom";
|
|
1406
|
+
center: "center";
|
|
1407
1407
|
inside: "inside";
|
|
1408
1408
|
outside: "outside";
|
|
1409
1409
|
}>;
|
|
@@ -1443,10 +1443,10 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1443
1443
|
}>;
|
|
1444
1444
|
align: z.ZodEnum<{
|
|
1445
1445
|
left: "left";
|
|
1446
|
-
center: "center";
|
|
1447
1446
|
right: "right";
|
|
1448
1447
|
top: "top";
|
|
1449
1448
|
bottom: "bottom";
|
|
1449
|
+
center: "center";
|
|
1450
1450
|
inside: "inside";
|
|
1451
1451
|
outside: "outside";
|
|
1452
1452
|
}>;
|
|
@@ -1535,10 +1535,10 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
1535
1535
|
endColumn: z.ZodNumber;
|
|
1536
1536
|
}, z.core.$strip>>;
|
|
1537
1537
|
type: z.ZodEnum<{
|
|
1538
|
-
decimal: "decimal";
|
|
1539
|
-
list: "list";
|
|
1540
1538
|
date: "date";
|
|
1541
1539
|
custom: "custom";
|
|
1540
|
+
decimal: "decimal";
|
|
1541
|
+
list: "list";
|
|
1542
1542
|
time: "time";
|
|
1543
1543
|
whole: "whole";
|
|
1544
1544
|
textLength: "textLength";
|
|
@@ -2010,11 +2010,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
2010
2010
|
stops: z.ZodArray<z.ZodObject<{
|
|
2011
2011
|
value: z.ZodObject<{
|
|
2012
2012
|
type: z.ZodEnum<{
|
|
2013
|
-
num: "num";
|
|
2014
|
-
min: "min";
|
|
2015
|
-
max: "max";
|
|
2016
2013
|
formula: "formula";
|
|
2017
2014
|
percent: "percent";
|
|
2015
|
+
num: "num";
|
|
2016
|
+
max: "max";
|
|
2017
|
+
min: "min";
|
|
2018
2018
|
percentile: "percentile";
|
|
2019
2019
|
}>;
|
|
2020
2020
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -2057,22 +2057,22 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
2057
2057
|
}, z.core.$strip>, z.ZodObject<{
|
|
2058
2058
|
min: z.ZodObject<{
|
|
2059
2059
|
type: z.ZodEnum<{
|
|
2060
|
-
num: "num";
|
|
2061
|
-
min: "min";
|
|
2062
|
-
max: "max";
|
|
2063
2060
|
formula: "formula";
|
|
2064
2061
|
percent: "percent";
|
|
2062
|
+
num: "num";
|
|
2063
|
+
max: "max";
|
|
2064
|
+
min: "min";
|
|
2065
2065
|
percentile: "percentile";
|
|
2066
2066
|
}>;
|
|
2067
2067
|
value: z.ZodOptional<z.ZodString>;
|
|
2068
2068
|
}, z.core.$strip>;
|
|
2069
2069
|
max: z.ZodObject<{
|
|
2070
2070
|
type: z.ZodEnum<{
|
|
2071
|
-
num: "num";
|
|
2072
|
-
min: "min";
|
|
2073
|
-
max: "max";
|
|
2074
2071
|
formula: "formula";
|
|
2075
2072
|
percent: "percent";
|
|
2073
|
+
num: "num";
|
|
2074
|
+
max: "max";
|
|
2075
|
+
min: "min";
|
|
2076
2076
|
percentile: "percentile";
|
|
2077
2077
|
}>;
|
|
2078
2078
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -2116,11 +2116,11 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
2116
2116
|
iconSetType: z.ZodString;
|
|
2117
2117
|
thresholds: z.ZodArray<z.ZodObject<{
|
|
2118
2118
|
type: z.ZodEnum<{
|
|
2119
|
-
num: "num";
|
|
2120
|
-
min: "min";
|
|
2121
|
-
max: "max";
|
|
2122
2119
|
formula: "formula";
|
|
2123
2120
|
percent: "percent";
|
|
2121
|
+
num: "num";
|
|
2122
|
+
max: "max";
|
|
2123
|
+
min: "min";
|
|
2124
2124
|
percentile: "percentile";
|
|
2125
2125
|
}>;
|
|
2126
2126
|
value: z.ZodOptional<z.ZodString>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "markdown-codec",
|
|
3
|
-
"version": "6.6.
|
|
3
|
+
"version": "6.6.2",
|
|
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@11.6.0",
|
|
85
85
|
"dependencies": {
|
|
86
|
-
"document-schema.js": "7.6.
|
|
86
|
+
"document-schema.js": "7.6.1",
|
|
87
87
|
"zod": "4.4.3"
|
|
88
88
|
},
|
|
89
89
|
"devDependencies": {
|