Fixed
-
Animations with text layers left lottie-web's font measurement spans on
document.body, two per font, on every mount. The engine appends them before deciding anything and takes them back only where it watches a downloaded font arrive, so a font with nothing to download kept its pair for the life of the page anddestroy()did not help. They are now collected at load and again at teardown. A font still waiting on a download keeps its pair, because the engine measures through those spans to decide whether it arrived; the engine collects those itself as soon as the font lands. #142, fixed in #144, from an approach by @dvd233 in #143. -
On Windows,
pnpm checkfailed at the website render assertion on a build where every page had rendered, because the list of pages that must exist was compared against paths the platform separates with backslashes. Contributors on Windows get a green gate again. #145.
Nothing breaking: the peer range, the exports and every existing prop are unchanged. The per-import size budgets rose by 100 bytes on the three tightest entry points to cover the font fix, which costs about 77 bytes gzipped.