Files
gstack/lib/diagram-render/package.json
T
garrytanandcapy-ai[bot] 54d5763cdf fix(deps): clear the OSV suppressions that expire on 2026-11-30
Delete the hono, @anthropic-ai/sdk (#2754) and sprintf-js ignores, which the
lockfiles no longer match. Override image-size to 2.0.4 (#2753) and chokidar
to 4.0.3 in lib/diagram-render (drops braces), and delete those ignores.
Re-date katex to 2027-01-31: its fix is outside mermaid 11's range
(mermaid-js/mermaid#8388).

html-to-docx 1.8.0 bundles its own image-size 1.x, which the override cannot
reach and whose ICNS parser loops forever. make-pdf --to docx now hands it
only PNG, JPEG, GIF, WebP or SVG bytes. A golden docx test proves the Word
output is unchanged.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-10-17 04:20:54 +00:00

24 lines
740 B
JSON

{
"name": "@gstack/diagram-render",
"private": true,
"type": "module",
"description": "Offline diagram-render bundle: mermaid + excalidraw export + mermaid-to-excalidraw, built into a single self-contained HTML page loaded by the browse daemon. Versions are exact-pinned; bump them only via scripts/build.ts (see README.md).",
"scripts": {
"build": "bun run scripts/build.ts"
},
"dependencies": {
"@excalidraw/excalidraw": "0.18.1",
"@excalidraw/mermaid-to-excalidraw": "2.2.2",
"mermaid": "11.16.1",
"react": "18.3.1",
"react-dom": "18.3.1"
},
"overrides": {
"chokidar": "4.0.3",
"dompurify": "3.4.16",
"nanoid": "5.1.16",
"source-map-js": "1.2.2",
"lodash-es": "4.18.1"
}
}