@takazudo/zfb-md-wasm 2.15.0 → 2.16.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
|
@@ -717,6 +717,9 @@ three-step repair sequence:
|
|
|
717
717
|
`BUILD_LOG=/tmp/zfb-md-wasm-build.log; node crates/zfb-md-wasm/npm/scripts/build.mjs 2>&1 | tee "$BUILD_LOG"`.
|
|
718
718
|
2. Run `node scripts/assert-zfb-md-wasm-budgets.mjs --build-log "$BUILD_LOG" --dist crates/zfb-md-wasm/npm/dist --update-manifest`.
|
|
719
719
|
3. Run `node scripts/assert-md-wasm-size-docs.mjs --fix`, then `pnpm format:mdx`.
|
|
720
|
+
`gzip-9` and `glue gzip-9` are compared with a 64-byte tolerance because
|
|
721
|
+
they are compressor output (CI prints a warning inside the band), while
|
|
722
|
+
final wasm and glue remain byte-exact.
|
|
720
723
|
|
|
721
724
|
These are the shipped **2.15.0** artifact rows — optimized final wasm after
|
|
722
725
|
wasm-bindgen and wasm-opt, Node `gzipSync(..., { level: 9 })`, and glue
|
|
@@ -739,6 +742,15 @@ permanent promises — re-measure against the version you actually install.
|
|
|
739
742
|
The clean four-step production ceiling is 210 seconds; the selected #2447
|
|
740
743
|
median was 155.015 s [153.496, 165.977].
|
|
741
744
|
|
|
745
|
+
**Sizes are guarded; content digests are not.** The byte sizes above are held by
|
|
746
|
+
`shipped-sizes.json` and asserted in CI, so they move only on a deliberate
|
|
747
|
+
artifact change. SHA-256 digests are a different matter: every release stamps
|
|
748
|
+
its own version string into each `.wasm` — the value `version()` returns — so
|
|
749
|
+
all four digests change on **every** release, including a documentation-only
|
|
750
|
+
patch whose compiled code is identical and whose byte sizes do not move at all.
|
|
751
|
+
If you verify these artifacts by content digest rather than by semver, re-pin on
|
|
752
|
+
every upgrade; never read "sizes unchanged" as "nothing to re-verify".
|
|
753
|
+
|
|
742
754
|
Gating `swc_core` out of the highlight graph (#2449/#2450) was a
|
|
743
755
|
**provability win, not a size win**. The #2447 SWC-retaining baseline was
|
|
744
756
|
1,484,705 B raw and 767,009 B gzip-9; the #2450 result was 7,965 B smaller
|
|
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": "2.
|
|
3
|
+
"version": "2.16.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).",
|