Skip to content

Upgrade compatibility / npm / 2.11.2 to 3.0.0

Does upgrading canvas to 3.0.0 break Alpine 3.20?

3 of 4 distro images resolve a compatible artifact for canvas 3.0.0; the license is unchanged (MIT).

Written by Osty EngineeringPublished Updated Ed25519-signed seed preview

Distro images broken
Alpine 3.20
License
MIT, unchanged
Removed public symbols
14
Analyzer
TypeScript AST

ELF and libc compatibility matrix

The resolver picks the artifact each distro image would install, then reads its DT_NEEDED and VERNEED entries against the libc that ships in that image.

canvas 3.0.0 artifacts resolved on each distro image
DistrolibcResolved artifactRequired symbol versionDT_NEEDEDVerdict
Debian 12 (bookworm)glibc 2.36canvas-linux-x64-gnu@3.0.0GLIBC_2.28libc.so.6, libstdc++.so.6, libgcc_s.so.1, libcairo.so.2, libpango-1.0.so.0, libjpeg.so.8Compatible
Ubuntu 24.04 (noble)glibc 2.39canvas-linux-x64-gnu@3.0.0GLIBC_2.28libc.so.6, libstdc++.so.6, libgcc_s.so.1, libcairo.so.2, libpango-1.0.so.0, libjpeg.so.8Compatible
Alpine 3.20musl 1.2.5canvas@3.0.0/node-gyp-sourcemusl source buildlibc.so.6, libstdc++.so.6, libgcc_s.so.1, libcairo.so.2, libpango-1.0.so.0, libjpeg.so.8Source build required
RHEL 9glibc 2.34canvas-linux-x64-gnu@3.0.0GLIBC_2.28libc.so.6, libstdc++.so.6, libgcc_s.so.1, libcairo.so.2, libpango-1.0.so.0, libjpeg.so.8Compatible

SPDX license shift

License identifiers are read from package metadata and LICENSE files of both versions and normalized to SPDX.

canvas license from 2.11.2 to 3.0.0
FromToShift
MITMITUnchanged

Public API break summary

Exported symbols of both versions are compared with a language-native analyzer; removed and re-typed symbols break callers at build time.

canvas public API from 2.11.2 to 3.0.0
AnalyzerAddedRemovedChanged signaturesRemoved symbols named
TypeScript AST781415None named

Know what an upgrade breaks before you ship it

Osty checks glibc, musl, SPDX and API breaks for every upgrade across your fleet and opens verified fix PRs under your policy. Start with a free 10-minute X-Ray.