@mermanjs/web-analysis 0.8.0-alpha.5 → 0.8.0-alpha.6
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/README.md +31 -16
- package/THIRD_PARTY_LICENSES/rust-cargo-dependencies.json +41 -3
- package/THIRD_PARTY_NOTICES.md +3 -3
- package/artifacts/provenance.json +81 -81
- package/artifacts/wasm/merman_wasm.d.ts +1 -0
- package/artifacts/wasm/merman_wasm.js +34 -0
- package/artifacts/wasm/merman_wasm_bg.wasm +0 -0
- package/artifacts/wasm/merman_wasm_bg.wasm.d.ts +1 -0
- package/dist/generated/binding-contract.js +16 -8
- package/dist/generated/binding-contract.js.map +1 -1
- package/dist/generated/capability-surface.d.ts +1 -1
- package/dist/generated/capability-surface.js +1 -1
- package/dist/generated/editor-rename-policy.d.ts +3 -0
- package/dist/generated/editor-rename-policy.d.ts.map +1 -0
- package/dist/generated/resource-contract.d.ts +2 -2
- package/dist/generated/resource-contract.d.ts.map +1 -1
- package/dist/generated/resource-contract.js +52 -0
- package/dist/generated/resource-contract.js.map +1 -1
- package/dist/generated/text-measurement-abi.js +1 -1
- package/dist/generated/text-measurement-abi.js.map +1 -1
- package/dist/index.d.ts +3 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/package-entries/analysis.d.ts +1 -1
- package/dist/package-entries/analysis.d.ts.map +1 -1
- package/dist/package-entries/analysis.js +1 -1
- package/dist/package-entries/analysis.js.map +1 -1
- package/dist/public-catalog.d.ts +44 -6
- package/dist/public-catalog.d.ts.map +1 -1
- package/dist/public-catalog.js +106 -12
- package/dist/public-catalog.js.map +1 -1
- package/dist/public-types.d.ts +59 -103
- package/dist/public-types.d.ts.map +1 -1
- package/dist/runtime-analysis.d.ts.map +1 -1
- package/dist/runtime-analysis.js +12 -1
- package/dist/runtime-analysis.js.map +1 -1
- package/dist/runtime-ascii.d.ts +1 -0
- package/dist/runtime-ascii.d.ts.map +1 -1
- package/dist/runtime-core.d.ts.map +1 -1
- package/dist/runtime-core.js +6 -2
- package/dist/runtime-core.js.map +1 -1
- package/dist/runtime-editor.d.ts +14 -15
- package/dist/runtime-editor.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/generated/token-descriptor.d.ts +0 -205
- package/dist/generated/token-descriptor.d.ts.map +0 -1
package/README.md
CHANGED
|
@@ -1,31 +1,46 @@
|
|
|
1
1
|
# @mermanjs/web-analysis
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Detect, validate, and analyze Mermaid source in a browser without shipping SVG rendering, ASCII
|
|
4
|
+
output, or retained editor sessions.
|
|
4
5
|
|
|
5
|
-
|
|
6
|
+
This package is published on npm's `alpha` dist-tag. Pin an exact version when reproducible installs
|
|
7
|
+
matter.
|
|
6
8
|
|
|
7
|
-
|
|
9
|
+
## Quick start
|
|
8
10
|
|
|
9
11
|
```sh
|
|
10
12
|
npm install @mermanjs/web-analysis@alpha
|
|
11
13
|
```
|
|
12
14
|
|
|
13
|
-
For local source development, build the package group and install this package from the checkout:
|
|
14
|
-
|
|
15
|
-
```sh
|
|
16
|
-
npm ci --prefix /path/to/merman/platforms/web
|
|
17
|
-
npm run build --prefix /path/to/merman/platforms/web
|
|
18
|
-
npm install /path/to/merman/platforms/web/packages/analysis
|
|
19
|
-
```
|
|
20
|
-
|
|
21
15
|
```ts
|
|
22
|
-
import {
|
|
16
|
+
import { analyzeDocument, initMerman } from "@mermanjs/web-analysis";
|
|
23
17
|
|
|
24
18
|
await initMerman();
|
|
25
|
-
|
|
26
|
-
|
|
19
|
+
|
|
20
|
+
const markdownSource =
|
|
21
|
+
"# Diagram\n\n```mermaid\nflowchart TD\n A -->\n```\n";
|
|
22
|
+
const result = analyzeDocument(
|
|
23
|
+
markdownSource,
|
|
24
|
+
"file:///workspace/README.md",
|
|
25
|
+
{ lint: { profile: "recommended" } },
|
|
26
|
+
);
|
|
27
|
+
|
|
28
|
+
if (!result.valid) {
|
|
29
|
+
console.error(result.diagnostics);
|
|
30
|
+
}
|
|
27
31
|
```
|
|
28
32
|
|
|
29
|
-
|
|
33
|
+
The URI extension selects standalone Mermaid, Markdown, or MDX modeling. Diagnostics and fixes use
|
|
34
|
+
host-document coordinates.
|
|
35
|
+
|
|
36
|
+
## Scope
|
|
37
|
+
|
|
38
|
+
Use this package for browser linting, detection, and metadata workflows. It intentionally cannot
|
|
39
|
+
render SVG or ASCII and cannot create editor sessions. Load it only in a browser main thread or Web
|
|
40
|
+
Worker. Node.js and SSR analysis integrations should use `merman-cli`; use `@mermanjs/node` only
|
|
41
|
+
for in-process SVG rendering.
|
|
30
42
|
|
|
31
|
-
See the [browser package guide](https://github.com/Latias94/merman/blob/main/platforms/web/README.md)
|
|
43
|
+
See the [browser package guide](https://github.com/Latias94/merman/blob/main/platforms/web/README.md)
|
|
44
|
+
for custom WASM loading, resource policy, package selection, and source-checkout development. See
|
|
45
|
+
the [integration guide](https://github.com/Latias94/merman/blob/main/docs/integrations/README.md)
|
|
46
|
+
for lint ownership and adapter boundaries.
|
|
@@ -36,13 +36,13 @@
|
|
|
36
36
|
"version": "0.9.1",
|
|
37
37
|
"command_profile": "artifact-profile-runtime",
|
|
38
38
|
"offline": true,
|
|
39
|
-
"cargo_lock_sha256": "
|
|
39
|
+
"cargo_lock_sha256": "ca5a176c6317dd18b1d36dd56f4e83956922c551d53348604484e5c81e28c320",
|
|
40
40
|
"configuration_sha256": "50ee414d81334fe54e34465a8441d8ee5ec237518b06b3759c794056aa3e26a4",
|
|
41
41
|
"artifact_profile_sha256": "0938c4c85310fb3d012916ae15c9db49b116e4e488b2c0371f74f9d6f991a1ad"
|
|
42
42
|
},
|
|
43
43
|
"dependency_closure": {
|
|
44
|
-
"package_count":
|
|
45
|
-
"packages_sha256": "
|
|
44
|
+
"package_count": 101,
|
|
45
|
+
"packages_sha256": "3305d2d52edca7fde1a0f03039257419a0775e89b43f4c7c1e4c8d19bac5ca90"
|
|
46
46
|
},
|
|
47
47
|
"licenses": [
|
|
48
48
|
{
|
|
@@ -329,6 +329,22 @@
|
|
|
329
329
|
}
|
|
330
330
|
]
|
|
331
331
|
},
|
|
332
|
+
{
|
|
333
|
+
"id": "Apache-2.0",
|
|
334
|
+
"name": "Apache License 2.0",
|
|
335
|
+
"text_sha256": "54a744942eb3fa63a74d8d359989ed6962c04f3f10ff20cfa08ff8aa7efbe4e6",
|
|
336
|
+
"text": " Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2023 dAxpeDDa\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n",
|
|
337
|
+
"packages": [
|
|
338
|
+
{
|
|
339
|
+
"name": "web-time",
|
|
340
|
+
"version": "1.1.0",
|
|
341
|
+
"source": "registry+https://github.com/rust-lang/crates.io-index",
|
|
342
|
+
"license_expression": "MIT OR Apache-2.0",
|
|
343
|
+
"authors": [],
|
|
344
|
+
"repository": "https://github.com/daxpedda/web-time"
|
|
345
|
+
}
|
|
346
|
+
]
|
|
347
|
+
},
|
|
332
348
|
{
|
|
333
349
|
"id": "Apache-2.0",
|
|
334
350
|
"name": "Apache License 2.0",
|
|
@@ -569,6 +585,28 @@
|
|
|
569
585
|
],
|
|
570
586
|
"repository": "https://github.com/BurntSushi/ucd-generate"
|
|
571
587
|
},
|
|
588
|
+
{
|
|
589
|
+
"name": "unicode-segmentation",
|
|
590
|
+
"version": "1.13.3",
|
|
591
|
+
"source": "registry+https://github.com/rust-lang/crates.io-index",
|
|
592
|
+
"license_expression": "MIT OR Apache-2.0",
|
|
593
|
+
"authors": [
|
|
594
|
+
"Manish Goregaokar <manishsmail@gmail.com>",
|
|
595
|
+
"kwantam <kwantam@gmail.com>"
|
|
596
|
+
],
|
|
597
|
+
"repository": "https://github.com/unicode-rs/unicode-segmentation"
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
"name": "unicode-width",
|
|
601
|
+
"version": "0.2.2",
|
|
602
|
+
"source": "registry+https://github.com/rust-lang/crates.io-index",
|
|
603
|
+
"license_expression": "MIT OR Apache-2.0",
|
|
604
|
+
"authors": [
|
|
605
|
+
"Manish Goregaokar <manishsmail@gmail.com>",
|
|
606
|
+
"kwantam <kwantam@gmail.com>"
|
|
607
|
+
],
|
|
608
|
+
"repository": "https://github.com/unicode-rs/unicode-width"
|
|
609
|
+
},
|
|
572
610
|
{
|
|
573
611
|
"name": "url",
|
|
574
612
|
"version": "2.5.8",
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -28,10 +28,10 @@ Merman selects DOMPurify's Apache-2.0 option for generated sanitizer defaults; t
|
|
|
28
28
|
|
|
29
29
|
Merman independently implements Mermaid-compatible behavior while translating selected algorithms, generating defaults, copying architecture icon data, and retaining upstream fixtures and snapshots.
|
|
30
30
|
|
|
31
|
-
- Version: `11.
|
|
31
|
+
- Version: `11.17.2`
|
|
32
32
|
- Source: <https://github.com/mermaid-js/mermaid.git>
|
|
33
|
-
- Source ref: `mermaid@11.
|
|
34
|
-
- Source commit: `
|
|
33
|
+
- Source ref: `mermaid@11.17.2`
|
|
34
|
+
- Source commit: `dcb694ddb58dc5ad3502e7e903cac05fd812eac3`
|
|
35
35
|
- Source path: `packages/mermaid`
|
|
36
36
|
- Relationship: `behavior-reference`, `copied`, `fixtures`, `generated`, `modified`, `translated`
|
|
37
37
|
- License expression: `MIT`
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"package": {
|
|
4
4
|
"id": "analysis",
|
|
5
5
|
"name": "@mermanjs/web-analysis",
|
|
6
|
-
"version": "0.8.0-alpha.
|
|
6
|
+
"version": "0.8.0-alpha.6",
|
|
7
7
|
"visibility": "public"
|
|
8
8
|
},
|
|
9
9
|
"artifact_profile": "web-analysis",
|
|
@@ -14,38 +14,38 @@
|
|
|
14
14
|
"artifact_files": [
|
|
15
15
|
{
|
|
16
16
|
"path": "artifacts/wasm/merman_wasm.d.ts",
|
|
17
|
-
"bytes":
|
|
18
|
-
"sha256": "sha256:
|
|
17
|
+
"bytes": 4745,
|
|
18
|
+
"sha256": "sha256:c433132ff80165ff1ca834dcc074e124e51b4ab4f6651e7f2f10236709f01df4"
|
|
19
19
|
},
|
|
20
20
|
{
|
|
21
21
|
"path": "artifacts/wasm/merman_wasm.js",
|
|
22
|
-
"bytes":
|
|
23
|
-
"sha256": "sha256:
|
|
22
|
+
"bytes": 21873,
|
|
23
|
+
"sha256": "sha256:7dfc75be45f99ce04cdcb55a27086e5cac07832fee66434554bdcda5990bde8c"
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
"path": "artifacts/wasm/merman_wasm_bg.wasm",
|
|
27
|
-
"bytes":
|
|
28
|
-
"sha256": "sha256:
|
|
27
|
+
"bytes": 3439728,
|
|
28
|
+
"sha256": "sha256:a736a687b115a01bf783f2c0d0a5e464bb4a1d4deb41fb9e99a7bcafed54686a"
|
|
29
29
|
},
|
|
30
30
|
{
|
|
31
31
|
"path": "artifacts/wasm/merman_wasm_bg.wasm.d.ts",
|
|
32
|
-
"bytes":
|
|
33
|
-
"sha256": "sha256:
|
|
32
|
+
"bytes": 2354,
|
|
33
|
+
"sha256": "sha256:e33590636c743720870025119c3c4feb1cc6a5b48445c057bba7048997e7a978"
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
36
|
"path": "dist/generated/binding-contract.js",
|
|
37
|
-
"bytes":
|
|
38
|
-
"sha256": "sha256:
|
|
37
|
+
"bytes": 14615,
|
|
38
|
+
"sha256": "sha256:5e59823c1498ecda3399253716b86f20f4c130ec4bdcbac0b251e7b5213cbf71"
|
|
39
39
|
},
|
|
40
40
|
{
|
|
41
41
|
"path": "dist/generated/binding-contract.js.map",
|
|
42
|
-
"bytes":
|
|
43
|
-
"sha256": "sha256:
|
|
42
|
+
"bytes": 8105,
|
|
43
|
+
"sha256": "sha256:b92351827655b1a0db8eb42ac1f72954c1abd13ff96a4357ed965cbb67db0366"
|
|
44
44
|
},
|
|
45
45
|
{
|
|
46
46
|
"path": "dist/generated/capability-surface.d.ts",
|
|
47
47
|
"bytes": 4386,
|
|
48
|
-
"sha256": "sha256:
|
|
48
|
+
"sha256": "sha256:5058e31ee7a3853eb2b80eb3027a4d477ea1cf3bedba691a83b996e1224b24ef"
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
51
|
"path": "dist/generated/capability-surface.d.ts.map",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
{
|
|
56
56
|
"path": "dist/generated/capability-surface.js",
|
|
57
57
|
"bytes": 4018,
|
|
58
|
-
"sha256": "sha256:
|
|
58
|
+
"sha256": "sha256:5eaa3fa5f133b35ed5f7e86725375ee38de6e3e2fb3a71c70ac70b9c4f030003"
|
|
59
59
|
},
|
|
60
60
|
{
|
|
61
61
|
"path": "dist/generated/capability-surface.js.map",
|
|
@@ -82,25 +82,35 @@
|
|
|
82
82
|
"bytes": 553,
|
|
83
83
|
"sha256": "sha256:2aeb3ec6f0afa7e50fa57b9c84582af5ba952d247e69ef68133c6cf36c01cdab"
|
|
84
84
|
},
|
|
85
|
+
{
|
|
86
|
+
"path": "dist/generated/editor-rename-policy.d.ts",
|
|
87
|
+
"bytes": 430,
|
|
88
|
+
"sha256": "sha256:383186390bb74771db351d5ff5b5f471abb001c3ab4e2cab4941ba2c2d0f7505"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"path": "dist/generated/editor-rename-policy.d.ts.map",
|
|
92
|
+
"bytes": 250,
|
|
93
|
+
"sha256": "sha256:2bc0426428c06f64e1e39b25a01beac83c5df003af1c995caa15689e7f099bba"
|
|
94
|
+
},
|
|
85
95
|
{
|
|
86
96
|
"path": "dist/generated/resource-contract.d.ts",
|
|
87
|
-
"bytes":
|
|
88
|
-
"sha256": "sha256:
|
|
97
|
+
"bytes": 2549,
|
|
98
|
+
"sha256": "sha256:f522de0f1a6da70f31f28f659482a16acc1ccdc91792b20c6a47b2e7093645e5"
|
|
89
99
|
},
|
|
90
100
|
{
|
|
91
101
|
"path": "dist/generated/resource-contract.d.ts.map",
|
|
92
|
-
"bytes":
|
|
93
|
-
"sha256": "sha256:
|
|
102
|
+
"bytes": 1514,
|
|
103
|
+
"sha256": "sha256:136a222d5129cf66671e246f1a5ecc36907ad68baf776b02b0bd8fb3c39c0d12"
|
|
94
104
|
},
|
|
95
105
|
{
|
|
96
106
|
"path": "dist/generated/resource-contract.js",
|
|
97
|
-
"bytes":
|
|
98
|
-
"sha256": "sha256:
|
|
107
|
+
"bytes": 10877,
|
|
108
|
+
"sha256": "sha256:7b5d820e7ccff630dec334a975f53d2e95de8006271d4d010d8d659882cd9135"
|
|
99
109
|
},
|
|
100
110
|
{
|
|
101
111
|
"path": "dist/generated/resource-contract.js.map",
|
|
102
|
-
"bytes":
|
|
103
|
-
"sha256": "sha256:
|
|
112
|
+
"bytes": 8980,
|
|
113
|
+
"sha256": "sha256:18872d00dd23a19992e8dd414c43211bf1a3704e6599afdddbb733db3b98eb9e"
|
|
104
114
|
},
|
|
105
115
|
{
|
|
106
116
|
"path": "dist/generated/text-measurement-abi.d.ts",
|
|
@@ -114,83 +124,73 @@
|
|
|
114
124
|
},
|
|
115
125
|
{
|
|
116
126
|
"path": "dist/generated/text-measurement-abi.js",
|
|
117
|
-
"bytes":
|
|
118
|
-
"sha256": "sha256:
|
|
127
|
+
"bytes": 2991,
|
|
128
|
+
"sha256": "sha256:0a229a75d934b38b06ea2199c2015ec21bc8485310b050550439f970b1cc2cea"
|
|
119
129
|
},
|
|
120
130
|
{
|
|
121
131
|
"path": "dist/generated/text-measurement-abi.js.map",
|
|
122
132
|
"bytes": 3049,
|
|
123
|
-
"sha256": "sha256:
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
"path": "dist/generated/token-descriptor.d.ts",
|
|
127
|
-
"bytes": 7838,
|
|
128
|
-
"sha256": "sha256:8f6417bd731fd6ecf8f99beece163f738d6eda3fa74a91c73452c75c05cf4e27"
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
"path": "dist/generated/token-descriptor.d.ts.map",
|
|
132
|
-
"bytes": 883,
|
|
133
|
-
"sha256": "sha256:9857609cd17763a4e5b02e54023b6fa9cb280effcd1c0a2b8af95a8d53d8f71b"
|
|
133
|
+
"sha256": "sha256:5b1c3924a8e3fa27dd731a50fc7b4b4eaed43ee68d3a0c097c19e4f308013459"
|
|
134
134
|
},
|
|
135
135
|
{
|
|
136
136
|
"path": "dist/index.d.ts",
|
|
137
|
-
"bytes":
|
|
138
|
-
"sha256": "sha256:
|
|
137
|
+
"bytes": 2588,
|
|
138
|
+
"sha256": "sha256:009bac4f3347d43cb6bb973b90a7eb04608dd06ae2f21d71b6549bbc0861aca7"
|
|
139
139
|
},
|
|
140
140
|
{
|
|
141
141
|
"path": "dist/index.d.ts.map",
|
|
142
|
-
"bytes":
|
|
143
|
-
"sha256": "sha256:
|
|
142
|
+
"bytes": 1662,
|
|
143
|
+
"sha256": "sha256:5a07101344135c58c9c45d6e9f2a6d895564f6c017aa1013a4a3d9038ee78d89"
|
|
144
144
|
},
|
|
145
145
|
{
|
|
146
146
|
"path": "dist/package-entries/analysis.d.ts",
|
|
147
|
-
"bytes":
|
|
148
|
-
"sha256": "sha256:
|
|
147
|
+
"bytes": 4204,
|
|
148
|
+
"sha256": "sha256:325f44713275d099a3cbe01a5fba652839dc1f98391ac6e0a229c1de2ec8fd57"
|
|
149
149
|
},
|
|
150
150
|
{
|
|
151
151
|
"path": "dist/package-entries/analysis.d.ts.map",
|
|
152
|
-
"bytes":
|
|
153
|
-
"sha256": "sha256:
|
|
152
|
+
"bytes": 2355,
|
|
153
|
+
"sha256": "sha256:169fde1501192221fe5d8e308f09fdfef7fe38894238eba0f906cd34add3412e"
|
|
154
154
|
},
|
|
155
155
|
{
|
|
156
156
|
"path": "dist/package-entries/analysis.js",
|
|
157
|
-
"bytes":
|
|
158
|
-
"sha256": "sha256:
|
|
157
|
+
"bytes": 4467,
|
|
158
|
+
"sha256": "sha256:82e4bba12c9835946a23c06990aadaee8779ee4d376fa25e9ff1e893d897b45b"
|
|
159
159
|
},
|
|
160
160
|
{
|
|
161
161
|
"path": "dist/package-entries/analysis.js.map",
|
|
162
|
-
"bytes":
|
|
163
|
-
"sha256": "sha256:
|
|
162
|
+
"bytes": 3174,
|
|
163
|
+
"sha256": "sha256:a456b570729961ee04cc50cbf6faf9bd7a05e43e0c389bcc4811fd387bc6e13f"
|
|
164
164
|
},
|
|
165
165
|
{
|
|
166
166
|
"path": "dist/public-catalog.d.ts",
|
|
167
|
-
"bytes":
|
|
168
|
-
"sha256": "sha256:
|
|
167
|
+
"bytes": 8004,
|
|
168
|
+
"sha256": "sha256:a30aa4f45b6455c48227949ffcc74085aeab09268a2234da42c400264c178989"
|
|
169
169
|
},
|
|
170
170
|
{
|
|
171
171
|
"path": "dist/public-catalog.d.ts.map",
|
|
172
|
-
"bytes":
|
|
173
|
-
"sha256": "sha256:
|
|
172
|
+
"bytes": 5964,
|
|
173
|
+
"sha256": "sha256:e0c3ab5ac7fe472e651c2d529557e37f4e69df2665cadd42ea1102578fac120f"
|
|
174
174
|
},
|
|
175
175
|
{
|
|
176
176
|
"path": "dist/public-catalog.js",
|
|
177
|
-
"bytes":
|
|
178
|
-
"sha256": "sha256:
|
|
177
|
+
"bytes": 8802,
|
|
178
|
+
"sha256": "sha256:38fc4d83718f160483be6afeaaaab7ab6394bcb431c2ee88228d4eafdc3a5403"
|
|
179
179
|
},
|
|
180
180
|
{
|
|
181
181
|
"path": "dist/public-catalog.js.map",
|
|
182
|
-
"bytes":
|
|
183
|
-
"sha256": "sha256:
|
|
182
|
+
"bytes": 6969,
|
|
183
|
+
"sha256": "sha256:a874521b275dda8d8f31aa655b8ca7006467afc9ac4a73f8dc98a9ea48dd594b"
|
|
184
184
|
},
|
|
185
185
|
{
|
|
186
186
|
"path": "dist/public-types.d.ts",
|
|
187
|
-
"bytes":
|
|
188
|
-
"sha256": "sha256:
|
|
187
|
+
"bytes": 27551,
|
|
188
|
+
"sha256": "sha256:59f21c27e382e55017a0963eabd6082c8d19c8e530b2ea061f2cd2b0b6e2d815"
|
|
189
189
|
},
|
|
190
190
|
{
|
|
191
191
|
"path": "dist/public-types.d.ts.map",
|
|
192
|
-
"bytes":
|
|
193
|
-
"sha256": "sha256:
|
|
192
|
+
"bytes": 24634,
|
|
193
|
+
"sha256": "sha256:b462f92453476b79908741afa8cda60a6b86fe1078717e9963a5ff5396d4c382"
|
|
194
194
|
},
|
|
195
195
|
{
|
|
196
196
|
"path": "dist/runtime-analysis.d.ts",
|
|
@@ -200,27 +200,27 @@
|
|
|
200
200
|
{
|
|
201
201
|
"path": "dist/runtime-analysis.d.ts.map",
|
|
202
202
|
"bytes": 1009,
|
|
203
|
-
"sha256": "sha256:
|
|
203
|
+
"sha256": "sha256:9dfd1a7c6b1dc365e7aa9d9182f7aeccbf9ffab4aed7ac2823357679110de5cf"
|
|
204
204
|
},
|
|
205
205
|
{
|
|
206
206
|
"path": "dist/runtime-analysis.js",
|
|
207
|
-
"bytes":
|
|
208
|
-
"sha256": "sha256:
|
|
207
|
+
"bytes": 8334,
|
|
208
|
+
"sha256": "sha256:352a720143f78f72555e43410472d3d2d9c2989c9ad05f9df2767452983664af"
|
|
209
209
|
},
|
|
210
210
|
{
|
|
211
211
|
"path": "dist/runtime-analysis.js.map",
|
|
212
|
-
"bytes":
|
|
213
|
-
"sha256": "sha256:
|
|
212
|
+
"bytes": 7449,
|
|
213
|
+
"sha256": "sha256:c9746b524f301d2a992b22140c05e750012c0a8522651ecb80c80247a8b06516"
|
|
214
214
|
},
|
|
215
215
|
{
|
|
216
216
|
"path": "dist/runtime-ascii.d.ts",
|
|
217
|
-
"bytes":
|
|
218
|
-
"sha256": "sha256:
|
|
217
|
+
"bytes": 491,
|
|
218
|
+
"sha256": "sha256:07d80aca268a82288ae79992a73a3434b89a06bdad348f462acf0407e62d491b"
|
|
219
219
|
},
|
|
220
220
|
{
|
|
221
221
|
"path": "dist/runtime-ascii.d.ts.map",
|
|
222
|
-
"bytes":
|
|
223
|
-
"sha256": "sha256:
|
|
222
|
+
"bytes": 445,
|
|
223
|
+
"sha256": "sha256:20cb334571393132ab7ca04898ddec65e158b75ba1771b9f6c8cce3a4dd8a350"
|
|
224
224
|
},
|
|
225
225
|
{
|
|
226
226
|
"path": "dist/runtime-core.d.ts",
|
|
@@ -230,27 +230,27 @@
|
|
|
230
230
|
{
|
|
231
231
|
"path": "dist/runtime-core.d.ts.map",
|
|
232
232
|
"bytes": 1022,
|
|
233
|
-
"sha256": "sha256:
|
|
233
|
+
"sha256": "sha256:49493bfb47cf313e93f63571cec882eb9778464787c0480707ce12075735813e"
|
|
234
234
|
},
|
|
235
235
|
{
|
|
236
236
|
"path": "dist/runtime-core.js",
|
|
237
|
-
"bytes":
|
|
238
|
-
"sha256": "sha256:
|
|
237
|
+
"bytes": 46266,
|
|
238
|
+
"sha256": "sha256:321d8c94542a08732f5517a5025a2ad2add65e2f6a5d91fa09dc8aacb5a09f18"
|
|
239
239
|
},
|
|
240
240
|
{
|
|
241
241
|
"path": "dist/runtime-core.js.map",
|
|
242
|
-
"bytes":
|
|
243
|
-
"sha256": "sha256:
|
|
242
|
+
"bytes": 37575,
|
|
243
|
+
"sha256": "sha256:87694db2d199a31bc561699e1fb913075600cbe8da30b94a1e5de7ba65507137"
|
|
244
244
|
},
|
|
245
245
|
{
|
|
246
246
|
"path": "dist/runtime-editor.d.ts",
|
|
247
|
-
"bytes":
|
|
248
|
-
"sha256": "sha256:
|
|
247
|
+
"bytes": 2315,
|
|
248
|
+
"sha256": "sha256:fa9d20b74083a2594a4d29f2c152472eb3c211ebb189c18a0690c03504b12705"
|
|
249
249
|
},
|
|
250
250
|
{
|
|
251
251
|
"path": "dist/runtime-editor.d.ts.map",
|
|
252
|
-
"bytes":
|
|
253
|
-
"sha256": "sha256:
|
|
252
|
+
"bytes": 2066,
|
|
253
|
+
"sha256": "sha256:c32d4b1fb11e76bd3febce434f3cacdff67521fde6269cd1245b2b3140f83425"
|
|
254
254
|
},
|
|
255
255
|
{
|
|
256
256
|
"path": "dist/runtime-render.d.ts",
|
|
@@ -305,11 +305,11 @@
|
|
|
305
305
|
],
|
|
306
306
|
"wasm": {
|
|
307
307
|
"path": "wasm/merman_wasm_bg.wasm",
|
|
308
|
-
"input_digest": "
|
|
309
|
-
"source_digest": "
|
|
308
|
+
"input_digest": "56e8d92cb681577ccd58675c7a7b305b55e1d1121a0faadd39002f1c052acae9",
|
|
309
|
+
"source_digest": "ebf8f618dacfbeb8f2703bae6b7cf857908a8f4094d8eb0ece838106cc7a5550",
|
|
310
310
|
"tool_versions": {
|
|
311
311
|
"cargo": "cargo 1.95.0 (f2d3ce0bd 2026-03-21)",
|
|
312
|
-
"node": "v24.
|
|
312
|
+
"node": "v24.20.0",
|
|
313
313
|
"rustc": "rustc 1.95.0 (59807616e 2026-04-14)\nbinary: rustc\ncommit-hash: 59807616e1fa2540724bfbac14d7976d7e4a3860\ncommit-date: 2026-04-14\nhost: x86_64-unknown-linux-gnu\nrelease: 1.95.0\nLLVM version: 22.1.2",
|
|
314
314
|
"wasm_pack": "wasm-pack 0.15.0"
|
|
315
315
|
}
|
|
@@ -74,6 +74,7 @@ export interface InitOutput {
|
|
|
74
74
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
75
75
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
76
76
|
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
77
|
+
readonly __externref_table_alloc: () => number;
|
|
77
78
|
readonly __wbindgen_externrefs: WebAssembly.Table;
|
|
78
79
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
79
80
|
readonly __wbindgen_start: () => void;
|
|
@@ -370,6 +370,10 @@ function __wbg_get_imports() {
|
|
|
370
370
|
const ret = typeof(arg0) === 'string';
|
|
371
371
|
return ret;
|
|
372
372
|
},
|
|
373
|
+
__wbg___wbindgen_is_undefined_c05833b95a3cf397: function(arg0) {
|
|
374
|
+
const ret = arg0 === undefined;
|
|
375
|
+
return ret;
|
|
376
|
+
},
|
|
373
377
|
__wbg___wbindgen_throw_344f42d3211c4765: function(arg0, arg1) {
|
|
374
378
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
375
379
|
},
|
|
@@ -400,6 +404,14 @@ function __wbg_get_imports() {
|
|
|
400
404
|
const ret = new Object();
|
|
401
405
|
return ret;
|
|
402
406
|
},
|
|
407
|
+
__wbg_now_e7c6795a7f81e10f: function(arg0) {
|
|
408
|
+
const ret = arg0.now();
|
|
409
|
+
return ret;
|
|
410
|
+
},
|
|
411
|
+
__wbg_performance_3fcf6e32a7e1ed0a: function(arg0) {
|
|
412
|
+
const ret = arg0.performance;
|
|
413
|
+
return ret;
|
|
414
|
+
},
|
|
403
415
|
__wbg_set_575dd786d51585f8: function(arg0, arg1, arg2) {
|
|
404
416
|
const ret = arg0.set(arg1, arg2);
|
|
405
417
|
return ret;
|
|
@@ -417,6 +429,22 @@ function __wbg_get_imports() {
|
|
|
417
429
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
418
430
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
419
431
|
},
|
|
432
|
+
__wbg_static_accessor_GLOBAL_4ef717fb391d88b7: function() {
|
|
433
|
+
const ret = typeof global === 'undefined' ? null : global;
|
|
434
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
435
|
+
},
|
|
436
|
+
__wbg_static_accessor_GLOBAL_THIS_8d1badc68b5a74f4: function() {
|
|
437
|
+
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
438
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
439
|
+
},
|
|
440
|
+
__wbg_static_accessor_SELF_146583524fe1469b: function() {
|
|
441
|
+
const ret = typeof self === 'undefined' ? null : self;
|
|
442
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
443
|
+
},
|
|
444
|
+
__wbg_static_accessor_WINDOW_f2829a2234d7819e: function() {
|
|
445
|
+
const ret = typeof window === 'undefined' ? null : window;
|
|
446
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
447
|
+
},
|
|
420
448
|
__wbindgen_cast_0000000000000001: function(arg0) {
|
|
421
449
|
// Cast intrinsic for `F64 -> Externref`.
|
|
422
450
|
const ret = arg0;
|
|
@@ -453,6 +481,12 @@ function __wbg_get_imports() {
|
|
|
453
481
|
};
|
|
454
482
|
}
|
|
455
483
|
|
|
484
|
+
function addToExternrefTable0(obj) {
|
|
485
|
+
const idx = wasm.__externref_table_alloc();
|
|
486
|
+
wasm.__wbindgen_externrefs.set(idx, obj);
|
|
487
|
+
return idx;
|
|
488
|
+
}
|
|
489
|
+
|
|
456
490
|
let cachedDataViewMemory0 = null;
|
|
457
491
|
function getDataViewMemory0() {
|
|
458
492
|
if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) {
|
|
Binary file
|
|
@@ -26,6 +26,7 @@ export const analyzeJson: (a: number, b: number, c: number, d: number) => [numbe
|
|
|
26
26
|
export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
27
27
|
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
28
28
|
export const __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
29
|
+
export const __externref_table_alloc: () => number;
|
|
29
30
|
export const __wbindgen_externrefs: WebAssembly.Table;
|
|
30
31
|
export const __externref_table_dealloc: (a: number) => void;
|
|
31
32
|
export const __wbindgen_start: () => void;
|
|
@@ -65,6 +65,14 @@ export const CAPABILITY_SPECS = [
|
|
|
65
65
|
"id": "png",
|
|
66
66
|
"implication_ids": []
|
|
67
67
|
},
|
|
68
|
+
{
|
|
69
|
+
"id": "rustdoc",
|
|
70
|
+
"implication_ids": [
|
|
71
|
+
"layout-cytoscape",
|
|
72
|
+
"markdown",
|
|
73
|
+
"math"
|
|
74
|
+
]
|
|
75
|
+
},
|
|
68
76
|
{
|
|
69
77
|
"id": "shell-completions",
|
|
70
78
|
"implication_ids": []
|
|
@@ -236,22 +244,22 @@ export const BINDING_OPTION_GROUP_SPECS = [
|
|
|
236
244
|
}
|
|
237
245
|
];
|
|
238
246
|
export const TEXT_MEASUREMENT_PROVIDER_SPECS = [
|
|
247
|
+
{
|
|
248
|
+
"id": "deterministic",
|
|
249
|
+
"source": "svg-pipeline",
|
|
250
|
+
"constructor_service_id": null
|
|
251
|
+
},
|
|
239
252
|
{
|
|
240
253
|
"id": "host-callback",
|
|
241
254
|
"source": "constructor-service",
|
|
242
255
|
"constructor_service_id": "host-text-measurement"
|
|
243
|
-
},
|
|
244
|
-
{
|
|
245
|
-
"id": "vendored",
|
|
246
|
-
"source": "svg-pipeline",
|
|
247
|
-
"constructor_service_id": null
|
|
248
256
|
}
|
|
249
257
|
];
|
|
250
258
|
export const TEXT_MEASUREMENT_PROVIDER_IDS = [
|
|
251
|
-
"
|
|
252
|
-
"
|
|
259
|
+
"deterministic",
|
|
260
|
+
"host-callback"
|
|
253
261
|
];
|
|
254
|
-
export const
|
|
262
|
+
export const DETERMINISTIC_TEXT_MEASUREMENT_PROVIDER_ID = "deterministic";
|
|
255
263
|
export const HOST_CALLBACK_TEXT_MEASUREMENT_PROVIDER_ID = "host-callback";
|
|
256
264
|
export const CONSTRUCTOR_SERVICE_SPECS = [
|
|
257
265
|
{
|