Packages

@napi-rs/canvas

1.1.0 · 30 Oct 2026MIT47.9M / weekRepositoryHomepagenpmAtom feed

Your version

0.1.22

2 Jun 2022Where it was published

0.1.100 is the newest release of 0.1.x.

In short

5 fixed2 changed9 internal

Release note

Breaking changes

Skia now compiled with C++ 17 instread of C++ 11 skia.org/docs/user/build/

For docker users, you may need to switch to buster base image. For example, Node.js 12 and 14 docker images: node:12-buster and node:14-buster. For Node.js 16+ images, there are no effects for you.

What's Changed

  • Example with copyrightinfo, Bulid with dependencies

  • chrome/m101

  • Fix artifacts upload

  • Fix width in TextMetrics when text is ending with spaces

  • Fix baseline bottom y offset

  • Svg image transparent background should be preserved

  • Do nothing if lineTo parameters invalid