chore(deps): bump canvas from 2.6.1 to 2.11.0 #1779
Closed
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.
chore: Bump canvas to v2.11.0 (resolves: #1778)
Changelog
2.11.0
Fixed
2.10.2
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).2.10.1
Fixed
actualBoundingBoxLeft
andactualBoundingBoxRight
whentextAlign='center'
or'right'
(#1909)rgba(r,g,b,0)
with alpha to 0 should parse as transparent, not opaque. (#2110)2.10.0
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)2.9.3
Fixed
registerFont
multiple times with the same family name (#2041)2.9.2
Fixed
npm rebuild
will now re-fetch prebuilt binaries to avoidNODE_MODULE_VERSION
mismatch errors. (#1982)2.9.1
Fixed
toupper
.getImageData
orputImageData
is called on a PDF or SVG canvas (fix: remove auto release #1853)2.9.0
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
2.8.0
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
(d3fc-webgl stacked bar chart with navigation brush #1648)context.getTransform()
(#1769)context.setTransform(dommatrix)
(#1769)Fixed
actualBoundingBoxLeft
andactualBoundingBoxRight
returned bymeasureText
to be the ink rect (#1776, fixes #1703).2.7.0
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.)Commits
fc160f5
v2.11.040b4382
use tailored types instead of extending DOM672104c
v2.10.2cc32159
src: shorten receiver checksad18c6c
src: shorten copy assignment operator decl for Point2876b6e
Bugfix/Node.js 18 -> Assertion failed: (object->InternalFieldCount() > 0) (#2133)0e6504a
remove save() limit, improve save/restore perf, fix some propsb3e7df3
v2.10.1bc75c6a
add line in CHANGELOG9374943
Parse rgba(r,g,b,0) correctly6862532
Fix actualBoundingBoxLeft/Right with center/right alignment (#2109)561d933
v2.10.03fb4ed9
fix: add user agent to remote images requestdce0fd1
Add roundRect() supporteba1e4a
Adds deregisterAllFonts to the typescript declaration file (#2096)10b208e
un-skip 2d.path.arc.nonfinite; now fixed73d7893
fix arc geometry calculationsa484cf2
fix crashes and hangs in arc()288f4bf
add WPT testsbdc497a
Use node-gyp 8.x for Win CIc6a1546
fix repeat-x/y support in createPattern()f8d4949
Fix FITLER/FILTER typo in index.d.ts5255195
Parse rgba(r,g,b) correctlyb0d4f44
Update instructions for OSX local build64fdf18
export pangoVersion to help debugging7a8a606
v2.9.36fa9f38
improve multi-family output in font desc resolverd4dc2a8
v2.9.21f2b156
Replace binary for rebuild cases (#1982)3f3af3a
fix: resolved inconsistent exports in ESM (#2047)9d8da5b
v2.9.14273771
Fix CId7c4673
Add support for multi-byte font path on Windowsddce10f
select fonts via postscript name on Linux009d594
replace some remaining glib calls6fd0fa5
make types compatible with typescript 4.6 (#1986)0bccc05
bug: fix process crash in getImageData for PDF/SVG canvases83a8df1
Add missing cctype include for toupper5fc80e7
bug: stringify CanvasPattern, ImageData, CanvasGradient like browsersd603479
v2.9.0aed721d
Update nana721d51
Clean up isnan/isinf, use isfinite604db27
Run standard --fix324134b
use classes/const/let etc1980805
Fix building on M1 macOSa4b571b
Point to troubleshooting guide in issue template4a891ef
Revert "export type NodeCanvasRenderingContext2D"e48cc30
Update has_lib.js to support Apple M1 with homebrew (chore: update changesets-action to fork #1872)d7ebfce
Merge pull request Web GL creates random margin space between candles #1623 from samizdatco/pattern-transformf27e10a
src: remove semicolons from DOMMatrix.jse278660
lib: use strings for non-special cases (Highlight CI & linting requirement in project documentation #1820)8de64bd
tests(): add failing test for direction rtl and textAlign START/END (chore(deps-dev): bump ejs from 3.1.9 to 3.1.10 #1824)1e54481
AddderegisterAllFonts
method. (chore: github actions split experiments #1811)6bbc8cb
changelog: update changelog5d2aba1
lib: check for parameter nullability8707f3d
v2.8.05b5140e
Add Node.js 16 to CI, remove 152bf76b5
export type NodeCanvasRenderingContext2D0b49442
Update changelog to reflect previous commitc166443
Add ctx2d.setTransform(mat) overload2f84eee
Add ctx2d.getTransform() functiond107c04
Update changelog to reflect previous commit234e659
Fix text actualBoundingBoxLeft and actualBoundingBoxRight measures by using ink_rect instead of logical_recte4f901c
Loosen text measurement expectation.12e671d
Fix crash if exception thrown from onload/onerror8cd191c
Update changelog6fae569
Use node pre gyp v17a84fc5
Fix always-false comparison warning in Canvas.cc in Node 15+646b605
Update changelogb549ab6
Fix Windows CI build, add Node.js v15f8305fb
Fix dtslint failing in CI547b050
Fix dangling reference in BackendOperationNotAvailable exception.beaee39
add Dockerfile for linux prebuild imagee476656
Added stride to the Typescript typings41d1c99
Fix PNG stream method name in benchmark (fixes d3fc Rectangle Zoom on Canvas #1672)595d559
Add invertSelf to the DOMMatrix object (Inverse crosshair coordinates to scale values on ordinal scale #1649)5054b7b
translate "sans-serif" to "sans" for Pango58bc728
v2.7.0e8ad788
Switch prebuild trigger to manualaa75e52
whitespacef346e4f
applying patternQuality setting for stroke as well as fill82e3d03
added visual tests for pattern transforms238c879
export proper version of CanvasPattern classec87eca
missing semicolon7a81e60
fixed test typos5fa9438
note addition of CanvasPattern.setTransform4e963c2
add support for CanvasPattern.setTransforme24b4d1
pass DOMMatrix reference to CanvasPattern class7e53d34
removed repetition379a650
patternQuality should apply even without a global alphabf5126b
bug: remove non-standard behavior4ce04af
Speed upfillStyle=
andstrokeStyle=
0d9ca88
Move prebuilds to GitHub Actionsfe186e5
Bump node-pre-gyp to v0.15.03e80556
Fix .complete for errored imagesf13efc7
added fixes to CHANGELOG97b169e
fix include path for cairo565693a
Update Changelog6e024b5
Remove linebreaks after #ifdefs57d919a
Move getSafeBufSize() under #ifdef HAVE_JPEG, removes compiler warning of unused function removal4af2efd
Fix to compile without JPEG library.9cd9aa3
Merge pull request Changing cartesian chart plot area components does not clear previous component #1583 from zbjornson/zb/ci-libjpegdc1db18
use libjpeg-dev in Linux CIabfc713
Fix signed/unsigned comparison warning89f7607
Add -Wno-cast-function-type to suppress GCC8 warnings4c7f7ee
Switch CI to GitHub actions6ff5eea
Add rsvgVersion to exports2e9ea73
Fix assertion failure when using VSCode debugger to inspect Image proto (More webgl examples #1550)c025143
Updating Types (Style-Src, Content Security Policy Violation #1509)98a5141
Add Node.js v13 to CI37d556c
Merge pull request Improve seriesWebgl* docs #1508 from JTBrinkmann/patch-1da0bc07
update Readme.md (fix "Upgrading from 2.x")1e1e336
Fix BMP issues (refactor: add transparent background for website screenshots #1497)2820e04
Fix rendering error when applying shadow width line style (lineCap lineJoin lineDash)