@takazudo/zudo-doc 5.26.0 → 5.26.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/CHANGELOG.md +12 -0
- package/dist/home-intro/prepare.js +2 -1
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,18 @@ The format is based on Keep a Changelog, and release notes are generated from th
|
|
|
8
8
|
|
|
9
9
|
No unreleased changes.
|
|
10
10
|
|
|
11
|
+
## [5.26.2] - 2026-09-20
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
- Homepage introductions now accept ordinary inline colon tokens such as `09:30`, `3:1`, and `word:word` without escaping. Actual directives and other unsupported Markdown constructs remain rejected. (1106bd884)
|
|
16
|
+
|
|
17
|
+
## [5.26.1] - 2026-09-20
|
|
18
|
+
|
|
19
|
+
### Other Changes
|
|
20
|
+
|
|
21
|
+
- The `@takazudo/zfb`, `@takazudo/zfb-runtime`, and `@takazudo/zfb-md-wasm` peer dependency floors are now `^2.20.0`. zfb 2.20 narrows `allocate_build_tempdir` error context while preserving bundler error text byte-for-byte; the runtime has no package-specific change, and md-wasm moves its over-ceiling build opt-in from an environment variable to `--allow-over-ceiling` without changing artifact sizes. No zudo-doc config migration is required. (684014b4d)
|
|
22
|
+
|
|
11
23
|
## [5.26.0] - 2026-09-20
|
|
12
24
|
|
|
13
25
|
### Features
|
|
@@ -22,6 +22,7 @@ function resolveIntroUrl(value, settings, locale, image = false) {
|
|
|
22
22
|
return url;
|
|
23
23
|
}
|
|
24
24
|
function inspect(node, settings, locale, source = "") {
|
|
25
|
+
if (node.type === "textDirective" && source.slice(node.position.start.offset, node.position.end.offset) === `:${node.name}` && /[\p{L}\p{N}\p{M}_]$/u.test(source.slice(0, node.position.start.offset))) return;
|
|
25
26
|
if (node.type === "mdxTextExpression" && (source.slice(node.position.end.offset, node.position.end.offset + 2) === "^{" || source[node.position.start.offset - 1] === "^")) return;
|
|
26
27
|
if (node.type === "html" || node.type.startsWith("mdx") || node.type === "yaml" || node.type.endsWith("Directive")) {
|
|
27
28
|
throw new Error(`home.introMarkdown: unsupported ${node.type} at line ${node.position.start.line}; use plain Markdown, without HTML, JSX, imports, frontmatter or directives`);
|
|
@@ -68,7 +69,7 @@ async function prepareHomeIntro(source, settings, locale) {
|
|
|
68
69
|
});
|
|
69
70
|
const parsed = await parseToAst(source, { dialect: "markdown", directives: true, frontmatter: "node" });
|
|
70
71
|
if (!parsed.ast) throw new Error(`home.introMarkdown: ${parsed.diagnostics.map((d) => d.message).join("; ")}`);
|
|
71
|
-
inspect(parsed.ast, settings, locale);
|
|
72
|
+
inspect(parsed.ast, settings, locale, source);
|
|
72
73
|
const mdx = await parseToAst(source, { dialect: "mdx", frontmatter: "none" });
|
|
73
74
|
if (mdx.ast) inspect(mdx.ast, settings, locale, source);
|
|
74
75
|
const features = buildMarkdownFeatures(settings, {});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@takazudo/zudo-doc",
|
|
3
|
-
"version": "5.26.
|
|
3
|
+
"version": "5.26.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "zudo-doc framework primitives layer that sits on top of zfb's engine — sidebar, theme, TOC, breadcrumb, layouts, head injection, View Transitions, SSR-skip wrappers (per ADR-003).",
|
|
6
6
|
"license": "MIT",
|
|
@@ -717,9 +717,9 @@
|
|
|
717
717
|
],
|
|
718
718
|
"peerDependencies": {
|
|
719
719
|
"@takazudo/zdtp": "^0.5.2 || ^0.6.0 || ^0.7.0 || ^0.8.0",
|
|
720
|
-
"@takazudo/zfb": "^2.
|
|
721
|
-
"@takazudo/zfb-md-wasm": "^2.
|
|
722
|
-
"@takazudo/zfb-runtime": "^2.
|
|
720
|
+
"@takazudo/zfb": "^2.20.0",
|
|
721
|
+
"@takazudo/zfb-md-wasm": "^2.20.0",
|
|
722
|
+
"@takazudo/zfb-runtime": "^2.20.0",
|
|
723
723
|
"@takazudo/zudo-doc-history-server": "^5.17.2",
|
|
724
724
|
"diff": "^8.0.0",
|
|
725
725
|
"katex": "^0.16.0",
|
|
@@ -757,9 +757,9 @@
|
|
|
757
757
|
},
|
|
758
758
|
"devDependencies": {
|
|
759
759
|
"@takazudo/mdx-formatter": "1.3.0-next.4",
|
|
760
|
-
"@takazudo/zfb": "2.
|
|
761
|
-
"@takazudo/zfb-md-wasm": "2.
|
|
762
|
-
"@takazudo/zfb-runtime": "2.
|
|
760
|
+
"@takazudo/zfb": "2.20.0",
|
|
761
|
+
"@takazudo/zfb-md-wasm": "2.20.0",
|
|
762
|
+
"@takazudo/zfb-runtime": "2.20.0",
|
|
763
763
|
"@types/fs-extra": "^11.0.4",
|
|
764
764
|
"@types/minimist": "^1.2.5",
|
|
765
765
|
"@types/node": "^25.3.5",
|
|
@@ -771,7 +771,7 @@
|
|
|
771
771
|
"typescript": "^5.0.0",
|
|
772
772
|
"vitest": "^4.1.0",
|
|
773
773
|
"zod": "^4.3.6",
|
|
774
|
-
"@takazudo/zudo-doc-history-server": "5.26.
|
|
774
|
+
"@takazudo/zudo-doc-history-server": "5.26.2"
|
|
775
775
|
},
|
|
776
776
|
"scripts": {
|
|
777
777
|
"gen:search-widget-script": "node scripts/gen-search-widget-script.mjs",
|