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

handle degenerate domains #2212

Merged
merged 1 commit into from
Nov 19, 2024
Merged

handle degenerate domains #2212

merged 1 commit into from
Nov 19, 2024

Conversation

mbostock
Copy link
Member

Fixes #2210. Alternative to #2211.

@mbostock mbostock requested a review from Fil October 28, 2024 18:20
@mbostock
Copy link
Member Author

Not sure why the test snapshots changed… maybe I’m running a new version of Node? 🤔

@Fil
Copy link
Contributor

Fil commented Oct 28, 2024

Yes that's the reason. Same for me aaa8324 passes all tests with v21.6.0, but not v22.10.0. Probably the maths have changed :)

Means we have to round a bit before we compare numbers… it's going to be fun.

@Fil
Copy link
Contributor

Fil commented Nov 19, 2024

can we go back to aaa8324 and leave the tests aside for now? The fix lgtm!

@mbostock
Copy link
Member Author

Yeah we’re stuck on Node 20 for development until we either drop node-canvas or they release 3.0.0. #2234 So we’ll need to generate the snapshots on Node 20.

@mbostock mbostock force-pushed the mbostock/degenerate-domains branch from cecea00 to 9da8083 Compare November 19, 2024 16:15
@mbostock mbostock marked this pull request as ready for review November 19, 2024 16:15
@mbostock mbostock enabled auto-merge (squash) November 19, 2024 16:18
Copy link
Contributor

@Fil Fil left a comment

Choose a reason for hiding this comment

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

thanks!

@mbostock mbostock merged commit 6bea18e into main Nov 19, 2024
1 check passed
@mbostock mbostock deleted the mbostock/degenerate-domains branch November 19, 2024 16:28
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.

TypeError: o[n] is not a function for empty color domain
2 participants