Fix dangling reference in BackendOperationNotAvailable exception (#1740)
Fix always-false comparison warning in Canvas.cc.
Fix Node.js crash when throwing from an onload or onerror handler.
2.7.0
Changed
Switch CI to Github Actions. (Adds Windows and macOS builds.)
Switch prebuilds to GitHub actions in the Automattic/node-canvas repository.
Previously these were in the node-gfx/node-canvas-prebuilt
and triggered manually.
Upgrade node-pre-gyp to v0.15.0 to use latest version of needle to fix error when downloading prebuilds.
Don't throw if fillStyle or strokeStyle 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.)
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 close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
Bumps canvas from 2.6.1 to 2.8.0.
Release notes
Sourced from canvas's releases.
Changelog
Sourced from canvas's changelog.
Commits
8707f3d
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 i...e4f901c
Loosen text measurement expectation.12e671d
Fix crash if exception thrown from onload/onerrorDependabot 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 close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually