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 #1559

Merged
merged 1 commit into from
Jan 14, 2025
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 6, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
canvas ^2.11.2 -> ^3.0.0 age adoption passing confidence

Release Notes

Automattic/node-canvas (canvas)

v3.0.1

Compare Source

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

Fixed
  • Fixed accidental depenency on ambient DOM types

v3.0.0

Compare Source

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

This release notably changes to using N-API. 🎉

Breaking
  • Dropped support for Node.js 16.x and below.
Changed
  • Migrated to N-API (by way of node-addon-api) and removed libuv and v8 dependencies
  • Change from node-pre-gyp to prebuild-install
  • Defer the initialization of the op variable to the default switch case to avoid a compiler warning. (#​2229)
  • Use a default switch case with a null statement if some enum values aren't suppsed to be handled, this avoids a compiler warning. (#​2229)
  • Migrate from librsvg's deprecated rsvg_handle_get_dimensions() and rsvg_handle_render_cairo() functions to the new rsvg_handle_get_intrinsic_size_in_pixels() and rsvg_handle_render_document() respectively. (#​2229)
  • Avoid calling virtual methods in constructors/destructors to avoid bypassing virtual dispatch. (#​2229)
  • Remove unused private field backend in the Backend class. (#​2229)
  • Add Node.js v20 to CI. (#​2237)
  • Replaced dtslint with tsd (#​2313)
  • Changed PNG consts to static properties of Canvas class
  • Reverted improved font matching on Linux (#​1572) because it doesn't work if fonts are installed. If you experience degraded font selection, please file an issue and use v3.0.0-rc3 in the meantime.
Added
  • Added string tags to support class detection
  • Throw Cairo errors in canvas.toBuffer()
Fixed
  • Fix a case of use-after-free. (#​2229)
  • Fix usage of garbage value by filling the allocated memory entirely with zeros if it's not modified. (#​2229)
  • Fix a potential memory leak. (#​2229)
  • Fix the wrong type of setTransform
  • Fix the improper parsing of rgb functions issue. (#​2300)
  • Fix issue related to improper parsing of leading and trailing whitespaces in CSS color. (#​2301)
  • RGB functions should support real numbers now instead of just integers. (#​2339)
  • Allow alternate or properly escaped quotes within font-family names
  • Fix TextMetrics type to include alphabeticBaseline, emHeightAscent, and emHeightDescent properties
  • Fix class properties should have defaults as standard js classes (#​2390)
  • Fixed Exif orientation in JPEG files being ignored (#​1670)
  • Align DOMMatrix/DOMPoint to spec by adding missing methods

Configuration

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

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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.

Copy link

vercel bot commented Jan 6, 2025

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

Name Status Preview Comments Updated (UTC)
design-system ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 13, 2025 6:24am

@renovate renovate bot force-pushed the renovate/canvas-3.x branch from 1922ff0 to 9cd5f55 Compare January 6, 2025 08:49
@renovate renovate bot force-pushed the renovate/canvas-3.x branch 2 times, most recently from 01ac774 to 49e6686 Compare January 6, 2025 09:34
Copy link

vercel bot commented Jan 6, 2025

Deployment failed with the following error:

Resource is limited - try again in 26 minutes (more than 100, code: "api-deployments-free-per-day").

@renovate renovate bot force-pushed the renovate/canvas-3.x branch from 49e6686 to 2548843 Compare January 6, 2025 09:54
Copy link

vercel bot commented Jan 6, 2025

Deployment failed with the following error:

Resource is limited - try again in 6 minutes (more than 100, code: "api-deployments-free-per-day").

@renovate renovate bot force-pushed the renovate/canvas-3.x branch from 2548843 to 8ef777e Compare January 6, 2025 10:00
Copy link

vercel bot commented Jan 6, 2025

Deployment failed with the following error:

Resource is limited - try again in 12 seconds (more than 100, code: "api-deployments-free-per-day").

@renovate renovate bot force-pushed the renovate/canvas-3.x branch from 8ef777e to a80a1e0 Compare January 7, 2025 06:08
Copy link

vercel bot commented Jan 7, 2025

Deployment failed with the following error:

Resource is limited - try again in 1 hour (more than 100, code: "api-deployments-free-per-day").

@renovate renovate bot force-pushed the renovate/canvas-3.x branch from a80a1e0 to fef326c Compare January 13, 2025 05:39
@renovate renovate bot force-pushed the renovate/canvas-3.x branch from fef326c to 5630093 Compare January 13, 2025 06:00
@adenvt adenvt added this pull request to the merge queue Jan 14, 2025
Merged via the queue into main with commit 6fa4cb9 Jan 14, 2025
11 checks passed
@adenvt adenvt deleted the renovate/canvas-3.x branch January 14, 2025 10:37
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.

1 participant