Update dependency canvas to v2 - abandoned #70
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.
This PR contains the following updates:
^1.4.0->^2.0.0Release Notes
Automattic/node-canvas
v2.11.0Compare Source
==================
Fixed
v2.10.2Compare Source
==================
Fixed
Assertion failed: (object->InternalFieldCount() > 0), function Unwrap, file nan_object_wrap.h, line 32.(#2025)textBaselineandtextAlignwere not saved/restored bysave()/restore(). (#1936)Changed
save()/restore().save()/restore()no longer have a maximum depth (previously 64 states).v2.10.1Compare Source
==================
Fixed
actualBoundingBoxLeftandactualBoundingBoxRightwhentextAlign='center'or'right'(#1909)rgba(r,g,b,0)with alpha to 0 should parse as transparent, not opaque. (#2110)v2.10.0Compare Source
==================
Added
pangoVersionctx.roundRect()Fixed
rgba(r,g,b)with no alpha should parse as opaque, not transparent. (#2029)PngConfig.filterstypes. (#2072)createPattern()always used "repeat" mode; now supports "repeat-x" and "repeat-y". (#2066)context.arc(). (#2055)context.arc()geometry logic for full ellipses. (#1808, (#1736))deregisterAllFontsto the Typescript declaration file (#2096)User-Agentheader when requesting remote images (#2099)v2.9.3Compare Source
==================
Fixed
registerFontmultiple times with the same family name (#2041)v2.9.2Compare Source
==================
Fixed
npm rebuildwill now re-fetch prebuilt binaries to avoidNODE_MODULE_VERSIONmismatch errors. (#1982)v2.9.1Compare Source
==================
Fixed
toupper.getImageDataorputImageDatais called on a PDF or SVG canvas (#1853)v2.9.0Compare Source
==================
Changed
DOMPoint()constructor to check for parameter nullability.DOMMatrix.jsto use string literals for non-special cases.Added
deregisterAllFontsmethod to free up memory and reduce font conflicts.Fixed
/opt/homebrew/libv2.8.0Compare Source
==================
Changed
features like
node_pre_gyp_accessKeyId, you may need to make changes to yourinstallation procedure. See https://github.com/mapbox/node-pre-gyp/blob/master/CHANGELOG.md#​100.
nBytes()now returns a size_t. (Because this is a C++method only, this is not considered a breaking change.)
Added
inverse()andinvertSelf()toDOMMatrix(#1648)context.getTransform()(#1769)context.setTransform(dommatrix)(#1769)Fixed
actualBoundingBoxLeftandactualBoundingBoxRightreturned bymeasureTextto be the ink rect (#1776, fixes #1703).v2.7.0Compare Source
==================
Changed
Previously these were in the node-gfx/node-canvas-prebuilt
and triggered manually.
fillStyle=andstrokeStyle=Added
rsvgVersion.setTransformmethod is no longer missingFixed
fillStyleorstrokeStyleis set to an object, but that object is not a Gradient or Pattern. (This behavior was non-standard: invalid inputs are supposed to be ignored.)v2.6.1Compare Source
==================
Fixed
maxWidthinfillTextandstrokeTextif it is undefinedunderlying arraybuffer was incorrectly sized.)
v2.6.0Compare Source
==================
Changed
toBuffer('raw').Added
Fixed
fillStyleorstrokeStylewas set to a
CanvasPatternorCanvasGradient(#1357).toBuffer('raw')with large canvases (#1158).toBuffer('raw')in readme. (#1416)SetandCall. (#1415)Getversion fromNaninstead ofv8. (#1415)v2.5.0Compare Source
==================
Added
Fixed
v2.4.1Compare Source
==================
Fixed
canvas.toDataURL()v2.4.0Compare Source
==================
Added
resolutionoption forcanvas.toBuffer("image/png")andcanvas.createPNGStream(). This was documented since 2.0.0 but not working.Fixed
canvas.createPDFStream()v2.3.1Compare Source
==================
Fixed
canvas.toBuffer()for JPEGs (#1350)v2.3.0Compare Source
==================
Added
Fixed
canvas.toBuffer()(#1202, #1296)ctx.font=(#1202)v2.2.0Compare Source
==================
Added
Fixed
v2.1.0Compare Source
==================
Added
v2.0.1Compare Source
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 has been generated by Mend Renovate. View repository job log here.