@napi-rs/canvas
1.2.0 · 21 Nov 2026MIT56.8M / weekRepositoryHomepagenpmAtom feed
Upgrading @napi-rs/canvas From 1.1.1 to 1.2.0
1 release in betweenevery note read
- 0
- changes to make
- 0
- advisories fixed
- 3
- new
- 0
- fixes
Release by release
- New
Supports CSS values, ranges (
'100 900','oblique 10deg 20deg','75% 125%'),calc(), and'auto'. Invalid descriptors returnnullwithout registering; non-object descriptors throw aTypeError. - New
Variable fonts clamp
wght/slnt/wdthto declared descriptor ranges, use theitalaxis foritalicwhen available, and apply variation coordinates in SVG<text>. - New
Static (non-variable)
font-stretchmatching now follows CSS Fonts Level 4 (Width > Style > Weightpriority and exact matches for expanded widths).
- New
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.