kittydar
kittydar copied to clipboard
Bump canvas from 1.0.1 to 2.6.0
Bumps canvas from 1.0.1 to 2.6.0.
Changelog
Sourced from canvas's changelog.
2.6.0
Changed
- Allow larger buffers to be returned from
toBuffer('raw')
.Added
- Support for various BMP headers and color depths (#1435)
Fixed
- Fix crash when changing canvas width/height while
fillStyle
orstrokeStyle
was set to aCanvasPattern
orCanvasGradient
(#1357).- Fix crash when changing width/height of SVG canvases (#1380).
- Fix crash when using
toBuffer('raw')
with large canvases (#1158).- Clarified meaning of byte ordering for
toBuffer('raw')
in readme. (#1416)- Fix package.json Typings field to point to Declaration file (#1432)
- Properly check return value from
Set
andCall
. (#1415)- Use
Get
version fromNan
instead ofv8
. (#1415)2.5.0
Added
- Support redirects when fetching images (using simple-get) (#1398)
- Support Node.js v12
Fixed
- Fix object literal & arrow function syntax usage for IE.
2.4.1
Fixed
- Guard JPEG width/height against maximum supported (#1385)
- Fix electron 5 and node 12 compatibility
- Fix encoding options (quality) parameter in
canvas.toDataURL()
2.4.0
Added
- (Actually) added
resolution
option forcanvas.toBuffer("image/png")
andcanvas.createPNGStream()
. This was documented since 2.0.0 but not working.- Add typescript definitions.
Fixed
- PDF metadata (added in 2.3.0) wasn't being set with
canvas.createPDFStream()
- Fix custom "inspect" function deprecation warnings (#1326)
2.3.1
Fixed
- Fix
canvas.toBuffer()
for JPEGs (#1350)2.3.0
Added
... (truncated)
- Add support for multiple PDF page sizes
Commits
-
f5b9814
2.6.0 -
ccecad2
history: 2.6.0 -
8dcd0da
Merge pull request #1415 from Automattic/nan-fixes -
e03bb84
Properly check return value from Set and Call -
876f93d
Add support for various BMP headers and color depths (#1435) -
dd0c7c2
Update package.json typings field (#1432) -
126760a
Clarify toBuffer('raw') byte ordering -
c1cc378
Fix assertion error with large canvases and toBuffer('raw') -
9d71cfd
Fix crash when resurfacing SVG canvases -
4d485aa
Fix crash when resurfacing while fill/strokeStyle set to pattern or gradient - Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by linusu, 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 rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot ignore this [patch|minor|major] version
will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -
@dependabot use these labels
will set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewers
will set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assignees
will set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestone
will set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the Security Alerts page.