@mermanjs/node-wasm 0.10.0 → 0.12.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 +46 -1
- package/README.md +29 -42
- package/THIRD_PARTY_LICENSES/d3-hierarchy/LICENSE +13 -0
- package/THIRD_PARTY_LICENSES/d3-sankey/LICENSE +27 -0
- package/THIRD_PARTY_LICENSES/grok-build/LICENSE +204 -0
- package/THIRD_PARTY_LICENSES/krilla/LICENSE-APACHE +202 -0
- package/THIRD_PARTY_LICENSES/krilla/LICENSE-ICC +116 -0
- package/THIRD_PARTY_LICENSES/{roxmltree-dom → krilla}/LICENSE-MIT +3 -3
- package/THIRD_PARTY_LICENSES/resvg-iir-blur/LICENSE +24 -0
- package/THIRD_PARTY_LICENSES/rust-cargo-dependencies.json +444 -517
- package/THIRD_PARTY_LICENSES/usvg/LICENSE-APACHE +176 -0
- package/THIRD_PARTY_LICENSES/usvg/LICENSE-MIT +25 -0
- package/THIRD_PARTY_NOTICES.md +229 -67
- package/artifact/merman_node.cjs +26 -0
- package/artifact/merman_node_bg.wasm +0 -0
- package/dist/bounded-executor.mjs +11 -6
- package/dist/candidates/wasm.mjs +6 -9
- package/dist/candidates/wrap-engine.mjs +51 -3
- package/dist/engine.mjs +478 -123
- package/dist/errors.mjs +228 -90
- package/dist/generated/binding-contract.mjs +208 -113
- package/dist/generated/capability-surface.mjs +58 -56
- package/dist/generated/node-wire-contract.json +17 -4
- package/dist/index.d.ts +431 -129
- package/dist/index.mjs +11 -3
- package/dist/native-loader.mjs +152 -7
- package/dist/transport-contract.mjs +39 -1
- package/package.json +4 -2
- package/THIRD_PARTY_LICENSES/roxmltree-dom/LICENSE-APACHE +0 -201
- /package/THIRD_PARTY_LICENSES/{roxmltree-dom → roxmltree-ego-tree}/LICENSE-ISC +0 -0
|
@@ -2,115 +2,117 @@
|
|
|
2
2
|
// Source: capabilities/feature-surface-v1.json. Do not edit directly.
|
|
3
3
|
|
|
4
4
|
export const CAPABILITY_DESCRIPTOR_SCHEMA_VERSION = 1;
|
|
5
|
-
export const CAPABILITY_DESCRIPTOR_DIGEST = "sha256:
|
|
5
|
+
export const CAPABILITY_DESCRIPTOR_DIGEST = "sha256:af956e7eb107a5e80af473453c10dcc16725404551f199ced92f3c066f6fec4f";
|
|
6
6
|
|
|
7
7
|
export const NODE_BINDING_OPERATIONS = [
|
|
8
8
|
{
|
|
9
|
-
"id": "analysis-facts-json",
|
|
10
|
-
"maturity": "stable",
|
|
11
9
|
"compiled_prerequisites": [],
|
|
12
|
-
"
|
|
10
|
+
"id": "analysis-facts-json",
|
|
11
|
+
"input_kind": "mermaid-source",
|
|
12
|
+
"maturity": "stable"
|
|
13
13
|
},
|
|
14
14
|
{
|
|
15
|
-
"id": "analysis-json",
|
|
16
|
-
"maturity": "stable",
|
|
17
15
|
"compiled_prerequisites": [],
|
|
18
|
-
"
|
|
16
|
+
"id": "analysis-json",
|
|
17
|
+
"input_kind": "mermaid-source",
|
|
18
|
+
"maturity": "stable"
|
|
19
19
|
},
|
|
20
20
|
{
|
|
21
|
-
"id": "ascii",
|
|
22
|
-
"maturity": "stable",
|
|
23
21
|
"compiled_prerequisites": [],
|
|
24
|
-
"
|
|
22
|
+
"id": "ascii",
|
|
23
|
+
"input_kind": "mermaid-source",
|
|
24
|
+
"maturity": "stable"
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
|
-
"id": "describe-theme-support-json",
|
|
28
|
-
"maturity": "alpha",
|
|
29
27
|
"compiled_prerequisites": [],
|
|
30
|
-
"
|
|
28
|
+
"id": "document-analysis-facts-json",
|
|
29
|
+
"input_kind": "mermaid-source",
|
|
30
|
+
"maturity": "stable"
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
|
-
"id": "document-analysis-facts-json",
|
|
34
|
-
"maturity": "stable",
|
|
35
33
|
"compiled_prerequisites": [],
|
|
36
|
-
"
|
|
34
|
+
"id": "document-analysis-json",
|
|
35
|
+
"input_kind": "mermaid-source",
|
|
36
|
+
"maturity": "stable"
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
|
-
"
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
"
|
|
39
|
+
"compiled_prerequisites": [
|
|
40
|
+
"svg"
|
|
41
|
+
],
|
|
42
|
+
"id": "draw-list-json",
|
|
43
|
+
"input_kind": "mermaid-source",
|
|
44
|
+
"maturity": "stable"
|
|
43
45
|
},
|
|
44
46
|
{
|
|
45
|
-
"id": "edge-geometry-json",
|
|
46
|
-
"maturity": "stable",
|
|
47
47
|
"compiled_prerequisites": [],
|
|
48
|
-
"
|
|
48
|
+
"id": "edge-geometry-json",
|
|
49
|
+
"input_kind": "mermaid-source",
|
|
50
|
+
"maturity": "stable"
|
|
49
51
|
},
|
|
50
52
|
{
|
|
51
|
-
"id": "export-theme-preset-json",
|
|
52
|
-
"maturity": "alpha",
|
|
53
53
|
"compiled_prerequisites": [],
|
|
54
|
-
"
|
|
54
|
+
"id": "export-theme-preset",
|
|
55
|
+
"input_kind": "theme-preset-id",
|
|
56
|
+
"maturity": "stable"
|
|
55
57
|
},
|
|
56
58
|
{
|
|
57
|
-
"id": "jpeg",
|
|
58
|
-
"maturity": "stable",
|
|
59
59
|
"compiled_prerequisites": [
|
|
60
60
|
"svg"
|
|
61
61
|
],
|
|
62
|
-
"
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
"id": "layout-json",
|
|
66
|
-
"maturity": "stable",
|
|
67
|
-
"compiled_prerequisites": [],
|
|
68
|
-
"input_kind": "mermaid-source"
|
|
62
|
+
"id": "jpeg",
|
|
63
|
+
"input_kind": "mermaid-source",
|
|
64
|
+
"maturity": "stable"
|
|
69
65
|
},
|
|
70
66
|
{
|
|
71
|
-
"id": "materialize-theme-json",
|
|
72
|
-
"maturity": "alpha",
|
|
73
67
|
"compiled_prerequisites": [],
|
|
74
|
-
"
|
|
68
|
+
"id": "layout-json",
|
|
69
|
+
"input_kind": "mermaid-source",
|
|
70
|
+
"maturity": "stable"
|
|
75
71
|
},
|
|
76
72
|
{
|
|
77
|
-
"id": "pdf",
|
|
78
|
-
"maturity": "stable",
|
|
79
73
|
"compiled_prerequisites": [
|
|
80
74
|
"svg"
|
|
81
75
|
],
|
|
82
|
-
"
|
|
76
|
+
"id": "pdf",
|
|
77
|
+
"input_kind": "mermaid-source",
|
|
78
|
+
"maturity": "stable"
|
|
83
79
|
},
|
|
84
80
|
{
|
|
85
|
-
"id": "png",
|
|
86
|
-
"maturity": "stable",
|
|
87
81
|
"compiled_prerequisites": [
|
|
88
82
|
"svg"
|
|
89
83
|
],
|
|
90
|
-
"
|
|
84
|
+
"id": "png",
|
|
85
|
+
"input_kind": "mermaid-source",
|
|
86
|
+
"maturity": "stable"
|
|
91
87
|
},
|
|
92
88
|
{
|
|
93
|
-
"id": "semantic-json",
|
|
94
|
-
"maturity": "stable",
|
|
95
89
|
"compiled_prerequisites": [],
|
|
96
|
-
"
|
|
90
|
+
"id": "resolve-theme",
|
|
91
|
+
"input_kind": "theme-resolve-request-json",
|
|
92
|
+
"maturity": "stable"
|
|
97
93
|
},
|
|
98
94
|
{
|
|
99
|
-
"id": "svg",
|
|
100
|
-
"maturity": "stable",
|
|
101
95
|
"compiled_prerequisites": [],
|
|
102
|
-
"
|
|
96
|
+
"id": "semantic-json",
|
|
97
|
+
"input_kind": "mermaid-source",
|
|
98
|
+
"maturity": "stable"
|
|
103
99
|
},
|
|
104
100
|
{
|
|
105
|
-
"id": "svg-plan-json",
|
|
106
|
-
"maturity": "stable",
|
|
107
101
|
"compiled_prerequisites": [],
|
|
108
|
-
"
|
|
102
|
+
"id": "svg",
|
|
103
|
+
"input_kind": "mermaid-source",
|
|
104
|
+
"maturity": "stable"
|
|
109
105
|
},
|
|
110
106
|
{
|
|
111
|
-
"id": "validation-json",
|
|
112
|
-
"maturity": "stable",
|
|
113
107
|
"compiled_prerequisites": [],
|
|
114
|
-
"
|
|
108
|
+
"id": "svg-plan-json",
|
|
109
|
+
"input_kind": "mermaid-source",
|
|
110
|
+
"maturity": "stable"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"compiled_prerequisites": [],
|
|
114
|
+
"id": "validation-json",
|
|
115
|
+
"input_kind": "mermaid-source",
|
|
116
|
+
"maturity": "stable"
|
|
115
117
|
}
|
|
116
118
|
];
|
|
@@ -2,19 +2,29 @@
|
|
|
2
2
|
"schema_version": 1,
|
|
3
3
|
"package_id": "@mermanjs/node",
|
|
4
4
|
"artifact_id": "merman-node-static-svg",
|
|
5
|
-
"transport_api_version":
|
|
5
|
+
"transport_api_version": 3,
|
|
6
6
|
"binding_result_payload_version": 1,
|
|
7
7
|
"artifact": {
|
|
8
8
|
"capability_ids": [
|
|
9
|
+
"draw-list",
|
|
9
10
|
"layout-cytoscape",
|
|
11
|
+
"layout-dagre",
|
|
10
12
|
"layout-elk",
|
|
13
|
+
"layout-shoal",
|
|
11
14
|
"math",
|
|
12
15
|
"svg"
|
|
13
16
|
],
|
|
14
17
|
"output_ids": [
|
|
18
|
+
"draw-list-json",
|
|
15
19
|
"svg"
|
|
16
20
|
],
|
|
17
21
|
"output_contracts": [
|
|
22
|
+
{
|
|
23
|
+
"id": "draw-list-json",
|
|
24
|
+
"media_type": "application/json",
|
|
25
|
+
"system_fonts": null,
|
|
26
|
+
"embedded_images": null
|
|
27
|
+
},
|
|
18
28
|
{
|
|
19
29
|
"id": "svg",
|
|
20
30
|
"media_type": "image/svg+xml",
|
|
@@ -24,10 +34,10 @@
|
|
|
24
34
|
],
|
|
25
35
|
"system_adapter_ids": [],
|
|
26
36
|
"operation_ids": [
|
|
27
|
-
"
|
|
28
|
-
"export-theme-preset
|
|
37
|
+
"draw-list-json",
|
|
38
|
+
"export-theme-preset",
|
|
29
39
|
"layout-json",
|
|
30
|
-
"
|
|
40
|
+
"resolve-theme",
|
|
31
41
|
"semantic-json",
|
|
32
42
|
"svg",
|
|
33
43
|
"svg-plan-json"
|
|
@@ -39,9 +49,12 @@
|
|
|
39
49
|
"theme-catalog"
|
|
40
50
|
],
|
|
41
51
|
"option_group_ids": [
|
|
52
|
+
"background",
|
|
53
|
+
"draw_list",
|
|
42
54
|
"environment",
|
|
43
55
|
"fixed_local_offset_minutes",
|
|
44
56
|
"fixed_today",
|
|
57
|
+
"fixed_unix_millis",
|
|
45
58
|
"layout",
|
|
46
59
|
"parse",
|
|
47
60
|
"resources",
|