Skip to content

[Snyk] Upgrade canvas from 3.0.1 to 3.1.0#16

Open
snyk-io[bot] wants to merge 1 commit intomainfrom
snyk-upgrade-963fa6713d74e7f94df7f2a05996d33f
Open

[Snyk] Upgrade canvas from 3.0.1 to 3.1.0#16
snyk-io[bot] wants to merge 1 commit intomainfrom
snyk-upgrade-963fa6713d74e7f94df7f2a05996d33f

Conversation

@snyk-io
Copy link

@snyk-io snyk-io bot commented Feb 18, 2025

snyk-top-banner

Snyk has created this PR to upgrade canvas from 3.0.1 to 3.1.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 1 version ahead of your current version.

  • The recommended version was released a month ago.

Release notes
Package name: canvas
  • 3.1.0 - 2025-01-22

    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)
  • 3.0.1 - 2024-12-31

    3.0.1

    Fixed

    • Fixed accidental depenency on ambient DOM types
from canvas GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Snyk has created this PR to upgrade canvas from 3.0.1 to 3.1.0.

See this package in npm:
canvas

See this project in Snyk:
https://app.snyk.io/org/misskeyhq/project/9d5169f9-f5bc-43f4-bce8-6e437f994657?utm_source=github-cloud-app&utm_medium=referral&page=upgrade-pr
@snyk-io
Copy link
Author

snyk-io bot commented Feb 18, 2025

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants