d3 / d3-color

Color spaces! RGB, HSL, Cubehelix, CIELAB, and more.
https://d3js.org/d3-color
ISC License
398 stars 91 forks source link

Avoid backtracking in v2 #110

Open timbset opened 1 year ago

timbset commented 1 year ago

Fixes https://github.com/d3/d3-color/issues/108

As the main branch already contains v3 and this PR was created to fix a security issue in v2, I suggest you to create a new branch called "v2" based on the following commit: https://github.com/d3/d3-color/commit/017a46380fd46600c1781da634039478c0b23e13. If you agree, please change base branch in this PR to the created one.

vallieres commented 1 year ago

@mbostock @Fil sorry to ping you, but this PR would come in and help lots of us on the 2.x track and fix a troublesome CVE 😄

Fernando-Abreu commented 1 year ago

It would be really helpful to has this issue fixed in version 2.x

vignesh-harish commented 1 year ago

@mbostock - sorry to bother you, but is this something that you can help merge ?