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:
2.6.1
->2.8.0
By merging this PR, the below vulnerabilities will be automatically resolved:
Unreachable
Unreachable
Unreachable
Unreachable
Unreachable
Unreachable
Unreachable
Unreachable
Unreachable
Unreachable
Release Notes
Automattic/node-canvas (canvas)
v2.8.0
Compare 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
actualBoundingBoxLeft
andactualBoundingBoxRight
returned bymeasureText
to be the ink rect (#1776, fixes #1703).v2.7.0
Compare Source
==================
Changed
Previously these were in the node-gfx/node-canvas-prebuilt
and triggered manually.
fillStyle=
andstrokeStyle=
Added
rsvgVersion
.setTransform
method is no longer missingFixed
fillStyle
orstrokeStyle
is 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.)