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

[api-minor] Update the canvas package to version 3 #18922

Merged
merged 2 commits into from
Oct 20, 2024

Conversation

Snuffleupagus
Copy link
Collaborator

@Snuffleupagus Snuffleupagus commented Oct 19, 2024

@Snuffleupagus Snuffleupagus changed the title Node canvas 3 [api-minor] Update the canvas package to version 3 Oct 19, 2024
@Snuffleupagus Snuffleupagus linked an issue Oct 19, 2024 that may be closed by this pull request
@Snuffleupagus
Copy link
Collaborator Author

/botio unittest

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Received

Command cmd_unittest from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.241.84.105:8877/7bae5fcd7fd1584/output.txt

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Windows)


Received

Command cmd_unittest from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.193.163.58:8877/c39df4e22c15f45/output.txt

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Success

Full output at http://54.241.84.105:8877/7bae5fcd7fd1584/output.txt

Total script time: 2.63 mins

  • Unit Tests: Passed

@Snuffleupagus Snuffleupagus changed the title [api-minor] Update the canvas package to version 3 [api-minor] Update the canvas package to version 3 Oct 19, 2024
@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Windows)


Success

Full output at http://54.193.163.58:8877/c39df4e22c15f45/output.txt

Total script time: 8.17 mins

  • Unit Tests: Passed

Copy link
Contributor

@timvandermeij timvandermeij left a comment

Choose a reason for hiding this comment

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

Looks good to me, with the comment below addressed. Thank you for doing this so that further canvas updates are unblocked and we can finally work with Node 22!

package.json Outdated Show resolved Hide resolved
This allows us to run the Node.js unit-tests in version 22, which is good since it'll very soon become the active LTS release; see https://github.com/nodejs/release#release-schedule.
This way we allow the rest of the packages to be loaded successfully, such that e.g. the Node.js unit-tests work correctly.

Note that this occurred after updating the `node-canvas` package to version `3.0.0-rc2`, however it's not immediately clear to me if it's a problem there or in the `path2d` package; see also nilzona/path2d-polyfill/issues/84.
@Snuffleupagus Snuffleupagus merged commit 2a4630f into mozilla:master Oct 20, 2024
9 checks passed
@Snuffleupagus Snuffleupagus deleted the node-canvas-3 branch October 20, 2024 10:43
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.

Upgrade canvas to version 3.0.0
3 participants