Skip to content
Source
Sign inSign up
TanStack/react-charts

d3-color REDoS version patch #331

Mergedemattiza(GitHub profile, opens in a new tab)merged 1 commit intobeta fromrefs/pull/331/headmerged by tannerlinsley

overrides the version of d3-color used by d3-scale -> d3-interpolate to use 3.1.0, which remediates https://security.snyk.io/vuln/SNYK-JS-D3COLOR-1076592

This addresses #328, and can be removed when d3/d3-interpolate#105 is reopened and merged.

LMK if there is a CLA or other formalities before merge. We are also patching in our install, but wanted to share more broadly in the meantime if this is a nit for react-charts users.

    1. Totally reasonable. 👍

    2. tannerlinsley merged thisd13a268

    3. tannerlinsley closed this

    4. :tada: This PR is included in version 3.0.0-beta.51 :tada:

      The release is available on:

      Your semantic-release bot :package::rocket:

    5. tannerlinsley added labelsreleased on @beta

    6. amitnyc83(GitHub profile, opens in a new tab)commented

      Hi there - I am using dx-react-charts as a dependency which has a dependency on react-charts -> d3-scale -> d3-interpolate -> d3-color. Do i just add d3-color v3.1.0 as a peerDependency to fix this issue. Thanks in advance!

Sign in to join this conversation.