Packages

@napi-rs/canvas

1.2.0 · 21 Nov 2026MIT56.8M / weekRepositoryHomepagenpmAtom feed

Upgrading @napi-rs/canvas From 1.1.0 to 1.2.0

2 releases in betweenevery note read

  1. 1.1.0yours
  2. 1.1.1
  3. 1.2.0target
0
changes to make
0
advisories fixed
15
new
14
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).

  2. 1.1.1

    12 Nov 202612 new · 14 fixes
    • New

      text: Add fontFeatureSettings, fontVariantLigatures/Numeric/Position, fontSizeAdjust and fontOpticalSizing

    • New

      text: Add the Blink shaper scaffold behind NAPI_RS_CANVAS_SHAPER

    • New

      text: Shape canvas text with the Blink-style shaper core

    • New

      text: Add Blink fallback stages and the macOS system fallback to the shaper

9 internal lines (docs, tests, tooling) left out.

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.