Skip to content

react-digraph has a transitive dependancy to react15 #335

@mjothy

Description

@mjothy

Hello, I have an issue while running npm install in my project, my react-digraph dependency (to v7.2.1) is pulling react 15 due to a transitive dependency :

react-digraph [7.2.1] > html-react-parser [0.6.1] > react-dom-core [0.0.3] > react [15]

The first two have a proper peerDependency to react, but the last has react 15 as dependency instead.

My app is running on react 16.14 (same as v7.2.1 of react-digraph), but is now pulling both versions of react after npm install, breaking the runtime.

Is there any workaround ? It seems to me this issue should be affecting anyone who tries to use v7.2.1 ?

Thank you for your time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions