Repository navigation
Update color-rgba to 3.0.0 to fix hsl color conversion bug - #7325
Conversation
| "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.
Thanks for the PR.
Please also commit the changes to package-lock.json file.
|
@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. |
alexcjohnson
left a comment
There was a problem hiding this comment.
💃 Excellent, thanks!
|
Hello everyone. $npm ls color-rgbagives In order to bump those ones could modify those sub-dependencies and after enough testing possibly release major versions of those packages cc: @dy @alexcjohnson On another note one may argue it is generally preferable to use "^3.0.0"instead of "3.0.0" in the package i.e. to be able to get the latest v3 releases of |

Fix the hsl conversion bug mentioned in #2431.
But the scattergl blurry problem is still out there.