Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix: Fix installing dependencies in node v22#7381

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
archmoj merged 7 commits intoplotly:masterfromchaigh-uk:fix-deps-node-22
Jun 3, 2025

Conversation

@chaigh-uk
Copy link
Contributor

Fixes#7306

Bumpscanvas tov3.1.0 andjsdom tov26.0.0

The key fix was in canvas and isdetailed here

archmoj reacted with heart emoji
@gvwilsongvwilson added communitycommunity contribution P2considered for next cycle fixfixes something broken dependenciesPull requests that update a dependency file labelsFeb 28, 2025
@gvwilson
Copy link
Contributor

thanks@chaigh-uk - I'll try to prioritize review in the next cycle.

chaigh-uk reacted with thumbs up emojiarchmoj reacted with heart emoji

"bubleify":"^2.0.0",
"buffer":"^6.0.3",
"canvas":"^2.11.2",
"canvas":"^3.1.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

Noting thatcanvas v3 has dropped support for Node.js 16.x and below and "node": ">=18.0.0" is used inplotly.js's current package system

"node":">=18.0.0"
, this change seems good to me.
💯 Thank you 🙏

archmoj reacted with heart emoji
"jasmine":"3.5.0",
"jasmine-core":"3.5.0",
"jsdom":"^24.1.1",
"jsdom":"^26.0.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

jsdom v25 appears to improve security issues in regards to the"dangerously" option used bytasks/util/plotly_node.mjs
This dependency bump from v24 to v26 seems good to me.

archmoj reacted with heart emoji
@archmoj
Copy link
Contributor

@chaigh-uk Thanks very much for the PR.

You could fetch upstream/master and then add a test titledpublish-dist-node-v22 to regenerateplot-schema similar topublish-dist.

publish-dist is declared at

publish-dist:

You also need to add your newpublish-dist-node-v22 test below here:

-publish-dist

Thank you!

chaigh-uk reacted with thumbs up emojiarchmoj reacted with heart emoji

@chaigh-uk
Copy link
ContributorAuthor

@chaigh-uk Thanks very much for the PR.

You could fetch upstream/master and then add a test titledpublish-dist-node-v22 to regenerateplot-schema similar topublish-dist.

publish-dist is declared at

publish-dist:

You also need to add your newpublish-dist-node-v22 test below here:

-publish-dist

Thank you!

Thanks for taking a look@archmoj - I've had a go at this in46e0277
Hopefully I've understood correctly, but let me know if I've missed anything 👍

archmoj reacted with heart emoji

@chaigh-ukchaigh-uk changed the base branch frommaster topr_7005-testApril 2, 2025 11:27
@chaigh-ukchaigh-uk changed the base branch frompr_7005-test tomasterApril 2, 2025 11:27
@gvwilsongvwilson added P1needed for current cycle and removed P2considered for next cycle labelsApr 2, 2025
@archmoj
Copy link
Contributor

💯 🙏 Many thanks@chaigh-uk for the smart addition of node 22 tests.

Screenshot from 2025-04-03 10-47-15

It is interesting to see node v22 tests appear to run faster.
The failing baseline tests (listedhttps://app.circleci.com/pipelines/github/plotly/plotly.js/11881/workflows/222c9105-1ddf-48c3-8268-a66cbfc281c3) are not related to this PR.

It would be great if someone else from @plotly/plotly_js also help approve this PR.

On another note@chaigh-uk used a pattern in46e0277 that simplified testing in different container versions.

IMHO - It would be of interest to apply similar pattern in other places in plotly.js and plotly.py and dash tests to reduce/avoid duplicated CircleCI config code
cc:@alexcjohnson@antoinerg@samhinshaw

archmoj reacted with heart emoji

Copy link
Contributor

@archmojarchmoj left a comment

Choose a reason for hiding this comment

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

💃

chaigh-uk reacted with hooray emoji
@archmojarchmoj changed the titleFix installing dependencies in node v22Fix: Fix installing dependencies in node v22Jun 3, 2025
@archmojarchmoj merged commitf528e74 intoplotly:masterJun 3, 2025
4 of 5 checks passed
@archmojarchmoj mentioned this pull requestJul 22, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@alexcjohnsonalexcjohnsonAwaiting requested review from alexcjohnson

1 more reviewer

@archmojarchmojarchmoj approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

@archmojarchmoj

Labels

communitycommunity contributiondependenciesPull requests that update a dependency filefixfixes something brokenP1needed for current cycle

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Dependency Installation Fails on Node 22

3 participants

@chaigh-uk@gvwilson@archmoj

[8]ページ先頭

©2009-2025 Movatter.jp