markdown-codec 5.0.0 → 5.0.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 +10 -0
- package/dist/codec.d.ts +10 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -237,7 +237,7 @@ Every non-passing example is named individually in `src/test-support/conformance
|
|
|
237
237
|
|
|
238
238
|
## Release and publishing
|
|
239
239
|
|
|
240
|
-
Release, CI, and commit-message conventions are all workspace-wide, not package-local — see the [monorepo root README](../../README.md#releases) for the mechanism (topological per-package `semantic-release` via `@exadev/semantic-release-workspace`, OIDC trusted npm publishing, automatic sibling dependency-range rewriting) and its [
|
|
240
|
+
Release, CI, and commit-message conventions are all workspace-wide, not package-local — see the [monorepo root README](../../README.md#releases) for the mechanism (topological per-package `semantic-release` via `@exadev/semantic-release-workspace`, OIDC trusted npm publishing, automatic sibling dependency-range rewriting) and its [post-release republishing and attestation](../../README.md#releases) note on the restored GitHub Packages mirrors, npm aliases, and SBOM/provenance signing.
|
|
241
241
|
|
|
242
242
|
## Contributing
|
|
243
243
|
|
package/dist/codec.d.cts
CHANGED
|
@@ -26,6 +26,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
|
|
|
26
26
|
lineSpacing: z.ZodOptional<z.ZodNumber>;
|
|
27
27
|
indentLeftPt: z.ZodOptional<z.ZodNumber>;
|
|
28
28
|
indentFirstLinePt: z.ZodOptional<z.ZodNumber>;
|
|
29
|
+
pageBreakBefore: z.ZodOptional<z.ZodBoolean>;
|
|
30
|
+
pageBreakAfter: z.ZodOptional<z.ZodBoolean>;
|
|
29
31
|
}, z.core.$strict>>;
|
|
30
32
|
run: z.ZodOptional<z.ZodObject<{
|
|
31
33
|
bold: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -150,6 +152,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
|
|
|
150
152
|
lineSpacing: z.ZodOptional<z.ZodNumber>;
|
|
151
153
|
indentLeftPt: z.ZodOptional<z.ZodNumber>;
|
|
152
154
|
indentFirstLinePt: z.ZodOptional<z.ZodNumber>;
|
|
155
|
+
pageBreakBefore: z.ZodOptional<z.ZodBoolean>;
|
|
156
|
+
pageBreakAfter: z.ZodOptional<z.ZodBoolean>;
|
|
153
157
|
}, z.core.$strict>>;
|
|
154
158
|
run: z.ZodOptional<z.ZodObject<{
|
|
155
159
|
bold: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -274,6 +278,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
|
|
|
274
278
|
lineSpacing: z.ZodOptional<z.ZodNumber>;
|
|
275
279
|
indentLeftPt: z.ZodOptional<z.ZodNumber>;
|
|
276
280
|
indentFirstLinePt: z.ZodOptional<z.ZodNumber>;
|
|
281
|
+
pageBreakBefore: z.ZodOptional<z.ZodBoolean>;
|
|
282
|
+
pageBreakAfter: z.ZodOptional<z.ZodBoolean>;
|
|
277
283
|
}, z.core.$strict>>;
|
|
278
284
|
run: z.ZodOptional<z.ZodObject<{
|
|
279
285
|
bold: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -398,6 +404,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
|
|
|
398
404
|
lineSpacing: z.ZodOptional<z.ZodNumber>;
|
|
399
405
|
indentLeftPt: z.ZodOptional<z.ZodNumber>;
|
|
400
406
|
indentFirstLinePt: z.ZodOptional<z.ZodNumber>;
|
|
407
|
+
pageBreakBefore: z.ZodOptional<z.ZodBoolean>;
|
|
408
|
+
pageBreakAfter: z.ZodOptional<z.ZodBoolean>;
|
|
401
409
|
}, z.core.$strict>>;
|
|
402
410
|
run: z.ZodOptional<z.ZodObject<{
|
|
403
411
|
bold: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -551,6 +559,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
|
|
|
551
559
|
lineSpacing: z.ZodOptional<z.ZodNumber>;
|
|
552
560
|
indentLeftPt: z.ZodOptional<z.ZodNumber>;
|
|
553
561
|
indentFirstLinePt: z.ZodOptional<z.ZodNumber>;
|
|
562
|
+
pageBreakBefore: z.ZodOptional<z.ZodBoolean>;
|
|
563
|
+
pageBreakAfter: z.ZodOptional<z.ZodBoolean>;
|
|
554
564
|
}, z.core.$strict>>;
|
|
555
565
|
run: z.ZodOptional<z.ZodObject<{
|
|
556
566
|
bold: z.ZodOptional<z.ZodBoolean>;
|
package/dist/codec.d.ts
CHANGED
|
@@ -26,6 +26,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
|
|
|
26
26
|
lineSpacing: z.ZodOptional<z.ZodNumber>;
|
|
27
27
|
indentLeftPt: z.ZodOptional<z.ZodNumber>;
|
|
28
28
|
indentFirstLinePt: z.ZodOptional<z.ZodNumber>;
|
|
29
|
+
pageBreakBefore: z.ZodOptional<z.ZodBoolean>;
|
|
30
|
+
pageBreakAfter: z.ZodOptional<z.ZodBoolean>;
|
|
29
31
|
}, z.core.$strict>>;
|
|
30
32
|
run: z.ZodOptional<z.ZodObject<{
|
|
31
33
|
bold: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -150,6 +152,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
|
|
|
150
152
|
lineSpacing: z.ZodOptional<z.ZodNumber>;
|
|
151
153
|
indentLeftPt: z.ZodOptional<z.ZodNumber>;
|
|
152
154
|
indentFirstLinePt: z.ZodOptional<z.ZodNumber>;
|
|
155
|
+
pageBreakBefore: z.ZodOptional<z.ZodBoolean>;
|
|
156
|
+
pageBreakAfter: z.ZodOptional<z.ZodBoolean>;
|
|
153
157
|
}, z.core.$strict>>;
|
|
154
158
|
run: z.ZodOptional<z.ZodObject<{
|
|
155
159
|
bold: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -274,6 +278,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
|
|
|
274
278
|
lineSpacing: z.ZodOptional<z.ZodNumber>;
|
|
275
279
|
indentLeftPt: z.ZodOptional<z.ZodNumber>;
|
|
276
280
|
indentFirstLinePt: z.ZodOptional<z.ZodNumber>;
|
|
281
|
+
pageBreakBefore: z.ZodOptional<z.ZodBoolean>;
|
|
282
|
+
pageBreakAfter: z.ZodOptional<z.ZodBoolean>;
|
|
277
283
|
}, z.core.$strict>>;
|
|
278
284
|
run: z.ZodOptional<z.ZodObject<{
|
|
279
285
|
bold: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -398,6 +404,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
|
|
|
398
404
|
lineSpacing: z.ZodOptional<z.ZodNumber>;
|
|
399
405
|
indentLeftPt: z.ZodOptional<z.ZodNumber>;
|
|
400
406
|
indentFirstLinePt: z.ZodOptional<z.ZodNumber>;
|
|
407
|
+
pageBreakBefore: z.ZodOptional<z.ZodBoolean>;
|
|
408
|
+
pageBreakAfter: z.ZodOptional<z.ZodBoolean>;
|
|
401
409
|
}, z.core.$strict>>;
|
|
402
410
|
run: z.ZodOptional<z.ZodObject<{
|
|
403
411
|
bold: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -551,6 +559,8 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
|
|
|
551
559
|
lineSpacing: z.ZodOptional<z.ZodNumber>;
|
|
552
560
|
indentLeftPt: z.ZodOptional<z.ZodNumber>;
|
|
553
561
|
indentFirstLinePt: z.ZodOptional<z.ZodNumber>;
|
|
562
|
+
pageBreakBefore: z.ZodOptional<z.ZodBoolean>;
|
|
563
|
+
pageBreakAfter: z.ZodOptional<z.ZodBoolean>;
|
|
554
564
|
}, z.core.$strict>>;
|
|
555
565
|
run: z.ZodOptional<z.ZodObject<{
|
|
556
566
|
bold: z.ZodOptional<z.ZodBoolean>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "markdown-codec",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.2",
|
|
4
4
|
"description": "Hand-written CommonMark+GFM <-> DocumentPackage codec, built on document-schema.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"license": "MIT",
|
|
82
82
|
"packageManager": "pnpm@11.6.0",
|
|
83
83
|
"dependencies": {
|
|
84
|
-
"document-schema.js": "^4.
|
|
84
|
+
"document-schema.js": "^4.9.1",
|
|
85
85
|
"zod": "^4.4.3"
|
|
86
86
|
},
|
|
87
87
|
"devDependencies": {
|