Skip to content

build(deps-dev): bump canvas from 2.11.2 to 3.2.3#1969

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/canvas-3.2.3
Open

build(deps-dev): bump canvas from 2.11.2 to 3.2.3#1969
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/canvas-3.2.3

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Mar 31, 2026

Bumps canvas from 2.11.2 to 3.2.3.

Release notes

Sourced from canvas's releases.

v3.2.3

Fixed

  • Fix building with gcc (#2559)

v3.2.2

Fixed

  • Fix dangling env pointer in image MIME data cleanup (#2550)
  • Fix ctx.direction not affected by ctx.save and ctx.restore
  • Preserve rest of PDF pages when changing width and height (#2538)
  • Several security fixes for untrusted inputs to getImageData and putImageData. Thanks to Ethan Kim for the report.

v3.2.1

3.2.1

  • Fix error message HTTP response status code in image src setter
  • roundRect() shape incorrect when radii were large relative to rectangle size (#2400)
  • Reject loadImage when src is null or invalid (#2304)
  • Fix compilation on GCC 15 by including <cstdint> (#2545)

v3.2.0

3.2.0

Added

  • Added ctx.lang to set the ISO language code for text

v3.1.2

3.1.2

Fixed

  • Fix crash when setting width/height on PDF, SVG canvas (#2520)

v3.1.1

3.1.1

This release also introduces arm64 prebuilds for Linux!

Fixed

  • Fix a crash when SVGs without width or height are loaded (#2486)
  • Fix fetching prebuilds during installation on certain newer versions of Node (#2497)
  • Fixed issue with fillText that was breaking subsequent fillText calls (#2171)
  • Fix svg rendering when the image is resized (#2498)
  • Fix measureText with direction rtl textAlign start/end
  • Fix a crash in Node 24, due to external memory API change (#2514)

v3.1.0

3.1.0

  • Replaced simple-get with Node.js builtin fetch (#2309)
  • ctx.font has a new C++ parser and is 2x-400x faster. Please file an issue if you experience different results, as caching has been removed.
  • The restriction of registering fonts before a canvas is created has been removed. You can now register a font as late as right before the fillText call (#1921)

... (truncated)

Changelog

Sourced from canvas's changelog.

3.2.3

Fixed

  • Fix building with gcc (#2559)

3.2.2

Fixed

  • Fix dangling env pointer in image MIME data cleanup (#2550)
  • Fix ctx.direction not affected by ctx.save and ctx.restore
  • Preserve rest of PDF pages when changing width and height (#2538)
  • Several security fixes for untrusted inputs to getImageData and putImageData. Thanks to Ethan Kim for the report.

3.2.1

  • Fix error message HTTP response status code in image src setter
  • roundRect() shape incorrect when radii were large relative to rectangle size (#2400)
  • Reject loadImage when src is null or invalid (#2304)
  • Fix compilation on GCC 15 by including (#2545)

3.2.0

Added

  • Added ctx.lang to set the ISO language code for text

3.1.2

Fixed

  • Fix crash when setting width/height on PDF, SVG canvas (#2520)

3.1.1

Fixed

  • Fix a crash when SVGs without width or height are loaded (#2486)
  • Fix fetching prebuilds during installation on certain newer versions of Node (#2497)
  • Fixed issue with fillText that was breaking subsequent fillText calls (#2171)
  • Fix svg rendering when the image is resized (#2498)
  • Fix measureText with direction rtl textAlign start/end
  • Fix a crash in Node 24, due to external memory API change (#2514)

3.1.0

Changed

  • Replaced simple-get with Node.js builtin fetch (#2309)
  • ctx.font has a new C++ parser and is 2x-400x faster. Please file an issue if you experience different results, as caching has been removed.
  • The restriction of registering fonts before a canvas is created has been removed. You can now register a font as late as right before the fillText call (#1921)

Added

  • Support for accessibility and links in PDFs
  • ctx.direction is implemented: 'rtl' or 'ltr' set the base direction of text

... (truncated)

Commits
  • f91598e v3.2.3
  • 1541544 PAGE_SIZE shouldn't be unsigned
  • ac82fa7 v3.2.2
  • 103a620 add the last flurry of commits to CHANGELOG
  • 7304c7a avoid integer overflow in getImageData
  • f9fcc5f avoid integer overflow in putImageData
  • 802a8ca avoid integer overflow in new ImageData
  • 9d1b478 wrap negative values passed to createImageData
  • 779483c bail early when setting zero-length image source
  • 22ed2b7 make canvas types unsigned
  • Additional commits viewable in compare view
Install script changes

This version modifies install script that runs during installation. Review the package contents before updating.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [canvas](https://github.com/Automattic/node-canvas) from 2.11.2 to 3.2.3.
- [Release notes](https://github.com/Automattic/node-canvas/releases)
- [Changelog](https://github.com/Automattic/node-canvas/blob/master/CHANGELOG.md)
- [Commits](Automattic/node-canvas@v2.11.2...v3.2.3)

---
updated-dependencies:
- dependency-name: canvas
  dependency-version: 3.2.3
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Mar 31, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 3, 2026

Inactive PR

@github-actions github-actions bot added the Stale label Apr 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code Stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants