markdown-codec 6.6.0 → 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 +10 -0
- package/dist/codec.d.ts +10 -0
- 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
|
@@ -798,6 +798,16 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
798
798
|
evenPage: "evenPage";
|
|
799
799
|
oddPage: "oddPage";
|
|
800
800
|
}>>;
|
|
801
|
+
headers: z.ZodOptional<z.ZodObject<{
|
|
802
|
+
default: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock, z.core.$ZodTypeInternals<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>>>>;
|
|
803
|
+
even: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock, z.core.$ZodTypeInternals<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>>>>;
|
|
804
|
+
first: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock, z.core.$ZodTypeInternals<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>>>>;
|
|
805
|
+
}, z.core.$strip>>;
|
|
806
|
+
footers: z.ZodOptional<z.ZodObject<{
|
|
807
|
+
default: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock, z.core.$ZodTypeInternals<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>>>>;
|
|
808
|
+
even: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock, z.core.$ZodTypeInternals<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>>>>;
|
|
809
|
+
first: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock, z.core.$ZodTypeInternals<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>>>>;
|
|
810
|
+
}, z.core.$strip>>;
|
|
801
811
|
source: z.ZodOptional<z.ZodObject<{
|
|
802
812
|
format: z.ZodEnum<{
|
|
803
813
|
docx: "docx";
|
package/dist/codec.d.ts
CHANGED
|
@@ -798,6 +798,16 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
|
|
|
798
798
|
evenPage: "evenPage";
|
|
799
799
|
oddPage: "oddPage";
|
|
800
800
|
}>>;
|
|
801
|
+
headers: z.ZodOptional<z.ZodObject<{
|
|
802
|
+
default: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock, z.core.$ZodTypeInternals<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>>>>;
|
|
803
|
+
even: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock, z.core.$ZodTypeInternals<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>>>>;
|
|
804
|
+
first: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock, z.core.$ZodTypeInternals<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>>>>;
|
|
805
|
+
}, z.core.$strip>>;
|
|
806
|
+
footers: z.ZodOptional<z.ZodObject<{
|
|
807
|
+
default: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock, z.core.$ZodTypeInternals<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>>>>;
|
|
808
|
+
even: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock, z.core.$ZodTypeInternals<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>>>>;
|
|
809
|
+
first: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock, z.core.$ZodTypeInternals<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>>>>;
|
|
810
|
+
}, z.core.$strip>>;
|
|
801
811
|
source: z.ZodOptional<z.ZodObject<{
|
|
802
812
|
format: z.ZodEnum<{
|
|
803
813
|
docx: "docx";
|
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.
|
|
86
|
+
"document-schema.js": "7.6.1",
|
|
87
87
|
"zod": "4.4.3"
|
|
88
88
|
},
|
|
89
89
|
"devDependencies": {
|