@exodus/bytes
1.16.0 · 22 Sep 2026MIT78.5M / weekRepositorynpmAtom feed
1.16.0 is the newest release of 1.x.
In short
1 new1 fixed1 changed
Release note
Fix
makeBase58check()Typescript typesAdd
sideEffectsconfigurationOnly
@exodus/bytes/encoding.jsexport has side-effects, and those side-effects are internal:It is documented to load multi-byte codecs for both this import and future (and previous)
/encoding-lite.jsimports, even if the current import does not use the provided TextDecoder.Both
/encoding.jsand/encoding-lite.jsare designed to return the exact same TextDecoder class and methods, and loading full implementation provides multi-byte encodings support everywhere.As
/encoding-lite.jscan be used as a global polyfill, the setup has to avoid polyfill conflicts if something loads/encoding.jsand then something else replaces it with/encoding-lite.js(or vice versa)The same mechanism is reused to keep
/whatwg.jsminimal by default, and only support multi-byte encodings if/encoding.jswas imported and loaded them at any point.This is not a new change, just documenting the existing behavior and exposing
sideEffectsconfiguration so that bundlers can optmize out other imports.Further bundle size optimizations
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.