fix(deps): update dependency d3 to v7
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
d3 (source) | dependencies | major | ^5.15.0 -> ^7.0.0 |
@types/d3 | devDependencies | major | ^5.7.2 -> ^7.0.0 |
Release Notes
d3/d3
v7.5.0
- Add density.contours.
v7.4.5
- Fix the interpretation of an array of numbers passed to density.thresholds.
v7.4.4
- Fix incorrect behavior of d3.bisector when given an asymmetric comparator.
v7.4.3
- Fix crash in d3.bin. Thanks, @weiglemc!
v7.4.2
- Fix off-by-one bin assignment due to rounding error in d3.bin.
v7.4.1
- Significantly improve the performance of d3.bin.
- Fix the implementation of d3.thresholdScott.
- d3.pack and d3.packEnclose are now fully deterministic.
- d3.pack and d3.packEnclose now handle certain floating point errors better.
v7.4.0
- Add rgb.clamp and hsl.clamp.
- Add color.formatHex8.
- Fix color.formatHsl to clamp values to the expected range.
- Fix catastrophic backtracking when parsing colors. SNYK-JS-D3COLOR-1076592
v7.3.0
- Add d3.symbolsStroke. Thanks, @hemanrobinson!
- Add d3.symbolsFill, replacing (deprecating) d3.symbols.
- Add d3.symbolAsterisk.
- Add d3.symbolDiamond2.
- Add d3.symbolPlus.
- Add d3.symbolSquare2.
- Add d3.symbolTriangle2.
- Add d3.symbolX.
- Add d3.link.
v7.2.1
- Fix stratify.path when the top-level directory is only a single character.
- Fix stratify.path when paths contain multiple trailing slashes.
v7.2.0
- Add stratify.path.
v7.1.1
- d3.rank can now take a comparator in addition to an accessor.
- d3.rank, d3.sort, d3.bisector, and d3.groupSort now require comparators to have exactly two arguments.
v7.1.0
- Add d3.rank.
v7.0.4
- Default the base-10 log tick format to
~s
(SI) instead of.0e
(exponential).
v7.0.3
- Don’t mangle InternMap or InternSet in the generated UMD bundle.
v7.0.2
- Adopt interning for set operations. #231
- Fix InternSet and InternMap’s delete operation. mbostock/internmap@2.0.2
- Fix log.ticks to return exact values for integer bases. #253
- Fix log.tickFormat to trim trailing zeroes by default if no precision is specified. #254
v7.0.1
- Fix d3.sort, d3.bisector, and related methods to handle undefined order. #217
v7.0.0
Breaking changes:
- Adopt type: module. #3501
- Adopt InternMap for ordinal scale domains.
- d3.ascending and d3.descending no longer consider null comparable.
- d3.bin now ignores nulls.
- Convert array-likes (e.g., live NodeList) to arrays in d3.selectAll and selection.selectAll.
Non-breaking changes:
- Add d3.mode.
- Add d3.flatGroup and d3.flatRollup.
- Add transition.selectChild.
- Add transition.selectChildren.
- Adopt robust predicates for Delaunay triangulation.
- Fix delaunay.voronoi’s computed circumcenters for collinear points on the hull.
- Allow brush.move and brush.clear to take an optional event.
- Allow selection.merge to take a transition.
- Allow selection.join to take transitions.
- Apply linear binning for d3.contourDensity.
- Generate contours.thresholds at nicer round tick values.
- Fix axis.tickArguments to accept an iterable.
- Fix axis.tickValues to accept an iterable.
- Fix undefined event during brush.move.
- Fix drag event listeners to be explicitly non-passive where necessary (#78).
- Fix zoom event listeners to be explicitly non-passive where necessary.
- Fix variable initialization error in d3-zoom.
- Expose d3.ZoomTransform constructor.
- Update dependencies.
- Make build reproducible.
D3 now requires Node.js 12 or higher. For more, please read Sindre Sorhus’s FAQ.
v6.7.0
- Add d3.timeTicks and d3.utcTicks.
- Add d3.timeTickInterval and d3.utcTickInterval.
v6.6.2
- Fix handling of null with quantitative scales; null is now considered an “unknown” value, not zero.
v6.6.1
- Fix rounding error in d3.ticks.
v6.6.0
- Add d3.fcumsum. Thanks, @Fil!
- Add d3.curveBumpX and d3.curveBumpY. Thanks, @Fil!
- Add axis.offset.
- Only offset the axis by 0.5px on low-resolution devices (devicePixelRatio ≤ 1).
- Update dependencies.
v6.5.0
- Add d3.groupSort.
- Allow d3.sort to take multiple accessors.
v6.4.0
- Add d3.InternMap.
- Add d3.InternSet.
- Change d3.group, d3.rollup et al. to use InternMap.
v6.3.1
- Fix last bin with d3.bin when the values are not numbers.
- Fix last bin with d3.bin when the tick increment is fractional.
v6.3.0
v6.2.0
- Add d3.nice.
- Add d3.every.
- Add d3.some.
- Add d3.filter.
- Add d3.map.
- Add d3.reduce.
- Add d3.reverse.
- Add d3.sort.
- Add d3.difference.
- Add d3.disjoint.
- Add d3.intersection.
- Add d3.superset.
- Add d3.subset.
- Add d3.union.
- Fix d3.bin to nice the domain by default, ensuring uniform bin widths.
- Fix d3.scaleQuantile performance regression. Thanks @ilijapuaca!
v6.1.1
- Fix imprecision with bin.thresholds(count).
v6.1.0
- Add d3.shuffler.
- Add d3.bisectCenter.
- Fix off-by-one with bisector.center.
- Accept any integer seed with d3.randomLcg.
v6.0.0
- Adopt ES2015, including support for iterables and collections (Map and Set).
- Remove d3.event; selection.on now passes events directly to listeners.
- Remove d3.mouse, d3.touch, d3.touches, d3.clientPoint; add d3.pointer and d3.pointers.
- Remove d3.nest; add d3.group and d3.rollup.
- Remove d3-collection; see d3-array.
- Remove d3-voronoi; add d3-delaunay.
- Remove support for Bower.
For more on what’s new, see CHANGES.
To upgrade from D3 5.x, see the migration guide.
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.
Edited by Renovate-Bot