@mermanjs/node 0.8.0-alpha.6 → 0.8.0-alpha.7
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 +16 -1
- package/README.md +9 -4
- package/THIRD_PARTY_LICENSES/rust-cargo-dependencies.json +26 -8
- package/THIRD_PARTY_NOTICES.md +31 -15
- package/dist/engine.mjs +6 -1
- package/dist/generated/binding-contract.mjs +14 -0
- package/dist/generated/capability-surface.mjs +1 -1
- package/dist/index.d.ts +1 -0
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -2,9 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to the `@mermanjs/node` package group will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [0.8.0-alpha.7] - 2026-09-30
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- Added Mermaid 12 Agentflow and Usecase parsing and SVG rendering. Agentflow follows upstream beta syntax; neither family supports ASCII output.
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
|
|
13
|
+
- Updated the engine from Mermaid 11.17.2 to 12.0.0, including ELK layout defaults and the new theme/look defaults for supported families. Refresh SVG snapshots; use top-level `layout: dagre`, `theme: default`, and `look: classic` when the previous presentation is needed. The bundled artifact already included ELK and retains its EPL-2.0 notices.
|
|
14
|
+
- Safe diagram-local theme variables and fonts are admitted from frontmatter and directives while host security policy remains authoritative.
|
|
15
|
+
|
|
16
|
+
### Compatibility
|
|
17
|
+
|
|
18
|
+
- Native and Node-targeted WASM packages remain an experimental Node.js 22+ group. The existing SVG/layout capability recipe does not add ASCII, analysis, math, or raster/PDF export. Update the loader and all selected transport packages together.
|
|
19
|
+
|
|
5
20
|
## [0.8.0-alpha.6] - 2026-09-02
|
|
6
21
|
|
|
7
|
-
This section describes the
|
|
22
|
+
This section describes the published alpha.6 package group. All seven packages, including `@mermanjs/node-wasm`, were manually bootstrapped from the verified package-group artifact. The immutable alpha.6 npm tarballs have no npm provenance; later releases use Trusted Publishing.
|
|
8
23
|
|
|
9
24
|
### Added
|
|
10
25
|
|
package/README.md
CHANGED
|
@@ -35,8 +35,7 @@ Create an engine once, reuse it for related work, and dispose it during teardown
|
|
|
35
35
|
Mermaid-compatible SVG structure for trusted input and parity-sensitive consumers. `parity` is
|
|
36
36
|
not a browser DOM-admission or sanitization check.
|
|
37
37
|
|
|
38
|
-
For
|
|
39
|
-
select the sealed `resvg-safe` pipeline explicitly:
|
|
38
|
+
For a resvg/usvg consumer that cannot display HTML labels, select `resvg-safe` explicitly:
|
|
40
39
|
|
|
41
40
|
```js
|
|
42
41
|
const options = {
|
|
@@ -45,8 +44,14 @@ const options = {
|
|
|
45
44
|
const svg = await engine.renderSvg(source, options);
|
|
46
45
|
```
|
|
47
46
|
|
|
48
|
-
The supported pipeline values are `parity`, `readable`, and `resvg-safe`.
|
|
49
|
-
|
|
47
|
+
The supported pipeline values are `parity`, `readable`, and `resvg-safe`. `readable` is an advanced
|
|
48
|
+
text overlay for consumers that ignore HTML labels; browsers can display both copies and show
|
|
49
|
+
overlapping text. Use `parity` for browser display. `resvg-safe` also removes unsupported styles,
|
|
50
|
+
so it is not a lossless replacement for `readable`. HTML embedding still requires a host-owned
|
|
51
|
+
admission policy; selecting a pipeline alone does not establish browser DOM safety.
|
|
52
|
+
|
|
53
|
+
The `resvg-safe` pipeline removes browser-only content such as active elements and `foreignObject`
|
|
54
|
+
labels. It does not
|
|
50
55
|
provide browser `Document` or owner-document admission APIs; use `@mermanjs/web*` for browser DOM
|
|
51
56
|
mounting.
|
|
52
57
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"version": "0.9.1",
|
|
6
6
|
"command_profile": "workspace-all-features-runtime",
|
|
7
7
|
"offline": true,
|
|
8
|
-
"cargo_lock_sha256": "
|
|
8
|
+
"cargo_lock_sha256": "d6f4a4d87ddb5edbf4599ba1ffe0ba3f1bade3edd5a32103bb4f93a1a7957198",
|
|
9
9
|
"configuration_sha256": "50ee414d81334fe54e34465a8441d8ee5ec237518b06b3759c794056aa3e26a4"
|
|
10
10
|
},
|
|
11
11
|
"licenses": [
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
},
|
|
151
151
|
{
|
|
152
152
|
"name": "aws-lc-sys",
|
|
153
|
-
"version": "0.
|
|
153
|
+
"version": "0.45.0",
|
|
154
154
|
"source": "registry+https://github.com/rust-lang/crates.io-index",
|
|
155
155
|
"license_expression": "ISC AND (Apache-2.0 OR ISC) AND Apache-2.0 AND MIT AND BSD-3-Clause AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR ISC OR MIT-0)",
|
|
156
156
|
"authors": [
|
|
@@ -1346,6 +1346,16 @@
|
|
|
1346
1346
|
"license_expression": "MIT OR Apache-2.0",
|
|
1347
1347
|
"authors": [],
|
|
1348
1348
|
"repository": "https://github.com/rust-lang/cargo"
|
|
1349
|
+
},
|
|
1350
|
+
{
|
|
1351
|
+
"name": "proc-macro-crate",
|
|
1352
|
+
"version": "3.5.0",
|
|
1353
|
+
"source": "registry+https://github.com/rust-lang/crates.io-index",
|
|
1354
|
+
"license_expression": "MIT OR Apache-2.0",
|
|
1355
|
+
"authors": [
|
|
1356
|
+
"Bastian K\u00f6cher <git@kchr.de>"
|
|
1357
|
+
],
|
|
1358
|
+
"repository": "https://github.com/bkchr/proc-macro-crate"
|
|
1349
1359
|
}
|
|
1350
1360
|
]
|
|
1351
1361
|
},
|
|
@@ -2178,7 +2188,7 @@
|
|
|
2178
2188
|
},
|
|
2179
2189
|
{
|
|
2180
2190
|
"name": "rustls",
|
|
2181
|
-
"version": "0.23.
|
|
2191
|
+
"version": "0.23.45",
|
|
2182
2192
|
"source": "registry+https://github.com/rust-lang/crates.io-index",
|
|
2183
2193
|
"license_expression": "Apache-2.0 OR ISC OR MIT",
|
|
2184
2194
|
"authors": [],
|
|
@@ -3113,6 +3123,14 @@
|
|
|
3113
3123
|
"authors": [],
|
|
3114
3124
|
"repository": "https://github.com/toml-rs/toml"
|
|
3115
3125
|
},
|
|
3126
|
+
{
|
|
3127
|
+
"name": "toml_edit",
|
|
3128
|
+
"version": "0.25.13+spec-1.1.0",
|
|
3129
|
+
"source": "registry+https://github.com/rust-lang/crates.io-index",
|
|
3130
|
+
"license_expression": "MIT OR Apache-2.0",
|
|
3131
|
+
"authors": [],
|
|
3132
|
+
"repository": "https://github.com/toml-rs/toml"
|
|
3133
|
+
},
|
|
3116
3134
|
{
|
|
3117
3135
|
"name": "toml_parser",
|
|
3118
3136
|
"version": "1.1.3+spec-1.1.0",
|
|
@@ -3377,7 +3395,7 @@
|
|
|
3377
3395
|
},
|
|
3378
3396
|
{
|
|
3379
3397
|
"name": "aws-lc-sys",
|
|
3380
|
-
"version": "0.
|
|
3398
|
+
"version": "0.45.0",
|
|
3381
3399
|
"source": "registry+https://github.com/rust-lang/crates.io-index",
|
|
3382
3400
|
"license_expression": "ISC AND (Apache-2.0 OR ISC) AND Apache-2.0 AND MIT AND BSD-3-Clause AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR ISC OR MIT-0)",
|
|
3383
3401
|
"authors": [
|
|
@@ -3534,7 +3552,7 @@
|
|
|
3534
3552
|
"packages": [
|
|
3535
3553
|
{
|
|
3536
3554
|
"name": "rustls-webpki",
|
|
3537
|
-
"version": "0.103.
|
|
3555
|
+
"version": "0.103.15",
|
|
3538
3556
|
"source": "registry+https://github.com/rust-lang/crates.io-index",
|
|
3539
3557
|
"license_expression": "ISC",
|
|
3540
3558
|
"authors": [],
|
|
@@ -3568,7 +3586,7 @@
|
|
|
3568
3586
|
"packages": [
|
|
3569
3587
|
{
|
|
3570
3588
|
"name": "aws-lc-rs",
|
|
3571
|
-
"version": "1.
|
|
3589
|
+
"version": "1.18.1",
|
|
3572
3590
|
"source": "registry+https://github.com/rust-lang/crates.io-index",
|
|
3573
3591
|
"license_expression": "ISC AND (Apache-2.0 OR ISC)",
|
|
3574
3592
|
"authors": [
|
|
@@ -3578,7 +3596,7 @@
|
|
|
3578
3596
|
},
|
|
3579
3597
|
{
|
|
3580
3598
|
"name": "aws-lc-sys",
|
|
3581
|
-
"version": "0.
|
|
3599
|
+
"version": "0.45.0",
|
|
3582
3600
|
"source": "registry+https://github.com/rust-lang/crates.io-index",
|
|
3583
3601
|
"license_expression": "ISC AND (Apache-2.0 OR ISC) AND Apache-2.0 AND MIT AND BSD-3-Clause AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR ISC OR MIT-0)",
|
|
3584
3602
|
"authors": [
|
|
@@ -4188,7 +4206,7 @@
|
|
|
4188
4206
|
"packages": [
|
|
4189
4207
|
{
|
|
4190
4208
|
"name": "aws-lc-sys",
|
|
4191
|
-
"version": "0.
|
|
4209
|
+
"version": "0.45.0",
|
|
4192
4210
|
"source": "registry+https://github.com/rust-lang/crates.io-index",
|
|
4193
4211
|
"license_expression": "ISC AND (Apache-2.0 OR ISC) AND Apache-2.0 AND MIT AND BSD-3-Clause AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR ISC OR MIT-0)",
|
|
4194
4212
|
"authors": [
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -19,9 +19,9 @@ Components: `beautiful-mermaid`, `mermaid`, `mermaid-ascii`, `mermaid-rs-rendere
|
|
|
19
19
|
|
|
20
20
|
### `cli-default`
|
|
21
21
|
|
|
22
|
-
The default CLI feature closure
|
|
22
|
+
The default CLI feature closure including ELK and RaTeX math/font support.
|
|
23
23
|
|
|
24
|
-
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`, `sanitize-url`, `venn-js`, `zenuml-core`.
|
|
24
|
+
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`, `sanitize-url`, `venn-js`, `zenuml-core`.
|
|
25
25
|
|
|
26
26
|
### `cli-release`
|
|
27
27
|
|
|
@@ -57,13 +57,13 @@ Components: `cose-base-v1`, `cose-base-v2`, `cytoscape`, `cytoscape-cose-bilkent
|
|
|
57
57
|
|
|
58
58
|
Conservative repository source archive inventory covering every translated, copied, linked, embedded, fixture, and behavior-reference component recorded here.
|
|
59
59
|
|
|
60
|
-
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`, `monaqa-tree-sitter-mermaid`, `non-layered-tidy-tree-layout`, `pappasam-tree-sitter-mermaid`, `ratex`, `rough-rs`, `roughjs`, `sanitize-url`, `singularity-tree-sitter-mermaid`, `tree-sitter-generator`, `tree-sitter-mermaid-mermaid-baseline`, `tree-sitter-mermaid-zenuml-baseline`, `venn-js`, `wasm-minimal-protocol`, `zenuml-core`.
|
|
60
|
+
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`, `monaqa-tree-sitter-mermaid`, `non-layered-tidy-tree-layout`, `pappasam-tree-sitter-mermaid`, `ratex`, `rough-rs`, `roughjs`, `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`, `venn-js`, `wasm-minimal-protocol`, `zenuml-core`.
|
|
61
61
|
|
|
62
62
|
### `tree-sitter-mermaid-source`
|
|
63
63
|
|
|
64
64
|
The independently versioned Tree-sitter Mermaid language source package and its pinned syntax and compatibility references.
|
|
65
65
|
|
|
66
|
-
Components: `monaqa-tree-sitter-mermaid`, `pappasam-tree-sitter-mermaid`, `singularity-tree-sitter-mermaid`, `tree-sitter-generator`, `tree-sitter-mermaid-mermaid-baseline`, `tree-sitter-mermaid-zenuml-baseline`.
|
|
66
|
+
Components: `monaqa-tree-sitter-mermaid`, `pappasam-tree-sitter-mermaid`, `singularity-tree-sitter-mermaid`, `tree-sitter-generator`, `tree-sitter-mermaid-mermaid-12-new-families`, `tree-sitter-mermaid-mermaid-baseline`, `tree-sitter-mermaid-zenuml-baseline`.
|
|
67
67
|
|
|
68
68
|
### `typst-publish`
|
|
69
69
|
|
|
@@ -235,10 +235,10 @@ Dugong is a modified Rust translation of Dagre's directed graph layout pipeline.
|
|
|
235
235
|
|
|
236
236
|
Merman selects DOMPurify's Apache-2.0 option for generated sanitizer defaults; the exact upstream Apache-2.0 license file is preserved.
|
|
237
237
|
|
|
238
|
-
- Version: `3.4.
|
|
238
|
+
- Version: `3.4.15`
|
|
239
239
|
- Source: <https://github.com/cure53/DOMPurify.git>
|
|
240
|
-
- Source ref: `3.4.
|
|
241
|
-
- Source commit: `
|
|
240
|
+
- Source ref: `3.4.15`
|
|
241
|
+
- Source commit: `1d7460c4f8a27be825c11b1c9d346d79db32c1e5`
|
|
242
242
|
- Source path: `.`
|
|
243
243
|
- Relationship: `generated`, `translated`
|
|
244
244
|
- License expression: `(Apache-2.0 OR MPL-2.0)`
|
|
@@ -250,16 +250,16 @@ Merman selects DOMPurify's Apache-2.0 option for generated sanitizer defaults; t
|
|
|
250
250
|
|
|
251
251
|
### Eclipse Layout Kernel (`eclipse-elk`)
|
|
252
252
|
|
|
253
|
-
The merman-elk-layered crate contains
|
|
253
|
+
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, under EPL-2.0.
|
|
254
254
|
|
|
255
255
|
- Version: `0.9.1`
|
|
256
256
|
- Source: <https://github.com/eclipse-elk/elk.git>
|
|
257
257
|
- Source ref: `v0.9.1`
|
|
258
258
|
- Source commit: `62d5909f96fad541bc101ad52dabaece6b7eab7e`
|
|
259
|
-
- Source path: `plugins
|
|
259
|
+
- Source path: `plugins`
|
|
260
260
|
- Relationship: `modified`, `translated`
|
|
261
261
|
- License expression: `EPL-2.0`
|
|
262
|
-
- Artifact scopes: `cli-release`, `elk-render`, `source-archive`, `typst-publish`, `web-full`, `web-render`
|
|
262
|
+
- Artifact scopes: `cli-default`, `cli-release`, `elk-render`, `source-archive`, `typst-publish`, `web-full`, `web-render`
|
|
263
263
|
- Local evidence: `crates/merman-elk-layered`, `crates/merman-layout-elk`
|
|
264
264
|
- Legal files:
|
|
265
265
|
- [`THIRD_PARTY_LICENSES/eclipse-elk/LICENSE.md`](THIRD_PARTY_LICENSES/eclipse-elk/LICENSE.md) (license, SHA-256 `89591d4578fb1ebd91501312a3d25f021bd865a2e436641c1cf7b1bc7e3c1617`)
|
|
@@ -275,7 +275,7 @@ Mermaid's ELK adapter behavior is compared against this JavaScript distribution,
|
|
|
275
275
|
- Source path: `.`
|
|
276
276
|
- Relationship: `behavior-reference`
|
|
277
277
|
- License expression: `EPL-2.0`
|
|
278
|
-
- Artifact scopes: `cli-release`, `elk-render`, `playground-reference`, `source-archive`, `typst-publish`, `web-full`, `web-render`
|
|
278
|
+
- Artifact scopes: `cli-default`, `cli-release`, `elk-render`, `playground-reference`, `source-archive`, `typst-publish`, `web-full`, `web-render`
|
|
279
279
|
- Local evidence: `crates/merman-layout-elk`, `playground`
|
|
280
280
|
- Legal files:
|
|
281
281
|
- [`THIRD_PARTY_LICENSES/elkjs/LICENSE.md`](THIRD_PARTY_LICENSES/elkjs/LICENSE.md) (license, SHA-256 `89591d4578fb1ebd91501312a3d25f021bd865a2e436641c1cf7b1bc7e3c1617`)
|
|
@@ -365,10 +365,10 @@ Manatee also follows the newer layout-base behavior selected by the FCoSE depend
|
|
|
365
365
|
|
|
366
366
|
Merman independently implements Mermaid-compatible behavior while translating selected algorithms, generating defaults, copying architecture icon data, and retaining upstream fixtures and snapshots.
|
|
367
367
|
|
|
368
|
-
- Version: `
|
|
368
|
+
- Version: `12.0.0`
|
|
369
369
|
- Source: <https://github.com/mermaid-js/mermaid.git>
|
|
370
|
-
- Source ref: `mermaid@
|
|
371
|
-
- Source commit: `
|
|
370
|
+
- Source ref: `mermaid@12.0.0`
|
|
371
|
+
- Source commit: `98a0945418c76238f15df2afaddbba4272656c3b`
|
|
372
372
|
- Source path: `packages/mermaid`
|
|
373
373
|
- Relationship: `behavior-reference`, `copied`, `fixtures`, `generated`, `modified`, `translated`
|
|
374
374
|
- License expression: `MIT`
|
|
@@ -554,9 +554,25 @@ The language package uses the pinned generator, copies its generated support hea
|
|
|
554
554
|
- Legal files:
|
|
555
555
|
- [`THIRD_PARTY_LICENSES/tree-sitter/LICENSE`](THIRD_PARTY_LICENSES/tree-sitter/LICENSE) (license, SHA-256 `c5cfb43042b6b72045f4ba997834d0a7786d2793d91680868b5815b39f14fc78`)
|
|
556
556
|
|
|
557
|
+
### Mermaid (tree-sitter-mermaid Agentflow and Usecase additions) (`tree-sitter-mermaid-mermaid-12-new-families`)
|
|
558
|
+
|
|
559
|
+
The language package translates Agentflow and Usecase syntax from the pinned Mermaid 12.0.0 source and carries source-backed editor corpus cases. Existing diagram-family derivations retain their separately recorded Mermaid 11.16.1 source identity.
|
|
560
|
+
|
|
561
|
+
- Version: `12.0.0`
|
|
562
|
+
- Source: <https://github.com/mermaid-js/mermaid.git>
|
|
563
|
+
- Source ref: `mermaid@12.0.0`
|
|
564
|
+
- Source commit: `98a0945418c76238f15df2afaddbba4272656c3b`
|
|
565
|
+
- Source path: `packages/mermaid`
|
|
566
|
+
- Relationship: `behavior-reference`, `fixtures`, `translated`
|
|
567
|
+
- License expression: `MIT`
|
|
568
|
+
- Artifact scopes: `source-archive`, `tree-sitter-mermaid-source`
|
|
569
|
+
- Local evidence: `distribution/tree-sitter-mermaid/grammar/families/agentflow.js`, `distribution/tree-sitter-mermaid/grammar/families/usecase.js`, `distribution/tree-sitter-mermaid/test/corpus/families/agentflow.txt`, `distribution/tree-sitter-mermaid/test/corpus/families/usecase.txt`, `distribution/tree-sitter-mermaid/test/fixtures/family-roots.json`
|
|
570
|
+
- Legal files:
|
|
571
|
+
- [`THIRD_PARTY_LICENSES/mermaid/LICENSE`](THIRD_PARTY_LICENSES/mermaid/LICENSE) (license, SHA-256 `ec9fb67dcb25eccc416ed56e1aab819222c805a2a4bfe4cb19e7556bf2ffde80`)
|
|
572
|
+
|
|
557
573
|
### Mermaid (tree-sitter-mermaid baseline) (`tree-sitter-mermaid-mermaid-baseline`)
|
|
558
574
|
|
|
559
|
-
The language package
|
|
575
|
+
The language package retains the exact Mermaid 11.16.1 syntax baseline for its original 35 diagram families and their representative fixtures. Agentflow and Usecase additions are attributed separately to Mermaid 12.0.0; this component intentionally does not move with the repository baseline.
|
|
560
576
|
|
|
561
577
|
- Version: `11.16.1`
|
|
562
578
|
- Source: <https://github.com/mermaid-js/mermaid.git>
|
package/dist/engine.mjs
CHANGED
|
@@ -999,7 +999,12 @@ function validateTextMeasurement(value, { requiresSvgPipeline }) {
|
|
|
999
999
|
function validateRegistry(value) {
|
|
1000
1000
|
if (
|
|
1001
1001
|
!safeInteger(value.diagram_family_count) ||
|
|
1002
|
-
value.diagram_family_count < 0
|
|
1002
|
+
value.diagram_family_count < 0 ||
|
|
1003
|
+
!Array.isArray(value.diagram_families) ||
|
|
1004
|
+
value.diagram_families.some((family, index) =>
|
|
1005
|
+
typeof family !== "string" || !/^[a-z][A-Za-z0-9]*$/.test(family) ||
|
|
1006
|
+
family === "error" || (index > 0 && value.diagram_families[index - 1] >= family)
|
|
1007
|
+
)
|
|
1003
1008
|
) {
|
|
1004
1009
|
throw new MermanInvalidTransportError(
|
|
1005
1010
|
"Merman runtime catalog has invalid registry metadata.",
|
|
@@ -230,6 +230,20 @@ export const BINDING_OPERATION_METADATA_CONTRACT = {
|
|
|
230
230
|
"integer_width_bits": null,
|
|
231
231
|
"open_value": false
|
|
232
232
|
},
|
|
233
|
+
{
|
|
234
|
+
"name": "requested_layout_profile",
|
|
235
|
+
"json_type": "string",
|
|
236
|
+
"required": true,
|
|
237
|
+
"integer_width_bits": null,
|
|
238
|
+
"open_value": false
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"name": "compact_attempted",
|
|
242
|
+
"json_type": "boolean",
|
|
243
|
+
"required": true,
|
|
244
|
+
"integer_width_bits": null,
|
|
245
|
+
"open_value": false
|
|
246
|
+
},
|
|
233
247
|
{
|
|
234
248
|
"name": "requested_max_width",
|
|
235
249
|
"json_type": "unsigned-integer",
|
|
@@ -2,7 +2,7 @@
|
|
|
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:f36a4518be6e5ad041629d3e5b117f2931703ac29b50c5de1e12c066620586ed";
|
|
6
6
|
|
|
7
7
|
export const NODE_BINDING_OPERATIONS = [
|
|
8
8
|
{
|
package/dist/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mermanjs/node",
|
|
3
|
-
"version": "0.8.0-alpha.
|
|
3
|
+
"version": "0.8.0-alpha.7",
|
|
4
4
|
"description": "Experimental native Node.js and static-site rendering bindings for Merman.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -41,10 +41,10 @@
|
|
|
41
41
|
],
|
|
42
42
|
"license": "MIT OR Apache-2.0",
|
|
43
43
|
"optionalDependencies": {
|
|
44
|
-
"@mermanjs/node-darwin-arm64": "0.8.0-alpha.
|
|
45
|
-
"@mermanjs/node-darwin-x64": "0.8.0-alpha.
|
|
46
|
-
"@mermanjs/node-linux-x64-gnu": "0.8.0-alpha.
|
|
47
|
-
"@mermanjs/node-linux-x64-musl": "0.8.0-alpha.
|
|
48
|
-
"@mermanjs/node-win32-x64-msvc": "0.8.0-alpha.
|
|
44
|
+
"@mermanjs/node-darwin-arm64": "0.8.0-alpha.7",
|
|
45
|
+
"@mermanjs/node-darwin-x64": "0.8.0-alpha.7",
|
|
46
|
+
"@mermanjs/node-linux-x64-gnu": "0.8.0-alpha.7",
|
|
47
|
+
"@mermanjs/node-linux-x64-musl": "0.8.0-alpha.7",
|
|
48
|
+
"@mermanjs/node-win32-x64-msvc": "0.8.0-alpha.7"
|
|
49
49
|
}
|
|
50
50
|
}
|