chore(deps): bump @stackone/malachite to 2.22.0 - #205
Merged
adefreitas merged 1 commit intoSep 18, 2026
Merged
Conversation
hub sat on `^0.67.2`. A caret on a 0.x version pins the minor, so that range resolved to 0.67.2 exactly and could not reach 1.x or 2.x — hub had stopped receiving malachite releases entirely and the gap had grown to two majors. Nothing in hub's usage broke across the jump: it imports `Alert` and `Card` and a theme type, and the build, typecheck and lint are clean. Bundle size moves from 1131.5KB to 1184.2KB in the webcomponent, all of it feature growth in the components hub actually uses. 2.22.0 made the library tree-shakeable, but that buys hub nothing: Rollup already shook the previous single-chunk build at statement level, and the win there is for bundlers that rely on the `sideEffects` flag. The 443.1KB of base64 woff2 in the bundle is unchanged and is by far the larger target.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
hub sat on
^0.67.2. A caret on a0.xversion pins the minor, so that range resolved to 0.67.2 exactly and could not reach1.xor2.x— hub had stopped receiving malachite releases entirely, and the gap had grown to two majors.Does anything break?
No. hub imports
Alert,Cardand a theme type from malachite, and none of their APIs moved. Build,tsc --noEmitand lint are all clean, and I drove the dev sandbox to confirm the picker still renders and behaves.Bundle size
webcomponent.jsindex.js/index.esm.jsare unchanged at 66 KB — malachite is external there and only inlined into the webcomponent.The +53 KB is two majors of feature growth in the components hub uses. Worth being explicit that the tree-shaking work in malachite 2.22.0 buys hub nothing: hub bundles with Rollup, which already shook the previous single-chunk build at statement level. That work pays off for bundlers that act on the
sideEffectsflag. I verified shaking is doing its job here — none of eight unused components leak into the bundle.The real target is the 443.1 KB of base64 woff2, 37% of the webcomponent, unchanged by this and unchanged since 0.67.2. Emitting those as real assets would let the browser fetch only the unicode ranges it needs.