Skip to content
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

Upstream Peer Dependency dagre #990

Closed
nothingismagick opened this issue Oct 12, 2019 · 8 comments
Closed

Upstream Peer Dependency dagre #990

nothingismagick opened this issue Oct 12, 2019 · 8 comments
Assignees
Labels
Type: Other Not an enhancement or a bug
Projects

Comments

@nothingismagick
Copy link
Contributor

I was just updating my deps, and noticed this. I thought I would mention it, because it seems that the d3 version is out of date ...

warning "mermaid > dagre-d3-renderer@0.5.8" has incorrect peer dependency "d3@^4.13.0".

Isn't modern d3 "d3@^5.12.0"?

(Yes, I know technically that the line here in this project's package.json is:

    "d3": "^5.7.0",

So it will properly install 5.12 and any other minor / patch increase. Just wondering if outreach to the dagre repo is warranted.

@nothingismagick nothingismagick added Contributor needed Type: Other Not an enhancement or a bug labels Oct 12, 2019
@github-actions github-actions bot added the Status: Triage Needs to be verified, categorized, etc label Oct 12, 2019
@christopherkade
Copy link
Contributor

christopherkade commented Oct 14, 2019

Hi @nothingismagick,

Is there really something we can do about it?

dagre-d3-renderer has the following peer dep:

"peerDependencies": {
  "d3": "^4.13.0"
},

Which conflicts with the ^5.7.0 version of that the project uses.
Let me know if there's anything I can do to help.

@nothingismagick
Copy link
Contributor Author

Let's see where dagrejs/dagre-d3#375 takes us.

@gordonwoodhull
Copy link

gordonwoodhull commented Oct 19, 2019

I tested and submitted PRs dagrejs/dagre-d3#376 and tylingsoft/dagre-d3-renderer#11 - take your pick.

@pravi
Copy link
Contributor

pravi commented Oct 19, 2019

dagre-d3 merged the pr. @gordonwoodhull thanks! @christopherkade would it be possible to switch to dagre-d3 (dagre-d3-renderer is a fork and I don't know why this was chosen in the first place), which seems more active any way. Also can we use the master branch directly till they make a new release?

@gordonwoodhull
Copy link

agree, dagre and dagre-d3 were officially unmaintained for a while and got forked then. a new maintainer stepped in and the original repo was reactivated (under a new org).

@pravi
Copy link
Contributor

pravi commented Oct 21, 2019

@gordonwoodhull @christopherkade @nothingismagick I have switched to dagre-d3, dagre and graphlib in #1018. Build and test passed. Please review.

@knsv knsv added this to To do in 8.4.1 Oct 23, 2019
@knsv knsv moved this from To do to In verification in 8.4.1 Oct 23, 2019
@knsv knsv moved this from In verification to Ready for release in 8.4.1 Nov 6, 2019
@knsv
Copy link
Collaborator

knsv commented Nov 6, 2019

Part of release 8.4.1

@knsv knsv closed this as completed Nov 6, 2019
@knsv
Copy link
Collaborator

knsv commented Nov 6, 2019

Part of release 8.4.1

@github-actions github-actions bot locked and limited conversation to collaborators Nov 6, 2019
@IOrlandoni IOrlandoni removed Contributor needed Status: Triage Needs to be verified, categorized, etc labels Dec 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Type: Other Not an enhancement or a bug
Projects
No open projects
8.4.1
Ready for release
Development

No branches or pull requests

6 participants