Rufus-Discord-Bot
Rufus-Discord-Bot copied to clipboard
Bump canvas from 2.8.0 to 2.11.0
Bumps canvas from 2.8.0 to 2.11.0.
Release notes
Sourced from canvas's releases.
v2.11.0
Fixed
- Replace triple-slash directive in types with own types to avoid polluting TS modules with globals (#1656)
v2.10.2
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).v2.10.1
Fixed
- Fix
actualBoundingBoxLeftandactualBoundingBoxRightwhentextAlign='center'or'right'(#1909)- Fix
rgba(r,g,b,0)with alpha to 0 should parse as transparent, not opaque. (#2110)v2.10.0
Added
- Export
pangoVersionctx.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)v2.9.3
Fixed
- Wrong fonts used when calling
registerFontmultiple times with the same family name (#2041)v2.9.2
Fixed
- All exports now work when Canvas is used in ES Modules (ESM). (#2047)
npm rebuildwill now re-fetch prebuilt binaries to avoidNODE_MODULE_VERSIONmismatch errors. (#1982)v2.9.1
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.
v2.9.0
... (truncated)
Changelog
Sourced from canvas's changelog.
2.11.0
Fixed
- Replace triple-slash directive in types with own types to avoid polluting TS modules with globals (#1656)
2.10.2
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).2.10.1
Fixed
- Fix
actualBoundingBoxLeftandactualBoundingBoxRightwhentextAlign='center'or'right'(#1909)- Fix
rgba(r,g,b,0)with alpha to 0 should parse as transparent, not opaque. (#2110)2.10.0
Added
- Export
pangoVersionctx.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)2.9.3
Fixed
- Wrong fonts used when calling
registerFontmultiple times with the same family name (#2041)2.9.2
Fixed
- All exports now work when Canvas is used in ES Modules (ESM). (#2047)
npm rebuildwill now re-fetch prebuilt binaries to avoidNODE_MODULE_VERSIONmismatch errors. (#1982)2.9.1
Fixed
... (truncated)
Commits
fc160f5v2.11.040b4382use tailored types instead of extending DOM672104cv2.10.2cc32159src: shorten receiver checksad18c6csrc: shorten copy assignment operator decl for Point2876b6eBugfix/Node.js 18 -> Assertion failed: (object->InternalFieldCount() > 0) (#2...0e6504aremove save() limit, improve save/restore perf, fix some propsb3e7df3v2.10.1bc75c6aadd line in CHANGELOG9374943Parse rgba(r,g,b,0) correctly- Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by zbjornson, a new releaser for canvas since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)