@mermanjs/node-wasm 0.10.0-alpha.1 → 0.10.0
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 +54 -2
- package/README.md +28 -15
- package/THIRD_PARTY_LICENSES/d3-path/LICENSE +13 -0
- package/THIRD_PARTY_LICENSES/eclipse-elk/LICENSE.md +1 -2
- package/THIRD_PARTY_LICENSES/elkjs/LICENSE.md +1 -2
- package/THIRD_PARTY_LICENSES/rust-cargo-dependencies.json +91 -162
- package/THIRD_PARTY_NOTICES.md +57 -39
- package/artifact/merman_node.cjs +53 -44
- package/artifact/merman_node_bg.wasm +0 -0
- package/dist/engine.mjs +50 -137
- package/dist/errors.mjs +52 -20
- package/dist/generated/binding-contract.mjs +8 -1
- package/dist/index.d.ts +127 -0
- package/package.json +1 -1
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
Merman is an independent, headless Rust implementation of Mermaid-compatible behavior. It
|
|
6
6
|
is not affiliated with or endorsed by Mermaid or the projects listed below.
|
|
7
7
|
|
|
8
|
-
The machine-readable source of truth is [`docs/release/THIRD_PARTY_COMPONENTS.json`](docs/release/THIRD_PARTY_COMPONENTS.json).
|
|
8
|
+
The machine-readable source of truth is [`docs/release/THIRD_PARTY_COMPONENTS.json`](https://github.com/Latias94/merman/blob/main/docs/release/THIRD_PARTY_COMPONENTS.json).
|
|
9
9
|
It records exact source revisions, local relationships, artifact scopes, and SHA-256-bound
|
|
10
10
|
license or notice files. This inventory is engineering evidence, not legal advice.
|
|
11
11
|
|
|
@@ -21,79 +21,79 @@ Components: `beautiful-mermaid`, `mermaid`, `mermaid-ascii`, `mermaid-rs-rendere
|
|
|
21
21
|
|
|
22
22
|
The source-default CLI feature closure including ELK without RaTeX math/font support.
|
|
23
23
|
|
|
24
|
-
Components: `cose-base-v1`, `cose-base-v2`, `cytoscape`, `cytoscape-cose-bilkent`, `cytoscape-fcose`, `d3-shape`, `dagre`, `dompurify`, `eclipse-elk`, `elkjs`, `fmin`, `graphlib`, `layout-base-v1`, `layout-base-v2`, `mermaid`, `non-layered-tidy-tree-layout`, `rough-rs`, `roughjs`, `roxmltree-dom`, `sanitize-url`, `unicode-linebreak`, `venn-js`, `zenuml-core`.
|
|
24
|
+
Components: `cose-base-v1`, `cose-base-v2`, `cytoscape`, `cytoscape-cose-bilkent`, `cytoscape-fcose`, `d3-path`, `d3-shape`, `dagre`, `dompurify`, `eclipse-elk`, `elkjs`, `fmin`, `graphlib`, `layout-base-v1`, `layout-base-v2`, `mermaid`, `non-layered-tidy-tree-layout`, `rough-rs`, `roughjs`, `roxmltree-dom`, `sanitize-url`, `unicode-linebreak`, `venn-js`, `zenuml-core`.
|
|
25
25
|
|
|
26
26
|
### `cli-release`
|
|
27
27
|
|
|
28
28
|
The published complete CLI release closure, including explicit ELK and RaTeX math/font support.
|
|
29
29
|
|
|
30
|
-
Components: `cose-base-v1`, `cose-base-v2`, `cytoscape`, `cytoscape-cose-bilkent`, `cytoscape-fcose`, `d3-shape`, `dagre`, `dompurify`, `eclipse-elk`, `elkjs`, `fmin`, `graphlib`, `katex-fonts`, `layout-base-v1`, `layout-base-v2`, `mermaid`, `non-layered-tidy-tree-layout`, `ratex`, `rough-rs`, `roughjs`, `roxmltree-dom`, `sanitize-url`, `unicode-linebreak`, `venn-js`, `zenuml-core`.
|
|
30
|
+
Components: `cose-base-v1`, `cose-base-v2`, `cytoscape`, `cytoscape-cose-bilkent`, `cytoscape-fcose`, `d3-path`, `d3-shape`, `dagre`, `dompurify`, `eclipse-elk`, `elkjs`, `fmin`, `graphlib`, `katex-fonts`, `layout-base-v1`, `layout-base-v2`, `mermaid`, `non-layered-tidy-tree-layout`, `ratex`, `rough-rs`, `roughjs`, `roxmltree-dom`, `sanitize-url`, `unicode-linebreak`, `venn-js`, `zenuml-core`.
|
|
31
31
|
|
|
32
32
|
### `elk-render`
|
|
33
33
|
|
|
34
34
|
Render artifacts that include the source-translated Eclipse ELK layered implementation.
|
|
35
35
|
|
|
36
|
-
Components: `cose-base-v1`, `cose-base-v2`, `cytoscape`, `cytoscape-cose-bilkent`, `cytoscape-fcose`, `d3-shape`, `dagre`, `dompurify`, `eclipse-elk`, `elkjs`, `fmin`, `graphlib`, `layout-base-v1`, `layout-base-v2`, `mermaid`, `non-layered-tidy-tree-layout`, `rough-rs`, `roughjs`, `roxmltree-dom`, `sanitize-url`, `unicode-linebreak`, `venn-js`, `zenuml-core`.
|
|
36
|
+
Components: `cose-base-v1`, `cose-base-v2`, `cytoscape`, `cytoscape-cose-bilkent`, `cytoscape-fcose`, `d3-path`, `d3-shape`, `dagre`, `dompurify`, `eclipse-elk`, `elkjs`, `fmin`, `graphlib`, `layout-base-v1`, `layout-base-v2`, `mermaid`, `non-layered-tidy-tree-layout`, `rough-rs`, `roughjs`, `roxmltree-dom`, `sanitize-url`, `unicode-linebreak`, `venn-js`, `zenuml-core`.
|
|
37
37
|
|
|
38
38
|
### `playground-reference`
|
|
39
39
|
|
|
40
40
|
Third-party projects loaded by or used as behavioral evidence for the deployed Playground.
|
|
41
41
|
|
|
42
|
-
Components: `d3-shape`, `dompurify`, `elkjs`, `mermaid`, `non-layered-tidy-tree-layout`, `roughjs`, `sanitize-url`, `venn-js`, `zenuml-core`.
|
|
42
|
+
Components: `d3-path`, `d3-shape`, `dompurify`, `elkjs`, `mermaid`, `non-layered-tidy-tree-layout`, `roughjs`, `sanitize-url`, `venn-js`, `zenuml-core`.
|
|
43
43
|
|
|
44
44
|
### `ratex-render`
|
|
45
45
|
|
|
46
46
|
Render artifacts that link RaTeX and embed the KaTeX TrueType font payload.
|
|
47
47
|
|
|
48
|
-
Components: `cose-base-v1`, `cose-base-v2`, `cytoscape`, `cytoscape-cose-bilkent`, `cytoscape-fcose`, `d3-shape`, `dagre`, `dompurify`, `fmin`, `graphlib`, `katex-fonts`, `layout-base-v1`, `layout-base-v2`, `mermaid`, `non-layered-tidy-tree-layout`, `ratex`, `rough-rs`, `roughjs`, `roxmltree-dom`, `sanitize-url`, `unicode-linebreak`, `venn-js`, `zenuml-core`.
|
|
48
|
+
Components: `cose-base-v1`, `cose-base-v2`, `cytoscape`, `cytoscape-cose-bilkent`, `cytoscape-fcose`, `d3-path`, `d3-shape`, `dagre`, `dompurify`, `fmin`, `graphlib`, `katex-fonts`, `layout-base-v1`, `layout-base-v2`, `mermaid`, `non-layered-tidy-tree-layout`, `ratex`, `rough-rs`, `roughjs`, `roxmltree-dom`, `sanitize-url`, `unicode-linebreak`, `venn-js`, `zenuml-core`.
|
|
49
49
|
|
|
50
50
|
### `rust-render-base`
|
|
51
51
|
|
|
52
52
|
Headless parser and renderer artifacts without optional ELK, RaTeX, ASCII, or Typst transport features.
|
|
53
53
|
|
|
54
|
-
Components: `cose-base-v1`, `cose-base-v2`, `cytoscape`, `cytoscape-cose-bilkent`, `cytoscape-fcose`, `d3-shape`, `dagre`, `dompurify`, `fmin`, `graphlib`, `layout-base-v1`, `layout-base-v2`, `mermaid`, `non-layered-tidy-tree-layout`, `rough-rs`, `roughjs`, `roxmltree-dom`, `sanitize-url`, `unicode-linebreak`, `venn-js`, `zenuml-core`.
|
|
54
|
+
Components: `cose-base-v1`, `cose-base-v2`, `cytoscape`, `cytoscape-cose-bilkent`, `cytoscape-fcose`, `d3-path`, `d3-shape`, `dagre`, `dompurify`, `fmin`, `graphlib`, `layout-base-v1`, `layout-base-v2`, `mermaid`, `non-layered-tidy-tree-layout`, `rough-rs`, `roughjs`, `roxmltree-dom`, `sanitize-url`, `unicode-linebreak`, `venn-js`, `zenuml-core`.
|
|
55
55
|
|
|
56
56
|
### `sdk-full`
|
|
57
57
|
|
|
58
58
|
Embedding SDK full legal closure.
|
|
59
59
|
|
|
60
|
-
Components: `cose-base-v1`, `cose-base-v2`, `cytoscape`, `cytoscape-cose-bilkent`, `cytoscape-fcose`, `d3-shape`, `dagre`, `dompurify`, `eclipse-elk`, `elkjs`, `fmin`, `graphlib`, `katex-fonts`, `layout-base-v1`, `layout-base-v2`, `mermaid`, `non-layered-tidy-tree-layout`, `ratex`, `rough-rs`, `roughjs`, `roxmltree-dom`, `sanitize-url`, `sdk-cousine`, `unicode-linebreak`, `venn-js`, `zenuml-core`.
|
|
60
|
+
Components: `cose-base-v1`, `cose-base-v2`, `cytoscape`, `cytoscape-cose-bilkent`, `cytoscape-fcose`, `d3-path`, `d3-shape`, `dagre`, `dompurify`, `eclipse-elk`, `elkjs`, `fmin`, `graphlib`, `katex-fonts`, `layout-base-v1`, `layout-base-v2`, `mermaid`, `non-layered-tidy-tree-layout`, `ratex`, `rough-rs`, `roughjs`, `roxmltree-dom`, `sanitize-url`, `sdk-cousine`, `unicode-linebreak`, `venn-js`, `zenuml-core`.
|
|
61
61
|
|
|
62
62
|
### `sdk-math`
|
|
63
63
|
|
|
64
64
|
Embedding SDK math legal closure.
|
|
65
65
|
|
|
66
|
-
Components: `cose-base-v1`, `cose-base-v2`, `cytoscape`, `cytoscape-cose-bilkent`, `cytoscape-fcose`, `d3-shape`, `dagre`, `dompurify`, `fmin`, `graphlib`, `katex-fonts`, `layout-base-v1`, `layout-base-v2`, `mermaid`, `non-layered-tidy-tree-layout`, `ratex`, `rough-rs`, `roughjs`, `roxmltree-dom`, `sanitize-url`, `sdk-cousine`, `unicode-linebreak`, `venn-js`, `zenuml-core`.
|
|
66
|
+
Components: `cose-base-v1`, `cose-base-v2`, `cytoscape`, `cytoscape-cose-bilkent`, `cytoscape-fcose`, `d3-path`, `d3-shape`, `dagre`, `dompurify`, `fmin`, `graphlib`, `katex-fonts`, `layout-base-v1`, `layout-base-v2`, `mermaid`, `non-layered-tidy-tree-layout`, `ratex`, `rough-rs`, `roughjs`, `roxmltree-dom`, `sanitize-url`, `sdk-cousine`, `unicode-linebreak`, `venn-js`, `zenuml-core`.
|
|
67
67
|
|
|
68
68
|
### `sdk-native-full`
|
|
69
69
|
|
|
70
70
|
Native C full SDK, including its ASCII source notices.
|
|
71
71
|
|
|
72
|
-
Components: `beautiful-mermaid`, `cose-base-v1`, `cose-base-v2`, `cytoscape`, `cytoscape-cose-bilkent`, `cytoscape-fcose`, `d3-shape`, `dagre`, `dompurify`, `eclipse-elk`, `elkjs`, `fmin`, `graphlib`, `katex-fonts`, `layout-base-v1`, `layout-base-v2`, `mermaid`, `mermaid-ascii`, `mermaid-rs-renderer`, `non-layered-tidy-tree-layout`, `ratex`, `rough-rs`, `roughjs`, `roxmltree-dom`, `sanitize-url`, `sdk-cousine`, `unicode-linebreak`, `venn-js`, `zenuml-core`.
|
|
72
|
+
Components: `beautiful-mermaid`, `cose-base-v1`, `cose-base-v2`, `cytoscape`, `cytoscape-cose-bilkent`, `cytoscape-fcose`, `d3-path`, `d3-shape`, `dagre`, `dompurify`, `eclipse-elk`, `elkjs`, `fmin`, `graphlib`, `katex-fonts`, `layout-base-v1`, `layout-base-v2`, `mermaid`, `mermaid-ascii`, `mermaid-rs-renderer`, `non-layered-tidy-tree-layout`, `ratex`, `rough-rs`, `roughjs`, `roxmltree-dom`, `sanitize-url`, `sdk-cousine`, `unicode-linebreak`, `venn-js`, `zenuml-core`.
|
|
73
73
|
|
|
74
74
|
### `sdk-native-math`
|
|
75
75
|
|
|
76
76
|
Native C math SDK, including its ASCII source notices.
|
|
77
77
|
|
|
78
|
-
Components: `beautiful-mermaid`, `cose-base-v1`, `cose-base-v2`, `cytoscape`, `cytoscape-cose-bilkent`, `cytoscape-fcose`, `d3-shape`, `dagre`, `dompurify`, `fmin`, `graphlib`, `katex-fonts`, `layout-base-v1`, `layout-base-v2`, `mermaid`, `mermaid-ascii`, `mermaid-rs-renderer`, `non-layered-tidy-tree-layout`, `ratex`, `rough-rs`, `roughjs`, `roxmltree-dom`, `sanitize-url`, `sdk-cousine`, `unicode-linebreak`, `venn-js`, `zenuml-core`.
|
|
78
|
+
Components: `beautiful-mermaid`, `cose-base-v1`, `cose-base-v2`, `cytoscape`, `cytoscape-cose-bilkent`, `cytoscape-fcose`, `d3-path`, `d3-shape`, `dagre`, `dompurify`, `fmin`, `graphlib`, `katex-fonts`, `layout-base-v1`, `layout-base-v2`, `mermaid`, `mermaid-ascii`, `mermaid-rs-renderer`, `non-layered-tidy-tree-layout`, `ratex`, `rough-rs`, `roughjs`, `roxmltree-dom`, `sanitize-url`, `sdk-cousine`, `unicode-linebreak`, `venn-js`, `zenuml-core`.
|
|
79
79
|
|
|
80
80
|
### `sdk-native-standard`
|
|
81
81
|
|
|
82
82
|
Native C standard SDK, including its ASCII source notices.
|
|
83
83
|
|
|
84
|
-
Components: `beautiful-mermaid`, `cose-base-v1`, `cose-base-v2`, `cytoscape`, `cytoscape-cose-bilkent`, `cytoscape-fcose`, `d3-shape`, `dagre`, `dompurify`, `fmin`, `graphlib`, `layout-base-v1`, `layout-base-v2`, `mermaid`, `mermaid-ascii`, `mermaid-rs-renderer`, `non-layered-tidy-tree-layout`, `rough-rs`, `roughjs`, `roxmltree-dom`, `sanitize-url`, `sdk-cousine`, `unicode-linebreak`, `venn-js`, `zenuml-core`.
|
|
84
|
+
Components: `beautiful-mermaid`, `cose-base-v1`, `cose-base-v2`, `cytoscape`, `cytoscape-cose-bilkent`, `cytoscape-fcose`, `d3-path`, `d3-shape`, `dagre`, `dompurify`, `fmin`, `graphlib`, `layout-base-v1`, `layout-base-v2`, `mermaid`, `mermaid-ascii`, `mermaid-rs-renderer`, `non-layered-tidy-tree-layout`, `rough-rs`, `roughjs`, `roxmltree-dom`, `sanitize-url`, `sdk-cousine`, `unicode-linebreak`, `venn-js`, `zenuml-core`.
|
|
85
85
|
|
|
86
86
|
### `sdk-standard`
|
|
87
87
|
|
|
88
88
|
Embedding SDK standard legal closure.
|
|
89
89
|
|
|
90
|
-
Components: `cose-base-v1`, `cose-base-v2`, `cytoscape`, `cytoscape-cose-bilkent`, `cytoscape-fcose`, `d3-shape`, `dagre`, `dompurify`, `fmin`, `graphlib`, `layout-base-v1`, `layout-base-v2`, `mermaid`, `non-layered-tidy-tree-layout`, `rough-rs`, `roughjs`, `roxmltree-dom`, `sanitize-url`, `sdk-cousine`, `unicode-linebreak`, `venn-js`, `zenuml-core`.
|
|
90
|
+
Components: `cose-base-v1`, `cose-base-v2`, `cytoscape`, `cytoscape-cose-bilkent`, `cytoscape-fcose`, `d3-path`, `d3-shape`, `dagre`, `dompurify`, `fmin`, `graphlib`, `layout-base-v1`, `layout-base-v2`, `mermaid`, `non-layered-tidy-tree-layout`, `rough-rs`, `roughjs`, `roxmltree-dom`, `sanitize-url`, `sdk-cousine`, `unicode-linebreak`, `venn-js`, `zenuml-core`.
|
|
91
91
|
|
|
92
92
|
### `source-archive`
|
|
93
93
|
|
|
94
94
|
Conservative repository source archive inventory covering every translated, copied, linked, embedded, fixture, and behavior-reference component recorded here.
|
|
95
95
|
|
|
96
|
-
Components: `beautiful-mermaid`, `cose-base-v1`, `cose-base-v2`, `cytoscape`, `cytoscape-cose-bilkent`, `cytoscape-fcose`, `d3-shape`, `dagre`, `dompurify`, `eclipse-elk`, `elkjs`, `fmin`, `graphlib`, `layout-base-v1`, `layout-base-v2`, `mermaid`, `mermaid-ascii`, `mermaid-rs-renderer`, `monaqa-tree-sitter-mermaid`, `non-layered-tidy-tree-layout`, `pappasam-tree-sitter-mermaid`, `rough-rs`, `roughjs`, `roxmltree-dom`, `sanitize-url`, `singularity-tree-sitter-mermaid`, `tree-sitter-generator`, `tree-sitter-mermaid-mermaid-12-new-families`, `tree-sitter-mermaid-mermaid-baseline`, `tree-sitter-mermaid-zenuml-baseline`, `tree-sitter-templates`, `unicode-linebreak`, `venn-js`, `wasm-minimal-protocol`, `zenuml-core`.
|
|
96
|
+
Components: `beautiful-mermaid`, `cose-base-v1`, `cose-base-v2`, `cytoscape`, `cytoscape-cose-bilkent`, `cytoscape-fcose`, `d3-path`, `d3-shape`, `dagre`, `dompurify`, `eclipse-elk`, `elkjs`, `fmin`, `graphlib`, `layout-base-v1`, `layout-base-v2`, `mermaid`, `mermaid-ascii`, `mermaid-rs-renderer`, `monaqa-tree-sitter-mermaid`, `non-layered-tidy-tree-layout`, `pappasam-tree-sitter-mermaid`, `rough-rs`, `roughjs`, `roxmltree-dom`, `sanitize-url`, `singularity-tree-sitter-mermaid`, `tree-sitter-generator`, `tree-sitter-mermaid-mermaid-12-new-families`, `tree-sitter-mermaid-mermaid-baseline`, `tree-sitter-mermaid-zenuml-baseline`, `tree-sitter-templates`, `unicode-linebreak`, `venn-js`, `wasm-minimal-protocol`, `zenuml-core`.
|
|
97
97
|
|
|
98
98
|
### `tree-sitter-mermaid-source`
|
|
99
99
|
|
|
@@ -105,7 +105,7 @@ Components: `monaqa-tree-sitter-mermaid`, `pappasam-tree-sitter-mermaid`, `singu
|
|
|
105
105
|
|
|
106
106
|
The Typst WASM publish profile, including ELK and wasm-minimal-protocol but excluding RaTeX.
|
|
107
107
|
|
|
108
|
-
Components: `cose-base-v1`, `cose-base-v2`, `cytoscape`, `cytoscape-cose-bilkent`, `cytoscape-fcose`, `d3-shape`, `dagre`, `dompurify`, `eclipse-elk`, `elkjs`, `fmin`, `graphlib`, `layout-base-v1`, `layout-base-v2`, `mermaid`, `non-layered-tidy-tree-layout`, `rough-rs`, `roughjs`, `roxmltree-dom`, `sanitize-url`, `unicode-linebreak`, `venn-js`, `wasm-minimal-protocol`, `zenuml-core`.
|
|
108
|
+
Components: `cose-base-v1`, `cose-base-v2`, `cytoscape`, `cytoscape-cose-bilkent`, `cytoscape-fcose`, `d3-path`, `d3-shape`, `dagre`, `dompurify`, `eclipse-elk`, `elkjs`, `fmin`, `graphlib`, `layout-base-v1`, `layout-base-v2`, `mermaid`, `non-layered-tidy-tree-layout`, `rough-rs`, `roughjs`, `roxmltree-dom`, `sanitize-url`, `unicode-linebreak`, `venn-js`, `wasm-minimal-protocol`, `zenuml-core`.
|
|
109
109
|
|
|
110
110
|
### `web-analysis`
|
|
111
111
|
|
|
@@ -129,13 +129,13 @@ Components: `dompurify`, `mermaid`, `sanitize-url`, `zenuml-core`.
|
|
|
129
129
|
|
|
130
130
|
Browser SDK including ASCII, Cytoscape, ELK and RaTeX math/font support.
|
|
131
131
|
|
|
132
|
-
Components: `beautiful-mermaid`, `cose-base-v1`, `cose-base-v2`, `cytoscape`, `cytoscape-cose-bilkent`, `cytoscape-fcose`, `d3-shape`, `dagre`, `dompurify`, `eclipse-elk`, `elkjs`, `fmin`, `graphlib`, `katex-fonts`, `layout-base-v1`, `layout-base-v2`, `mermaid`, `mermaid-ascii`, `mermaid-rs-renderer`, `non-layered-tidy-tree-layout`, `ratex`, `rough-rs`, `roughjs`, `roxmltree-dom`, `sanitize-url`, `unicode-linebreak`, `venn-js`, `zenuml-core`.
|
|
132
|
+
Components: `beautiful-mermaid`, `cose-base-v1`, `cose-base-v2`, `cytoscape`, `cytoscape-cose-bilkent`, `cytoscape-fcose`, `d3-path`, `d3-shape`, `dagre`, `dompurify`, `eclipse-elk`, `elkjs`, `fmin`, `graphlib`, `katex-fonts`, `layout-base-v1`, `layout-base-v2`, `mermaid`, `mermaid-ascii`, `mermaid-rs-renderer`, `non-layered-tidy-tree-layout`, `ratex`, `rough-rs`, `roughjs`, `roxmltree-dom`, `sanitize-url`, `unicode-linebreak`, `venn-js`, `zenuml-core`.
|
|
133
133
|
|
|
134
134
|
### `web-render`
|
|
135
135
|
|
|
136
136
|
Complete browser SVG renderer with math, Cytoscape and ELK, without analysis, ASCII, or editor APIs.
|
|
137
137
|
|
|
138
|
-
Components: `cose-base-v1`, `cose-base-v2`, `cytoscape`, `cytoscape-cose-bilkent`, `cytoscape-fcose`, `d3-shape`, `dagre`, `dompurify`, `eclipse-elk`, `elkjs`, `fmin`, `graphlib`, `katex-fonts`, `layout-base-v1`, `layout-base-v2`, `mermaid`, `non-layered-tidy-tree-layout`, `ratex`, `rough-rs`, `roughjs`, `roxmltree-dom`, `sanitize-url`, `unicode-linebreak`, `venn-js`, `zenuml-core`.
|
|
138
|
+
Components: `cose-base-v1`, `cose-base-v2`, `cytoscape`, `cytoscape-cose-bilkent`, `cytoscape-fcose`, `d3-path`, `d3-shape`, `dagre`, `dompurify`, `eclipse-elk`, `elkjs`, `fmin`, `graphlib`, `katex-fonts`, `layout-base-v1`, `layout-base-v2`, `mermaid`, `non-layered-tidy-tree-layout`, `ratex`, `rough-rs`, `roughjs`, `roxmltree-dom`, `sanitize-url`, `unicode-linebreak`, `venn-js`, `zenuml-core`.
|
|
139
139
|
|
|
140
140
|
## Components
|
|
141
141
|
|
|
@@ -191,10 +191,10 @@ Manatee contains Rust translations and adaptations of the newer CoSE base behavi
|
|
|
191
191
|
|
|
192
192
|
Architecture layout and styling use source-backed Cytoscape behavior and defaults.
|
|
193
193
|
|
|
194
|
-
- Version: `3.34.
|
|
194
|
+
- Version: `3.34.4`
|
|
195
195
|
- Source: <https://github.com/cytoscape/cytoscape.js.git>
|
|
196
|
-
- Source ref: `v3.34.
|
|
197
|
-
- Source commit: `
|
|
196
|
+
- Source ref: `v3.34.4`
|
|
197
|
+
- Source commit: `e394aa858b0699a67be8f9ab426823ae1aae7813`
|
|
198
198
|
- Source path: `.`
|
|
199
199
|
- Relationship: `behavior-reference`, `translated`
|
|
200
200
|
- License expression: `MIT`
|
|
@@ -235,9 +235,25 @@ The headless Architecture layout is a modified Rust implementation of FCoSE beha
|
|
|
235
235
|
- Legal files:
|
|
236
236
|
- [`THIRD_PARTY_LICENSES/cytoscape-fcose/LICENSE`](THIRD_PARTY_LICENSES/cytoscape-fcose/LICENSE) (license, SHA-256 `2837634f403949215760fcdd2fa1ed0c64875d02099ecc8318c704b852f1421d`)
|
|
237
237
|
|
|
238
|
+
### d3-path (`d3-path`)
|
|
239
|
+
|
|
240
|
+
The Pie SVG renderer translates D3 path rounding and arc serialization, including the 3.1.1 correction for rounded coincident endpoints of large arcs.
|
|
241
|
+
|
|
242
|
+
- Version: `3.1.1`
|
|
243
|
+
- Source: <https://github.com/d3/d3-path.git>
|
|
244
|
+
- Source ref: `v3.1.1`
|
|
245
|
+
- Source commit: `b9ab34592535861e44ce9db03de4db2c2c9c866a`
|
|
246
|
+
- Source path: `src/path.js`
|
|
247
|
+
- Relationship: `modified`, `translated`
|
|
248
|
+
- License expression: `ISC`
|
|
249
|
+
- Artifact scopes: `cli-default`, `cli-release`, `elk-render`, `playground-reference`, `ratex-render`, `rust-render-base`, `sdk-full`, `sdk-math`, `sdk-native-full`, `sdk-native-math`, `sdk-native-standard`, `sdk-standard`, `source-archive`, `typst-publish`, `web-full`, `web-render`
|
|
250
|
+
- Local evidence: `crates/merman-render/src/svg/parity/pie/render.rs`
|
|
251
|
+
- Legal files:
|
|
252
|
+
- [`THIRD_PARTY_LICENSES/d3-path/LICENSE`](THIRD_PARTY_LICENSES/d3-path/LICENSE) (license, SHA-256 `f5dff44740d51a1849b4d16b657eccf60577fb5d28d8ee46d33dcc780a11f94a`)
|
|
253
|
+
|
|
238
254
|
### d3-shape (`d3-shape`)
|
|
239
255
|
|
|
240
|
-
The SVG parity layer translates D3 curve algorithms, including basis, natural, step, cardinal, bump, and Catmull-Rom variants.
|
|
256
|
+
The SVG parity layer translates D3 curve algorithms, including basis, natural, step, cardinal, bump, and Catmull-Rom variants. The current reference graph uses d3-shape 3.2.1, whose curve source is unchanged from this translation baseline.
|
|
241
257
|
|
|
242
258
|
- Version: `3.2.0`
|
|
243
259
|
- Source: <https://github.com/d3/d3-shape.git>
|
|
@@ -286,35 +302,37 @@ Merman selects DOMPurify's Apache-2.0 option for generated sanitizer defaults; t
|
|
|
286
302
|
|
|
287
303
|
### Eclipse Layout Kernel (`eclipse-elk`)
|
|
288
304
|
|
|
289
|
-
The merman-elk-layered crate contains modified Rust source translations of Eclipse ELK layered, Box, Force, Stress, Mr. Tree, Radial, Rectangle Packing, and SPOrE overlap-removal algorithms, including common and core layout utilities,
|
|
305
|
+
The merman-elk-layered crate contains modified Rust source translations of Eclipse ELK layered, Box, Force, Stress, Mr. Tree, Radial, Rectangle Packing, and SPOrE overlap-removal algorithms, including common and core layout utilities. The historical derivation is v0.9.1 at 62d5909f96fad541bc101ad52dabaece6b7eab7e. Supported behavior ports from the v0.12.0 source comparison are documented in crates/merman-elk-layered/MERMAID_12_3_DELTA.md and checked against the published elkjs@0.12.0 behavior oracle. The Java tag is a source comparison point, not a proven unique Java build input of that npm package; elkjs CI checks out Eclipse ELK master. Merman retains its EPL-2.0 selection and preserves the current source license, including its conditional GPL-3.0-or-later secondary-license option.
|
|
290
306
|
|
|
291
|
-
- Version: `0.
|
|
307
|
+
- Version: `0.12.0`
|
|
292
308
|
- Source: <https://github.com/eclipse-elk/elk.git>
|
|
293
|
-
- Source ref: `v0.
|
|
294
|
-
- Source commit: `
|
|
309
|
+
- Source ref: `v0.12.0`
|
|
310
|
+
- Source commit: `323312916048544e4e594eab3303cdb0d01e2929`
|
|
295
311
|
- Source path: `plugins`
|
|
296
312
|
- Relationship: `modified`, `translated`
|
|
297
|
-
- License expression: `EPL-2.0`
|
|
313
|
+
- License expression: `(EPL-2.0 OR GPL-3.0-or-later)`
|
|
314
|
+
- Selected license path: `EPL-2.0`
|
|
298
315
|
- Artifact scopes: `cli-default`, `cli-release`, `elk-render`, `sdk-full`, `sdk-native-full`, `source-archive`, `typst-publish`, `web-full`, `web-render`
|
|
299
316
|
- Local evidence: `crates/merman-elk-layered`, `crates/merman-layout-elk`
|
|
300
317
|
- Legal files:
|
|
301
|
-
- [`THIRD_PARTY_LICENSES/eclipse-elk/LICENSE.md`](THIRD_PARTY_LICENSES/eclipse-elk/LICENSE.md) (license, SHA-256 `
|
|
318
|
+
- [`THIRD_PARTY_LICENSES/eclipse-elk/LICENSE.md`](THIRD_PARTY_LICENSES/eclipse-elk/LICENSE.md) (license, SHA-256 `22080908c4e8696d8ea137db9c51b0dd67c19a4440b3be689b9d06d397aa88fd`)
|
|
302
319
|
|
|
303
320
|
### elkjs (`elkjs`)
|
|
304
321
|
|
|
305
|
-
Mermaid's ELK adapter behavior is compared against
|
|
322
|
+
Mermaid's ELK adapter behavior is compared against the published elkjs@0.12.1 JavaScript distribution. Its source tag and npm publish gitHead identify the elkjs wrapper; the tag's CI checks out Eclipse ELK master and does not prove a unique Java source commit for the npm build. The separate Eclipse ELK v0.12.0 and v0.12.1 source comparisons and historical v0.9.1 port derivation are recorded in crates/merman-elk-layered/MERMAID_12_3_DELTA.md. Merman selects EPL-2.0 from the declared EPL-2.0 OR GPL-3.0-or-later options and preserves the exact license with its conditional secondary-license notice.
|
|
306
323
|
|
|
307
|
-
- Version: `0.
|
|
324
|
+
- Version: `0.12.1`
|
|
308
325
|
- Source: <https://github.com/kieler/elkjs.git>
|
|
309
|
-
- Source ref: `
|
|
310
|
-
- Source commit: `
|
|
326
|
+
- Source ref: `0.12.1`
|
|
327
|
+
- Source commit: `624ae90aa37110033a8af59c5ccbb292708b4317`
|
|
311
328
|
- Source path: `.`
|
|
312
329
|
- Relationship: `behavior-reference`
|
|
313
|
-
- License expression: `EPL-2.0`
|
|
330
|
+
- License expression: `(EPL-2.0 OR GPL-3.0-or-later)`
|
|
331
|
+
- Selected license path: `EPL-2.0`
|
|
314
332
|
- Artifact scopes: `cli-default`, `cli-release`, `elk-render`, `playground-reference`, `sdk-full`, `sdk-native-full`, `source-archive`, `typst-publish`, `web-full`, `web-render`
|
|
315
333
|
- Local evidence: `crates/merman-layout-elk`, `playground`
|
|
316
334
|
- Legal files:
|
|
317
|
-
- [`THIRD_PARTY_LICENSES/elkjs/LICENSE.md`](THIRD_PARTY_LICENSES/elkjs/LICENSE.md) (license, SHA-256 `
|
|
335
|
+
- [`THIRD_PARTY_LICENSES/elkjs/LICENSE.md`](THIRD_PARTY_LICENSES/elkjs/LICENSE.md) (license, SHA-256 `637e81f4a1b6b4079535c499fca05e238cf7605c1ff5b76d60d7da7ce96700c9`)
|
|
318
336
|
|
|
319
337
|
### fmin (`fmin`)
|
|
320
338
|
|
|
@@ -401,10 +419,10 @@ Manatee also follows the newer layout-base behavior selected by the FCoSE depend
|
|
|
401
419
|
|
|
402
420
|
Merman independently implements Mermaid-compatible behavior while translating selected algorithms, generating defaults, copying architecture icon data, and retaining upstream fixtures and snapshots.
|
|
403
421
|
|
|
404
|
-
- Version: `12.
|
|
422
|
+
- Version: `12.3.0`
|
|
405
423
|
- Source: <https://github.com/mermaid-js/mermaid.git>
|
|
406
|
-
- Source ref: `mermaid@12.
|
|
407
|
-
- Source commit: `
|
|
424
|
+
- Source ref: `mermaid@12.3.0`
|
|
425
|
+
- Source commit: `2086904e76c692331e34a45d7cc3bc30860d040e`
|
|
408
426
|
- Source path: `packages/mermaid`
|
|
409
427
|
- Relationship: `behavior-reference`, `copied`, `fixtures`, `generated`, `modified`, `translated`
|
|
410
428
|
- License expression: `MIT`
|
|
@@ -564,10 +582,10 @@ The renderer privately imports roxmltree 0.21.1 with its official iterative elem
|
|
|
564
582
|
|
|
565
583
|
Merman's URL sanitization behavior is a source-backed Rust translation of sanitize-url.
|
|
566
584
|
|
|
567
|
-
- Version: `7.1.
|
|
585
|
+
- Version: `7.1.2`
|
|
568
586
|
- Source: <https://github.com/braintree/sanitize-url.git>
|
|
569
|
-
- Source ref: `v7.1.
|
|
570
|
-
- Source commit: `
|
|
587
|
+
- Source ref: `v7.1.2`
|
|
588
|
+
- Source commit: `206cb8b942b10dad28dd3d31db3bf39e3fcdd7aa`
|
|
571
589
|
- Source path: `src`
|
|
572
590
|
- Relationship: `modified`, `translated`
|
|
573
591
|
- License expression: `MIT`
|
package/artifact/merman_node.cjs
CHANGED
|
@@ -20,23 +20,24 @@ class WasmEngine {
|
|
|
20
20
|
* @returns {string}
|
|
21
21
|
*/
|
|
22
22
|
executeSync(request_json, timeout_ms) {
|
|
23
|
-
let
|
|
24
|
-
let
|
|
23
|
+
let deferred4_0;
|
|
24
|
+
let deferred4_1;
|
|
25
25
|
try {
|
|
26
|
+
const val2 = +(isLikeNone(timeout_ms) ? Number.MAX_SAFE_INTEGER : (timeout_ms) >>> 0);
|
|
26
27
|
const ptr0 = passStringToWasm0(request_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
27
28
|
const len0 = WASM_VECTOR_LEN;
|
|
28
|
-
const ret = wasm.wasmengine_executeSync(this.__wbg_ptr, ptr0, len0,
|
|
29
|
-
var
|
|
30
|
-
var
|
|
29
|
+
const ret = wasm.wasmengine_executeSync(this.__wbg_ptr, ptr0, len0, val2);
|
|
30
|
+
var ptr3 = ret[0];
|
|
31
|
+
var len3 = ret[1];
|
|
31
32
|
if (ret[3]) {
|
|
32
|
-
|
|
33
|
+
ptr3 = 0; len3 = 0;
|
|
33
34
|
throw takeFromExternrefTable0(ret[2]);
|
|
34
35
|
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
return getStringFromWasm0(
|
|
36
|
+
deferred4_0 = ptr3;
|
|
37
|
+
deferred4_1 = len3;
|
|
38
|
+
return getStringFromWasm0(ptr3, len3);
|
|
38
39
|
} finally {
|
|
39
|
-
wasm.__wbindgen_free(
|
|
40
|
+
wasm.__wbindgen_free(deferred4_0, deferred4_1, 1);
|
|
40
41
|
}
|
|
41
42
|
}
|
|
42
43
|
/**
|
|
@@ -45,23 +46,24 @@ class WasmEngine {
|
|
|
45
46
|
* @returns {string}
|
|
46
47
|
*/
|
|
47
48
|
execute(request_json, timeout_ms) {
|
|
48
|
-
let
|
|
49
|
-
let
|
|
49
|
+
let deferred4_0;
|
|
50
|
+
let deferred4_1;
|
|
50
51
|
try {
|
|
52
|
+
const val2 = +(isLikeNone(timeout_ms) ? Number.MAX_SAFE_INTEGER : (timeout_ms) >>> 0);
|
|
51
53
|
const ptr0 = passStringToWasm0(request_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
52
54
|
const len0 = WASM_VECTOR_LEN;
|
|
53
|
-
const ret = wasm.wasmengine_execute(this.__wbg_ptr, ptr0, len0,
|
|
54
|
-
var
|
|
55
|
-
var
|
|
55
|
+
const ret = wasm.wasmengine_execute(this.__wbg_ptr, ptr0, len0, val2);
|
|
56
|
+
var ptr3 = ret[0];
|
|
57
|
+
var len3 = ret[1];
|
|
56
58
|
if (ret[3]) {
|
|
57
|
-
|
|
59
|
+
ptr3 = 0; len3 = 0;
|
|
58
60
|
throw takeFromExternrefTable0(ret[2]);
|
|
59
61
|
}
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
return getStringFromWasm0(
|
|
62
|
+
deferred4_0 = ptr3;
|
|
63
|
+
deferred4_1 = len3;
|
|
64
|
+
return getStringFromWasm0(ptr3, len3);
|
|
63
65
|
} finally {
|
|
64
|
-
wasm.__wbindgen_free(
|
|
66
|
+
wasm.__wbindgen_free(deferred4_0, deferred4_1, 1);
|
|
65
67
|
}
|
|
66
68
|
}
|
|
67
69
|
/**
|
|
@@ -93,10 +95,17 @@ class WasmEngine {
|
|
|
93
95
|
* @param {string | null} [icon_packs_json]
|
|
94
96
|
*/
|
|
95
97
|
constructor(options_json, icon_packs_json) {
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
98
|
+
let ptr0, len0, ptr1, len1;
|
|
99
|
+
try {
|
|
100
|
+
ptr0 = passStringToWasm0(options_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
101
|
+
len0 = WASM_VECTOR_LEN;
|
|
102
|
+
ptr1 = isLikeNone(icon_packs_json) ? 0 : passStringToWasm0(icon_packs_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
103
|
+
len1 = WASM_VECTOR_LEN;
|
|
104
|
+
} catch (e) {
|
|
105
|
+
if (ptr1) { wasm.__wbindgen_free(ptr1, len1 * 1, 1); }
|
|
106
|
+
if (ptr0) { wasm.__wbindgen_free(ptr0, len0 * 1, 1); }
|
|
107
|
+
throw e;
|
|
108
|
+
}
|
|
100
109
|
const ret = wasm.wasmengine_new(ptr0, len0, ptr1, len1);
|
|
101
110
|
if (ret[2]) {
|
|
102
111
|
throw takeFromExternrefTable0(ret[1]);
|
|
@@ -155,35 +164,35 @@ exports.transportIdentityJson = transportIdentityJson;
|
|
|
155
164
|
function __wbg_get_imports() {
|
|
156
165
|
const import0 = {
|
|
157
166
|
__proto__: null,
|
|
158
|
-
|
|
167
|
+
__wbg___wbindgen_is_undefined_be5b34249ff1fc15: function(arg0) {
|
|
159
168
|
const ret = arg0 === undefined;
|
|
160
169
|
return ret;
|
|
161
170
|
},
|
|
162
|
-
|
|
171
|
+
__wbg___wbindgen_throw_4c88d8bf264fd984: function(arg0, arg1) {
|
|
163
172
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
164
173
|
},
|
|
165
174
|
__wbg_now_e7c6795a7f81e10f: function(arg0) {
|
|
166
175
|
const ret = arg0.now();
|
|
167
176
|
return ret;
|
|
168
177
|
},
|
|
169
|
-
|
|
178
|
+
__wbg_performance_7e4e4494fdc9d07a: function(arg0) {
|
|
170
179
|
const ret = arg0.performance;
|
|
171
180
|
return ret;
|
|
172
181
|
},
|
|
173
|
-
|
|
174
|
-
const ret = typeof
|
|
182
|
+
__wbg_static_accessor_GLOBAL_THIS_003ee833af9699fc: function() {
|
|
183
|
+
const ret = typeof globalThis === 'undefined' ? undefined : globalThis;
|
|
175
184
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
176
185
|
},
|
|
177
|
-
|
|
178
|
-
const ret = typeof
|
|
186
|
+
__wbg_static_accessor_GLOBAL_e4293fb22cbe77da: function() {
|
|
187
|
+
const ret = typeof global === 'undefined' ? undefined : global;
|
|
179
188
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
180
189
|
},
|
|
181
|
-
|
|
182
|
-
const ret = typeof self === 'undefined' ?
|
|
190
|
+
__wbg_static_accessor_SELF_53bb20457401453d: function() {
|
|
191
|
+
const ret = typeof self === 'undefined' ? undefined : self;
|
|
183
192
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
184
193
|
},
|
|
185
|
-
|
|
186
|
-
const ret = typeof window === 'undefined' ?
|
|
194
|
+
__wbg_static_accessor_WINDOW_b5e0810bfecb7feb: function() {
|
|
195
|
+
const ret = typeof window === 'undefined' ? undefined : window;
|
|
187
196
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
188
197
|
},
|
|
189
198
|
__wbindgen_generic_0000000000000001: function(arg0, arg1) {
|
|
@@ -193,12 +202,11 @@ function __wbg_get_imports() {
|
|
|
193
202
|
},
|
|
194
203
|
__wbindgen_init_externref_table: function() {
|
|
195
204
|
const table = wasm.__wbindgen_externrefs;
|
|
196
|
-
const offset = table.grow(4);
|
|
197
205
|
table.set(0, undefined);
|
|
198
|
-
table.set(
|
|
199
|
-
table.set(
|
|
200
|
-
table.set(
|
|
201
|
-
table.set(
|
|
206
|
+
table.set(1024, undefined);
|
|
207
|
+
table.set(1025, null);
|
|
208
|
+
table.set(1026, true);
|
|
209
|
+
table.set(1027, false);
|
|
202
210
|
},
|
|
203
211
|
};
|
|
204
212
|
return {
|
|
@@ -218,7 +226,8 @@ function addToExternrefTable0(obj) {
|
|
|
218
226
|
}
|
|
219
227
|
|
|
220
228
|
function getStringFromWasm0(ptr, len) {
|
|
221
|
-
|
|
229
|
+
ptr = ptr >>> 0;
|
|
230
|
+
return decodeText(getUint8ArrayMemory0().subarray(ptr, ptr + len));
|
|
222
231
|
}
|
|
223
232
|
|
|
224
233
|
let cachedUint8ArrayMemory0 = null;
|
|
@@ -276,10 +285,10 @@ function takeFromExternrefTable0(idx) {
|
|
|
276
285
|
return value;
|
|
277
286
|
}
|
|
278
287
|
|
|
279
|
-
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true
|
|
288
|
+
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true });
|
|
280
289
|
cachedTextDecoder.decode();
|
|
281
|
-
function decodeText(
|
|
282
|
-
return cachedTextDecoder.decode(
|
|
290
|
+
function decodeText(bytes) {
|
|
291
|
+
return cachedTextDecoder.decode(bytes);
|
|
283
292
|
}
|
|
284
293
|
|
|
285
294
|
const cachedTextEncoder = new TextEncoder();
|
|
Binary file
|