Update d3 dependencies to latest versions in demo#1965
Merged
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR updates several D3.js library dependencies from version 1.x to version 3.x across the visx-demo package and its sandbox examples, bringing the project up to date with modern D3 versions.
- Updated D3 libraries to major version 3.x (d3-hierarchy, d3-scale-chromatic, d3-shape)
- Updated d3-collection to latest 1.x patch version (^1.0.7)
- Consolidated yarn.lock entries to reflect the new dependency versions
Reviewed Changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| yarn.lock | Updated dependency resolution entries for d3-collection, d3-hierarchy, d3-scale-chromatic, and d3-shape; removed obsolete d3-color@1 and d3-interpolate@1 entries as all packages now use version 3.x |
| packages/visx-demo/package.json | Updated D3 dependency versions: d3-collection (^1.0.7), d3-hierarchy (^3.1.2), d3-scale-chromatic (^3.1.0), d3-shape (^3.2.0), and corresponding types |
| packages/visx-demo/src/sandboxes/visx-zoom-i/package.json | Updated d3-scale-chromatic from ^1.5.0 to ^3.1.0 to match parent package |
| packages/visx-demo/src/sandboxes/visx-linktypes/package.json | Updated d3-shape from 1.3.7 to 3.2.0 to match parent package |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
🎉 This PR is included in version |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🏠 Internal