Update dependency canvas to v3 #211
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Note
Mend has cancelled the proposed renaming of the Renovate GitHub app being renamed to
mend[bot]
.This notice will be removed on 2025-10-07.
This PR contains the following updates:
^2.11.2
->^3.0.0
Release Notes
Automattic/node-canvas (canvas)
v3.2.0
Compare Source
==================
Added
ctx.lang
to set the ISO language code for textv3.1.2
Compare Source
==================
Fixed
v3.1.1
Compare Source
==================
Fixed
v3.1.0
Compare Source
==================
Changed
simple-get
withNode.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.fillText
call (#1921)Added
ctx.direction
is implemented:'rtl'
or'ltr'
set the base direction of textctx.textAlign
'start'
and'end'
are now'right'
and'left'
whenctx.direction === 'rtl'
Fixed
getImageData
when the rectangle is entirely outside the canvas. (#2024)getImageData
cropping the resultingImageData
when the given rectangle is partly outside the canvas. (#1849)v3.0.1
Compare Source
==================
Fixed
v3.0.0
Compare Source
==================
This release notably changes to using N-API. 🎉
Breaking
Changed
op
variable to thedefault
switch case to avoid a compiler warning. (#2229)default
switch case with a null statement if some enum values aren't suppsed to be handled, this avoids a compiler warning. (#2229)rsvg_handle_get_dimensions()
andrsvg_handle_render_cairo()
functions to the newrsvg_handle_get_intrinsic_size_in_pixels()
andrsvg_handle_render_document()
respectively. (#2229)backend
in theBackend
class. (#2229)dtslint
withtsd
(#2313)Added
Fixed
Configuration
📅 Schedule: 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.
This PR was generated by Mend Renovate. View the repository job log.