Update dependency canvas to v3.2.3 #28

Open
mars3142 wants to merge 1 commits from renovate/canvas-3.x-lockfile into main
Owner

This PR contains the following updates:

Package Type Update Change
canvas dependencies minor 3.1.03.2.3

Release Notes

Automattic/node-canvas (canvas)

v3.2.3

Compare Source

==================

Fixed

v3.2.2

Compare Source

==================

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

Compare Source

==================

  • 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)

v3.2.0

Compare Source

==================

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

v3.1.2

Compare Source

==================

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

v3.1.1

Compare Source

==================

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)

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [canvas](https://github.com/Automattic/node-canvas) | dependencies | minor | [`3.1.0` → `3.2.3`](https://renovatebot.com/diffs/npm/canvas/3.1.0/3.2.3) | --- ### Release Notes <details> <summary>Automattic/node-canvas (canvas)</summary> ### [`v3.2.3`](https://github.com/Automattic/node-canvas/blob/HEAD/CHANGELOG.md#323) [Compare Source](https://github.com/Automattic/node-canvas/compare/v3.2.2...v3.2.3) \================== ##### Fixed - Fix building with gcc ([#&#8203;2559](https://github.com/Automattic/node-canvas/issues/2559)) ### [`v3.2.2`](https://github.com/Automattic/node-canvas/blob/HEAD/CHANGELOG.md#322) [Compare Source](https://github.com/Automattic/node-canvas/compare/v3.2.1...v3.2.2) \================== ##### Fixed - Fix dangling env pointer in image MIME data cleanup ([#&#8203;2550](https://github.com/Automattic/node-canvas/issues/2550)) - Fix `ctx.direction` not affected by `ctx.save` and `ctx.restore` - Preserve rest of PDF pages when changing width and height ([#&#8203;2538](https://github.com/Automattic/node-canvas/issues/2538)) - Several security fixes for untrusted inputs to getImageData and putImageData. Thanks to Ethan Kim for the report. ### [`v3.2.1`](https://github.com/Automattic/node-canvas/blob/HEAD/CHANGELOG.md#321) [Compare Source](https://github.com/Automattic/node-canvas/compare/v3.2.0...v3.2.1) \================== - Fix error message HTTP response status code in image src setter - `roundRect()` shape incorrect when radii were large relative to rectangle size ([#&#8203;2400](https://github.com/Automattic/node-canvas/issues/2400)) - Reject loadImage when src is null or invalid ([#&#8203;2304](https://github.com/Automattic/node-canvas/issues/2304)) - Fix compilation on GCC 15 by including <cstdint> ([#&#8203;2545](https://github.com/Automattic/node-canvas/issues/2545)) ### [`v3.2.0`](https://github.com/Automattic/node-canvas/blob/HEAD/CHANGELOG.md#320) [Compare Source](https://github.com/Automattic/node-canvas/compare/v3.1.2...v3.2.0) \================== ##### Added - Added `ctx.lang` to set the ISO language code for text ### [`v3.1.2`](https://github.com/Automattic/node-canvas/blob/HEAD/CHANGELOG.md#312) [Compare Source](https://github.com/Automattic/node-canvas/compare/v3.1.1...v3.1.2) \================== ##### Fixed - Fix crash when setting width/height on PDF, SVG canvas ([#&#8203;2520](https://github.com/Automattic/node-canvas/issues/2520)) ### [`v3.1.1`](https://github.com/Automattic/node-canvas/blob/HEAD/CHANGELOG.md#311) [Compare Source](https://github.com/Automattic/node-canvas/compare/v3.1.0...v3.1.1) \================== ##### Fixed - Fix a crash when SVGs without width or height are loaded ([#&#8203;2486](https://github.com/Automattic/node-canvas/issues/2486)) - Fix fetching prebuilds during installation on certain newer versions of Node ([#&#8203;2497](https://github.com/Automattic/node-canvas/issues/2497)) - Fixed issue with fillText that was breaking subsequent fillText calls ([#&#8203;2171](https://github.com/Automattic/node-canvas/issues/2171)) - Fix svg rendering when the image is resized ([#&#8203;2498](https://github.com/Automattic/node-canvas/issues/2498)) - Fix measureText with direction rtl textAlign start/end - Fix a crash in Node 24, due to external memory API change ([#&#8203;2514](https://github.com/Automattic/node-canvas/issues/2514)) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xMjkuMCIsInVwZGF0ZWRJblZlciI6IjQzLjE0MC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
mars3142 added 1 commit 2026-04-19 11:13:03 +00:00
Author
Owner

PR Code Suggestions

No code suggestions found for the PR.

## PR Code Suggestions ✨ No code suggestions found for the PR.
Author
Owner

PR Code Suggestions

No code suggestions found for the PR.

## PR Code Suggestions ✨ No code suggestions found for the PR.
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/canvas-3.x-lockfile:renovate/canvas-3.x-lockfile
git checkout renovate/canvas-3.x-lockfile
Sign in to join this conversation.