Nitro
Nitro copied to clipboard
Bump canvas from 1.6.7 to 1.6.11
Bumps canvas from 1.6.7 to 1.6.11.
Changelog
Sourced from canvas's changelog.
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
(Unreleased)
Changed
- Upgrade dtslint
- Upgrade node-pre-gyp to 1.0.0. Note that if you are using special node-pre-gyp features like
node_pre_gyp_accessKeyId, you may need to make changes to your installation procedure. See https://github.com/mapbox/node-pre-gyp/blob/master/CHANGELOG.md#100.- Add Node.js v16 to CI.
- The C++ class method
nBytes()now returns a size_t. (Because this is a C++ method only, this is not considered a breaking change.)- Export type NodeCanvasRenderingContext2D so you can pass the current context to functions (TypeScript).
Added
- Add support for
inverse()andinvertSelf()toDOMMatrix(#1648)- Add support for
context.getTransform()(#1769)- Add support for
context.setTransform(dommatrix)(#1769)Fixed
- Fix
actualBoundingBoxLeftandactualBoundingBoxRightreturned bymeasureTextto be the ink rect (#1776, fixes #1703).- Fix Pango logging "expect ugly output" on Windows (#1643)
- Fix benchmark for createPNGStream (#1672)
- 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.
- Speed up
fillStyle=andstrokeStyle=Added
- Export
rsvgVersion.Fixed
- Fix BMP issues. (#1497)
- Update typings to support jpg and addPage on NodeCanvasRenderingContext2D (#1509)
- Fix assertion failure when using Visual Studio Code debugger to inspect Image prototype (#1534)
- Fix signed/unsigned comparison warning introduced in 2.6.0, and function cast warnings with GCC8+
- Fix to compile without JPEG support (#1593).
- Fix compile errors with cairo
- Fix Image#complete if the image failed to load.
- Upgrade node-pre-gyp to v0.15.0 to use latest version of needle to fix error when downloading prebuilds.
... (truncated)
Commits
3db3a211.6.114996527Merge pull request #1166 from Automattic/bump-nanc90b8e0Bump NAN for Node.js 10.x compatibility265d0841.6.103304f65Merge pull request #1131 from LinusU/backport-fixesf9f6135Only increment src pointer when reading from source5fcade8Return error when missing color map in GIF9324932Return error for too large GIF-filesc3e4ccbPrevent JPEG errors from crashing processa815257Add support for context globalAlpha for gradients and patterns (#1064)- Additional commits viewable in compare view
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) -
@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestonewill 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.