[Snyk] Upgrade canvas from 2.9.1 to 2.11.2
This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade canvas from 2.9.1 to 2.11.2.
As this is a private repository, Snyk-bot does not have access. Therefore, this PR has been created automatically, but appears to have been created by a real user. :sparkles: Snyk has automatically assigned this pull request, set who gets assigned.
:information_source: 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.
- The recommended version is 8 versions ahead of your current version.
- The recommended version was released a year ago, on 2023-04-02.
Release notes
Package name: canvas
- 2.11.2 - 2023-04-02
- 2.11.1 - 2023-04-02
-
2.11.0 - 2022-12-22
Fixed
- Replace triple-slash directive in types with own types to avoid polluting TS modules with globals (#1656)
-
2.10.2 - 2022-10-30
Fixed
- Fix
Assertion failed: (object->InternalFieldCount() > 0), function Unwrap, file nan_object_wrap.h, line 32.(#2025) textBaselineandtextAlignwere not saved/restored bysave()/restore(). (#1936)- Update nan to v2.17.0 to ensure Node.js v18+ support.
Changed
- Improve performance and memory usage of
save()/restore(). save()/restore()no longer have a maximum depth (previously 64 states).
- Fix
-
2.10.1 - 2022-09-07
Fixed
-
2.10.0 - 2022-09-04
Added
- Export
pangoVersion ctx.roundRect()
Fixed
rgba(r,g,b)with no alpha should parse as opaque, not transparent. (#2029)- Typo in
PngConfig.filterstypes. (#2072) createPattern()always used "repeat" mode; now supports "repeat-x" and "repeat-y". (#2066)- Crashes and hangs when using non-finite values in
context.arc(). (#2055) - Incorrect
context.arc()geometry logic for full ellipses. (#1808, (#1736)) - Added missing
deregisterAllFontsto the Typescript declaration file (#2096) - Add
User-Agentheader when requesting remote images (#2099)
- Export
-
2.9.3 - 2022-06-24
Fixed
- Wrong fonts used when calling
registerFontmultiple times with the same family name (#2041)
- Wrong fonts used when calling
-
2.9.2 - 2022-06-23
Fixed
-
2.9.1 - 2022-03-19
Fixed
- Stringify CanvasGradient, CanvasPattern and ImageData like browsers do. (#1639, #1646)
- Add missing include for
toupper. - Throw an error instead of crashing the process if
getImageDataorputImageDatais called on a PDF or SVG canvas (#1853) - Compatibility with Typescript 4.6
- Near-perfect font matching on Linux (#1572)
- Fix multi-byte font path support on Windows.
Commit messages
Package name: canvas
- 38e0a32 v2.11.2
- 9910243 fix not compiling on certain windows versions
- 9ecfb70 v2.11.1
- fdf709a move ctx.font string to the state struct
- 4c276e0 fix incorrect text width with newer (1.43?) Pango
- 55d39cb fix macos CI
- 9f313df Add canvas property to CanvasRenderingContext2D type
- fc160f5 v2.11.0
- 40b4382 use tailored types instead of extending DOM
- 672104c v2.10.2
- cc32159 src: shorten receiver checks
- ad18c6c src: shorten copy assignment operator decl for Point
- 2876b6e Bugfix/Node.js 18 -> Assertion failed: (object->InternalFieldCount() > 0) (#2133)
- 0e6504a remove save() limit, improve save/restore perf, fix some props
- b3e7df3 v2.10.1
- bc75c6a add line in CHANGELOG
- 9374943 Parse rgba(r,g,b,0) correctly
- 6862532 Fix actualBoundingBoxLeft/Right with center/right alignment (#2109)
- 561d933 v2.10.0
- 3fb4ed9 fix: add user agent to remote images request
- dce0fd1 Add roundRect() support
- eba1e4a Adds deregisterAllFonts to the typescript declaration file (#2096)
- 10b208e un-skip 2d.path.arc.nonfinite; now fixed
- 73d7893 fix arc geometry calculations
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:
👩💻 Set who automatically gets assigned
🔕 Ignore this dependency or unsubscribe from future upgrade PRs