-
-
Notifications
You must be signed in to change notification settings - Fork 0
⬆️ Updates canvas to v3 #2394
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
⬆️ Updates canvas to v3 #2394
Conversation
Branch automerge failureThis PR was configured for branch automerge. However, this is not possible, so it has been raised as a PR instead.
|
Thanks for opening an issue! Make sure you've followed CONTRIBUTING.md. |
Hello from PR HelperIs your PR ready for review and processing? Mark the PR ready by including If you still have work to do, even after marking this ready. Put the PR on hold by including |
Thanks for the PR! This section of the codebase is owner by https://github.com/AlexRogalskiy/ - if they write a comment saying "LGTM" then it will be merged. |
335ac5b
to
72e39ce
Compare
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
72e39ce
to
aca00e7
Compare
🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎ To accept the risk, merge this PR and you will not be notified again.
Next stepsWhat is a critical CVE?Contains a Critical Common Vulnerability and Exposure (CVE). Remove or replace dependencies that include known critical CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies. Take a deeper look at the dependencyTake a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev. Remove the packageIf you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency. Mark a package as acceptable riskTo ignore an alert, reply with a comment starting with
|
This PR contains the following updates:
2.8.0
->3.1.0
Release Notes
Automattic/node-canvas (canvas)
v3.1.0
Compare Source
==================
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
v2.11.2
Compare Source
==================
Fixed
v2.11.1
Compare Source
==================
Fixed
canvas
to theCanvasRenderingContext2D
typeletter-spacing
effectctx.font
not being restored correctly afterctx.restore()
(#1946)v2.11.0
Compare Source
==================
Fixed
v2.10.2
Compare Source
==================
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).v2.10.1
Compare Source
==================
Fixed
actualBoundingBoxLeft
andactualBoundingBoxRight
whentextAlign='center'
or'right'
(#1909)rgba(r,g,b,0)
with alpha to 0 should parse as transparent, not opaque. (#2110)v2.10.0
Compare Source
==================
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)v2.9.3
Compare Source
==================
Fixed
registerFont
multiple times with the same family name (#2041)v2.9.2
Compare Source
==================
Fixed
npm rebuild
will now re-fetch prebuilt binaries to avoidNODE_MODULE_VERSION
mismatch errors. (#1982)v2.9.1
Compare Source
==================
Fixed
toupper
.getImageData
orputImageData
is called on a PDF or SVG canvas (#1853)v2.9.0
Compare Source
==================
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
Configuration
📅 Schedule: Branch creation - "after 10pm every weekday,before 5am every weekday,every weekend" in timezone Europe/Moscow, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, 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.