-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Update color-rgba
to 3.0.0
to fix hsl color conversion bug
#7325
Conversation
@@ -80,7 +80,7 @@ | |||
"color-alpha": "1.0.4", | |||
"color-normalize": "1.5.0", | |||
"color-parse": "2.0.0", | |||
"color-rgba": "2.1.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR.
Please also commit the changes to package-lock.json
file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
@Lexachoc I merged master since there have been some changes particularly with testing recently, but that didn't fix the failures we're seeing on CI, would you be able to look into it? In particular it's showing messages like |
@alexcjohnson I have checked the parcoords mock test. We're using In v3, One solution is to replace this line:
with: import rgba from 'color-rgba'; then, it works. What do you think? Should we simply change the import way to make it work? |
I'd love to update from I wonder if instead it would work to change to cc @marthacryan |
Yes, it also works with var rgba = require('color-rgba').default; I have also tested with the change from #7367, both import ways work (tested also when custom bundled). P.S. I tested it with the test dashboard: |
Excellent, thanks! Let’s use the |
in `color-rgba` v3, it uses ES module.
@alexcjohnson Cheers! all tests passed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💃 Excellent, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks @Lexachoc 🚀
Fix the hsl conversion bug mentioned in #2431.
But the scattergl blurry problem is still out there.