@mulmoclaude/markdown-utils 3.0.0 → 3.0.1
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/image/resolve.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getImageBump } from "./cacheBust";
|
|
1
|
+
import { getImageBump } from "./cacheBust.js";
|
|
2
2
|
// Host-configurable base URL for the workspace file server (workspace-
|
|
3
3
|
// relative image paths that aren't under the `artifacts/images/` static
|
|
4
4
|
// mount resolve through here). Defaults to MulmoClaude's route; other
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { marked } from "marked";
|
|
2
|
-
import { resolveImageSrc } from "./resolve";
|
|
3
|
-
import { transformResolvableUrlsInHtml } from "./htmlSrcAttrs";
|
|
2
|
+
import { resolveImageSrc } from "./resolve.js";
|
|
3
|
+
import { transformResolvableUrlsInHtml } from "./htmlSrcAttrs.js";
|
|
4
4
|
// Pre-`marked` pass that rewrites workspace-relative image references
|
|
5
5
|
// in markdown source so they render through the backend file server.
|
|
6
6
|
//
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
// (preview iframe sizing, PDF page dimensions) reads the new viewBox
|
|
15
15
|
// and Just Works.
|
|
16
16
|
import { dump as yamlDump } from "js-yaml";
|
|
17
|
-
import { parseFrontmatter } from "./frontmatter";
|
|
17
|
+
import { parseFrontmatter } from "./frontmatter.js";
|
|
18
18
|
// Sensible canvas defaults for the aspect-ratio shorthand. Picked at
|
|
19
19
|
// 1080-line resolution so portrait/wide decks stay print-quality.
|
|
20
20
|
const ASPECT_PRESETS = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mulmoclaude/markdown-utils",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"description": "Browser-safe markdown / image rendering utilities shared by the MulmoClaude host and the markdown plugin",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"scripts": {
|
|
27
27
|
"build": "tsc",
|
|
28
28
|
"prepack": "yarn build",
|
|
29
|
-
"typecheck": "tsc
|
|
29
|
+
"typecheck": "tsc -p tsconfig.typecheck.json",
|
|
30
30
|
"test": "tsx --test test/test_*.ts",
|
|
31
31
|
"lint": "eslint src test"
|
|
32
32
|
},
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@mulmoclaude/common": "^1.3.0",
|
|
37
37
|
"dompurify": "^3.4.15",
|
|
38
38
|
"js-yaml": "^5.4.2",
|
|
39
|
-
"marked": "^18.0.
|
|
39
|
+
"marked": "^18.0.14"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"mathjax-full": "^3.2.2",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"mathjax-full": "^3.2.2",
|
|
48
48
|
"mermaid": "^12.0.0",
|
|
49
49
|
"typescript": "^6.0.3",
|
|
50
|
-
"vue": "^3.5.
|
|
50
|
+
"vue": "^3.5.43"
|
|
51
51
|
},
|
|
52
52
|
"homepage": "https://github.com/receptron/mulmoclaude/tree/main/packages/markdown-utils#readme",
|
|
53
53
|
"repository": {
|