Sheetwrite 0.5.3 publishes readable JavaScript again. It has no API changes. All seven packages release as 0.5.3.
Highlights
- Readable package code. Stack traces point to real lines, and you can read
and debug the code in
node_modules. - Package READMEs. npm pages show npm, pnpm, Yarn, and Bun install commands, and the core README explains how to select the full formula engine.
Changes
Readable published JavaScript
0.5.2 removed the whitespace from the published JavaScript to make the packages smaller. Each module became one long line, so stack traces pointed to line 1 and the code was hard to read when you debug an app. 0.5.3 publishes the compiler output again, with one statement per line.
The npm packages are larger again, about the same as in 0.5.1. If your production build uses a bundler that minifies, the code that your users download is the same as with 0.5.2. If you load the package files directly, without a minifying bundler, they download more bytes. Module paths, exported names, type documentation, and WebAssembly binaries do not change.
@sheetwrite/core10.8% larger
@sheetwrite/wasm1.9% larger
@sheetwrite/formulas1.5% larger
@sheetwrite/xlsx17.2% larger
@sheetwrite/react5.4% larger
@sheetwrite/vue3.0% larger
@sheetwrite/svelteNo change
@sheetwrite/core32.8% larger
@sheetwrite/wasm4.1% larger
@sheetwrite/formulas3.3% larger
@sheetwrite/xlsx37.7% larger
@sheetwrite/react17.0% larger
@sheetwrite/vue15.0% larger
@sheetwrite/svelte0.6% larger
All sizes as a table
| Package | Download 0.5.2 | Download 0.5.3 | Install 0.5.2 | Install 0.5.3 |
|---|---|---|---|---|
@sheetwrite/core | 315.3 KiB | 349.3 KiB | 1.22 MiB | 1.62 MiB |
@sheetwrite/wasm | 346.3 KiB | 352.9 KiB | 963.4 KiB | 1003.2 KiB |
@sheetwrite/formulas | 464.0 KiB | 471.1 KiB | 1.22 MiB | 1.26 MiB |
@sheetwrite/xlsx | 44.8 KiB | 52.5 KiB | 165.9 KiB | 228.4 KiB |
@sheetwrite/react | 5.6 KiB | 5.9 KiB | 15.9 KiB | 18.6 KiB |
@sheetwrite/vue | 6.7 KiB | 6.9 KiB | 18.7 KiB | 21.5 KiB |
@sheetwrite/svelte | 5.9 KiB | 5.9 KiB | 16.2 KiB | 16.3 KiB |
Downloads are npm pack tarball sizes; installs are unpacked sizes.
Engine crate version
The sheetwrite-wasm Rust crate, which builds @sheetwrite/wasm and
@sheetwrite/formulas, now has the same version as those packages. The release
process keeps them together.
Upgrade checklist
-
Update every package together
Install 0.5.3 for each
@sheetwrite/*package that you use. Packages from different versions are not supported together.corewasmformulasxlsxreactvuesvelte -
Complete the earlier steps first
Read the 0.5.2 upgrade checklist, then the 0.5.1 and 0.5.0 checklists.