Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 27, 2025

Bumps canvas from 3.0.1 to 3.1.0.

Release notes

Sourced from canvas's releases.

v3.1.0

3.1.0

  • Replaced simple-get with Node.js builtin fetch (#2309)
  • ctx.font has a new C++ parser and is 2x-400x faster. Please file an issue if you experience different results, as caching has been removed.
  • The restriction of registering fonts before a canvas is created has been removed. You can now register a font as late as right before the fillText call (#1921)

Added

  • Support for accessibility and links in PDFs
  • ctx.direction is implemented: 'rtl' or 'ltr' set the base direction of text
  • ctx.textAlign 'start' and 'end' are now 'right' and 'left' when ctx.direction === 'rtl'

Fixed

  • Fix a crash in getImageData when the rectangle is entirely outside the canvas. (#2024)
  • Fix getImageData cropping the resulting ImageData when the given rectangle is partly outside the canvas. (#1849)
Changelog

Sourced from canvas's changelog.

3.1.0

  • Replaced simple-get with Node.js builtin fetch (#2309)
  • ctx.font has a new C++ parser and is 2x-400x faster. Please file an issue if you experience different results, as caching has been removed.
  • The restriction of registering fonts before a canvas is created has been removed. You can now register a font as late as right before the fillText call (#1921)

Added

  • Support for accessibility and links in PDFs
  • ctx.direction is implemented: 'rtl' or 'ltr' set the base direction of text
  • ctx.textAlign 'start' and 'end' are now 'right' and 'left' when ctx.direction === 'rtl'

Fixed

  • Fix a crash in getImageData when the rectangle is entirely outside the canvas. (#2024)
  • Fix getImageData cropping the resulting ImageData when the given rectangle is partly outside the canvas. (#1849)
Commits
  • 61e474e 3.1.0
  • 88e9657 allow registerFont after a canvas has been created (#2483)
  • 52330b8 support ctx.direction and textAlign start/end
  • 0b2edc1 remove reference to old JS parseFont
  • a0c8031 getImageData fixes when rectangle is outside of canvas
  • da33bbe Add link tags for pdfs
  • 728e76c add C++ parser for the font shorthand
  • 7ed0a96 add font setter benchmarks
  • 1d956b7 use fetch api
  • See full diff in compare view

Dependabot compatibility score

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
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [canvas](https://github.com/Automattic/node-canvas) from 3.0.1 to 3.1.0.
- [Release notes](https://github.com/Automattic/node-canvas/releases)
- [Changelog](https://github.com/Automattic/node-canvas/blob/master/CHANGELOG.md)
- [Commits](Automattic/node-canvas@v3.0.1...v3.1.0)

---
updated-dependencies:
- dependency-name: canvas
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 27, 2025
@vercel
Copy link

vercel bot commented Jan 27, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
g2plot-vue ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 27, 2025 3:26pm

@github-actions github-actions bot merged commit 82081a6 into master Jan 27, 2025
6 of 9 checks passed
@github-actions github-actions bot deleted the dependabot/npm_and_yarn/canvas-3.1.0 branch January 27, 2025 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant