@takazudo/zfb-md-wasm 4.1.0 → 4.2.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/README.md
CHANGED
|
@@ -31,12 +31,12 @@ migration. `./highlight` is also backward-compatible. New `./render` and
|
|
|
31
31
|
`zfb-render` but intentionally retain `zfb-content` and `syntect-fancy`.
|
|
32
32
|
`./parse` is not syntect-free.
|
|
33
33
|
|
|
34
|
-
| Entry | gzip-9 wasm (4.
|
|
34
|
+
| Entry | gzip-9 wasm (4.2.0) | Exact runtime values | Exact exported types |
|
|
35
35
|
| ------------- | -------------------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
36
36
|
| `.` | 1,518,982 B | `init`, `compile`, `renderHtml`, `parseToAst`, `highlightCode`, `version`, `__forceTrapForTests`, `__getTrapRecoveryStateForTests`, `toMdastRoot`, `ZfbMdWasmTrapError`, `ZfbMdWasmTrapRecoveryLimitError`, `MdastAdapterError` | Full current compile/render/parse/raw-mdast/highlight surface |
|
|
37
37
|
| `./highlight` | 817,810 B | `init`, `highlightCode`, `version`, `__forceTrapForTests`, `__getTrapRecoveryStateForTests`, `ZfbMdWasmTrapError`, `ZfbMdWasmTrapRecoveryLimitError` | `HighlightRole`, `HighlightCodeOptions`, `HighlightCodeResult`, `HighlightDiagnostic`, `HighlightDiagnosticSource` |
|
|
38
|
-
| `./render` | 1,093,
|
|
39
|
-
| `./parse` | 284,
|
|
38
|
+
| `./render` | 1,093,973 B | `init`, `renderHtml`, `version`, `ZfbMdWasmTrapError`, `ZfbMdWasmTrapRecoveryLimitError`, `__forceTrapForTests`, `__getTrapRecoveryStateForTests` | `RenderHtmlResult`, `Diagnostic`, `DiagnosticSource`, `ZfbMdWasmOptions`, `ParseDialect`, `PipelineOptions`, `GfmOptions`, `CodeHighlightMode`, `CodeHighlightOptions`, `MarkdownFeaturesConfig`, `HighlightRole` |
|
|
39
|
+
| `./parse` | 284,334 B | `init`, `parseToAst`, `toMdastRoot`, `MdastAdapterError`, `version`, `ZfbMdWasmTrapError`, `ZfbMdWasmTrapRecoveryLimitError`, `__forceTrapForTests`, `__getTrapRecoveryStateForTests` | `ParseToAstResult`, `ParseToAstOptions`, `ParseDialect`, `FrontmatterPolicy`, `ParsePipelineOptions`, `Diagnostic`, `DiagnosticSource`, `AstPoint`, `AstPosition`, `RawMdastData`, `MarkdownRsStop`, `MdastNode`, `MdastRoot`, `UnknownMdastNode`, `Root`, `Paragraph`, `Heading`, `ThematicBreak`, `Blockquote`, `List`, `ListItem`, `Html`, `Code`, `Definition`, `Text`, `DirectiveNodeBase`, `ContainerDirective`, `LeafDirective`, `TextDirective`, `Emphasis`, `Strong`, `InlineCode`, `Break`, `Link`, `Image`, `ReferenceKind`, `LinkReference`, `ImageReference`, `FootnoteDefinition`, `FootnoteReference`, `TableAlign`, `Table`, `TableRow`, `TableCell`, `Delete`, `Yaml`, `MdxFlowExpression`, `MdxTextExpression`, `MdxJsxFlowElement`, `MdxJsxTextElement`, `MdxJsxAttributeContent`, `MdxJsxAttribute`, `MdxJsxAttributeValueExpression`, `MdxJsxExpressionAttribute` |
|
|
40
40
|
|
|
41
41
|
The focused entries own private resource pairs:
|
|
42
42
|
|
|
@@ -743,7 +743,7 @@ three-step repair sequence:
|
|
|
743
743
|
they are compressor output (CI prints a warning inside the band), while
|
|
744
744
|
final wasm and glue remain byte-exact.
|
|
745
745
|
|
|
746
|
-
These are the shipped **4.
|
|
746
|
+
These are the shipped **4.2.0** artifact rows — optimized final wasm after
|
|
747
747
|
wasm-bindgen and wasm-opt, Node `gzipSync(..., { level: 9 })`, and glue
|
|
748
748
|
bytes/gzip:
|
|
749
749
|
|
|
@@ -751,15 +751,15 @@ bytes/gzip:
|
|
|
751
751
|
| ----------- | ----------: | ----------: | -------: | ----------: |
|
|
752
752
|
| root (full) | 3,390,113 B | 1,518,982 B | 14,998 B | 4,199 B |
|
|
753
753
|
| highlight | 1,537,593 B | 817,810 B | 8,758 B | 2,637 B |
|
|
754
|
-
| render | 2,197,301 B | 1,093,
|
|
755
|
-
| parse | 700,375 B | 284,
|
|
754
|
+
| render | 2,197,301 B | 1,093,973 B | 8,772 B | 2,661 B |
|
|
755
|
+
| parse | 700,375 B | 284,334 B | 11,159 B | 3,797 B |
|
|
756
756
|
|
|
757
757
|
The #2447 decision snapshot measured the split package at 3,638,607 B versus
|
|
758
758
|
2,314,818 B for the root-plus-highlight package. Locked gzip-9 ceilings are
|
|
759
759
|
root 1,600,000 B, highlight 880,000 B, render 1,100,000 B, and parse
|
|
760
760
|
325,000 B; the complete packed tarball ceiling is 3,900,000 B. All four ship
|
|
761
|
-
inside their ceilings, with 81,018 B (root), 62,190 B (highlight), 6,
|
|
762
|
-
(render), and 40,
|
|
761
|
+
inside their ceilings, with 81,018 B (root), 62,190 B (highlight), 6,027 B
|
|
762
|
+
(render), and 40,666 B (parse) of headroom. These are 4.2.0 measurements, not
|
|
763
763
|
permanent promises — re-measure against the version you actually install.
|
|
764
764
|
The clean four-step production ceiling is 210 seconds; the selected #2447
|
|
765
765
|
median was 155.015 s [153.496, 165.977].
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@takazudo/zfb-md-wasm",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.2.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "zfb's md/mdx -> JS/HTML conversion pipeline compiled to WebAssembly, for browser-side dynamic conversion (CMS live preview with parity to zfb's production output).",
|