Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency canvas to v3.1.0 #94

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 22, 2025

This PR contains the following updates:

Package Type Update Change OpenSSF
canvas dependencies minor 3.0.1 -> 3.1.0 OpenSSF Scorecard

Release Notes

Automattic/node-canvas (canvas)

v3.1.0

Compare Source

==================

  • 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)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Sorry, something went wrong.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Copy link

sourcery-ai bot commented Jan 22, 2025

Reviewer's Guide by Sourcery

This pull request updates the canvas dependency from version 3.0.1 to 3.1.0. This is a minor version update that includes performance improvements, new features, and bug fixes.

Class diagram showing canvas package updates

Loading
classDiagram
    class CanvasContext {
        +font: string
        +direction: string
        +textAlign: string
        +getImageData()
        +fillText()
    }
    note for CanvasContext "Changes in v3.1.0:
    - 2x-400x faster font parsing
    - New direction property
    - Fixed getImageData issues
    - Late font registration support"

File-Level Changes

Change Details Files
Updated the canvas dependency to version 3.1.0.
  • Updated the canvas dependency version in package.json.
  • Updated the canvas dependency version in bun.lock.
package.json
bun.lock

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time. You can also use
    this command to specify where the summary should be inserted.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have skipped reviewing this pull request. It seems to have been created by a bot (hey, renovate[bot]!). We assume it knows what it's doing!

Copy link

📦 Packages

Package Install
React bun add @settlemint/settlemint/[email protected]

@renovate renovate bot merged commit c12810f into main Jan 22, 2025
3 checks passed
@renovate renovate bot deleted the renovate/canvas-3.x branch January 22, 2025 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants