Skip to content

allow d3 major versions after 4#13

Open
stevvvn wants to merge 1 commit intomcaule:masterfrom
stevvvn:allow-new-d3-major-versions
Open

allow d3 major versions after 4#13
stevvvn wants to merge 1 commit intomcaule:masterfrom
stevvvn:allow-new-d3-major-versions

Conversation

@stevvvn
Copy link
Copy Markdown

@stevvvn stevvvn commented Oct 14, 2018

This library works fine with d3 v5.x, however if you install it in a project already using v5 for something it brings in a v4 copy because the ^ listed in the dependency version doesn't allow traversing major versions. This ends up causing an errors related to d3-selection annotating properties of the wrong version.

This patch should allow it to work in v4 or v5 equally.

@SitanHuang
Copy link
Copy Markdown

Does not work in the latest v7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants