Packages

@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

  1. 1.1.1yours
  2. 1.2.0target
0
changes to make
0
advisories fixed
3
new
0
fixes

Release by release

  1. 1.2.0

    21 Nov 20263 new
    • New

      Supports CSS values, ranges ('100 900', 'oblique 10deg 20deg', '75% 125%'), calc(), and 'auto'. Invalid descriptors return null without registering; non-object descriptors throw a TypeError.

    • New

      Variable fonts clamp wght/slnt/wdth to declared descriptor ranges, use the ital axis for italic when available, and apply variation coordinates in SVG <text>.

    • New

      Static (non-variable) font-stretch matching now follows CSS Fonts Level 4 (Width > Style > Weight priority and exact matches for expanded widths).

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.