[Snyk] Upgrade canvas from 2.8.0 to 2.11.2 #24
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 was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade canvas from 2.8.0 to 2.11.2.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
Release notes
Package name: canvas
Fixed
Fixed
Assertion failed: (object->InternalFieldCount() > 0), function Unwrap, file nan_object_wrap.h, line 32.
(#2025)textBaseline
andtextAlign
were not saved/restored bysave()
/restore()
. (#1936)Changed
save()
/restore()
.save()
/restore()
no longer have a maximum depth (previously 64 states).Fixed
actualBoundingBoxLeft
andactualBoundingBoxRight
whentextAlign='center'
or'right'
(#1909)rgba(r,g,b,0)
with alpha to 0 should parse as transparent, not opaque. (#2110)Added
pangoVersion
ctx.roundRect()
Fixed
rgba(r,g,b)
with no alpha should parse as opaque, not transparent. (#2029)PngConfig.filters
types. (#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))deregisterAllFonts
to the Typescript declaration file (#2096)User-Agent
header when requesting remote images (#2099)Fixed
registerFont
multiple times with the same family name (#2041)Fixed
npm rebuild
will now re-fetch prebuilt binaries to avoidNODE_MODULE_VERSION
mismatch errors. (#1982)Fixed
toupper
.getImageData
orputImageData
is called on a PDF or SVG canvas (#1853)Changed
DOMPoint()
constructor to check for parameter nullability.DOMMatrix.js
to use string literals for non-special cases.Added
deregisterAllFonts
method to free up memory and reduce font conflicts.Fixed
/opt/homebrew/lib
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).Commit messages
Package name: canvas
Compare
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs