mirror of
https://github.com/garrytan/gstack.git
synced 2026-06-24 02:29:59 +02:00
a311cb1ec5
Single self-contained page (dist/diagram-render.html, 9.2MB, committed per eng-review D2) exposing __renderMermaid / __mermaidToExcalidraw / __excalidrawToSvg / __rasterize / __probeImage through browse load-html + js --out. Render contract per D3: securityLevel strict, per-fence ids, print-css font lock, htmlLabels off (canvas-taint-safe). Deterministic build (same sha twice); drift test pins dist == BUILD_INFO == package.json pins and rebuild-reproducibility when toolchain matches. Spike-proven offline: flowchart + sequence SVG, editable .excalidraw scene, 300dpi PNG. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
945 B
945 B
Third-party licenses — diagram-render bundle
dist/diagram-render.html bundles the following packages (exact pins in
package.json; transitive dependencies resolved via bun.lock):
| Package | Version | License | Source |
|---|---|---|---|
| mermaid | 11.12.2 | MIT | https://github.com/mermaid-js/mermaid |
| @excalidraw/excalidraw | 0.18.0 | MIT | https://github.com/excalidraw/excalidraw |
| @excalidraw/mermaid-to-excalidraw | 1.1.2 | MIT | https://github.com/excalidraw/mermaid-to-excalidraw |
| react | 18.3.1 | MIT | https://github.com/facebook/react |
| react-dom | 18.3.1 | MIT | https://github.com/facebook/react |
The bundle also embeds fonts shipped inside @excalidraw/excalidraw (Excalifont and related faces), licensed under the SIL Open Font License 1.1 per the excalidraw repository.
When bumping a pin, re-verify its license field (bun pm ls or the package's
LICENSE file) and update this table in the same commit.