geostyler / geostyler-legend

Small library to render map legends with OpenLayers and d3
BSD 2-Clause "Simplified" License
11 stars 9 forks source link

chore(deps): update dependency d3 to v7 #476

Open renovate[bot] opened 3 weeks ago

renovate[bot] commented 3 weeks ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
d3 (source) ^6.7.0 -> ^7.0.0 age adoption passing confidence

Release Notes

d3/d3 (d3) ### [`v7.9.0`](https://togithub.com/d3/d3/releases/tag/v7.9.0) [Compare Source](https://togithub.com/d3/d3/compare/v7.8.5...v7.9.0) - Add d3.schemeObservable10. [https://github.com/d3/d3-scale-chromatic/pull/51](https://togithub.com/d3/d3-scale-chromatic/pull/51) - Change d3.geoCircle precision to 2 degrees. [https://github.com/d3/d3-geo/pull/281](https://togithub.com/d3/d3-geo/pull/281) - Set projection.clipAngle precision to 2 degrees. [https://github.com/d3/d3-geo/pull/282](https://togithub.com/d3/d3-geo/pull/282) ### [`v7.8.5`](https://togithub.com/d3/d3/releases/tag/v7.8.5) [Compare Source](https://togithub.com/d3/d3/compare/v7.8.4...v7.8.5) - Fix the return value of d3.medianIndex and d3.quantileIndex when the data contains missing values. [#​275](https://togithub.com/d3/d3-array/issues/275) ### [`v7.8.4`](https://togithub.com/d3/d3/releases/tag/v7.8.4) [Compare Source](https://togithub.com/d3/d3/compare/v7.8.3...v7.8.4) - Fix circumcenters when the hull is collinear. [https://github.com/d3/d3-delaunay/pull/142](https://togithub.com/d3/d3-delaunay/pull/142) ### [`v7.8.3`](https://togithub.com/d3/d3/releases/tag/v7.8.3) [Compare Source](https://togithub.com/d3/d3/compare/v7.8.2...v7.8.3) - Fix precision error calculating *voronoi*.neighbors. [https://github.com/d3/d3-delaunay/pull/138](https://togithub.com/d3/d3-delaunay/pull/138) [https://github.com/d3/d3-delaunay/pull/139](https://togithub.com/d3/d3-delaunay/pull/139) - Fix broken polygon. [https://github.com/d3/d3-delaunay/pull/140](https://togithub.com/d3/d3-delaunay/pull/140) - Fix threshold generation when input is empty or has no deviation. [https://github.com/d3/d3-array/pull/271](https://togithub.com/d3/d3-array/pull/271) ### [`v7.8.2`](https://togithub.com/d3/d3/releases/tag/v7.8.2) [Compare Source](https://togithub.com/d3/d3/compare/v7.8.1...v7.8.2) - d3.ticks now tries harder to generate at least one tick. [https://github.com/d3/d3-array/pull/264](https://togithub.com/d3/d3-array/pull/264) ### [`v7.8.1`](https://togithub.com/d3/d3/releases/tag/v7.8.1) [Compare Source](https://togithub.com/d3/d3/compare/v7.8.0...v7.8.1) - Tolerate invalid input values when generating contours. [#​61](https://togithub.com/d3/d3-contour/pull/61) - Tolerate invalid input weights when generating density contours. [#​65](https://togithub.com/d3/d3-contour/pull/65) - Fix missing contours at extrema when using default thresholds. [#​68](https://togithub.com/d3/d3-contour/pull/68) ### [`v7.8.0`](https://togithub.com/d3/d3/releases/tag/v7.8.0) [Compare Source](https://togithub.com/d3/d3/compare/v7.7.0...v7.8.0) - Add [d3.pathRound](https://togithub.com/d3/d3-path/blob/main/README.md#pathRound). - Add configurable precision when generating path data via [*path*.digits](https://togithub.com/d3/d3-geo/blob/main/README.md#path_digits). - Add likewise *shape*.digits method to d3.arc, d3.area, d3.line, d3.link, and d3.symbol. - Improve the performance of d3.geoPath’s string concatenation. - Fix arc rendering for small arcs with rounded corners. - Fix BumpRadial implementation to support multiple points. - Fix projection when lambda is outside the range ±3π. - Rename d3.symbolX to d3.symbolTimes; d3.symbolX is now deprecated. ### [`v7.7.0`](https://togithub.com/d3/d3/releases/tag/v7.7.0) [Compare Source](https://togithub.com/d3/d3/compare/v7.6.1...v7.7.0) - Add [d3.unixDay](https://togithub.com/d3/d3-time/blob/main/README.md#timeDay) and [d3.unixDays](https://togithub.com/d3/d3-time/blob/main/README.md#timeDays). [https://github.com/d3/d3-time/pull/58](https://togithub.com/d3/d3-time/pull/58) - Adopt d3.unixDay in place of d3.utcDay for [d3.utcTicks](https://togithub.com/d3/d3-time/blob/main/README.md#utcTicks) to ensure uniform tick spacing. - Fix mutation of user-owned thresholds in d3.bin. [https://github.com/d3/d3-array/issues/263](https://togithub.com/d3/d3-array/issues/263) - Fix infinite loop when d3.quantile or d3.quickselect is called with invalid arguments. [https://github.com/d3/d3-array/pull/262](https://togithub.com/d3/d3-array/pull/262) ### [`v7.6.1`](https://togithub.com/d3/d3/releases/tag/v7.6.1) [Compare Source](https://togithub.com/d3/d3/compare/v7.6.0...v7.6.1) - [*density*.bandwidth](https://togithub.com/d3/d3-contour/blob/main/README.md#density_bandwidth) now supports fractional (non-integer) values. ### [`v7.6.0`](https://togithub.com/d3/d3/releases/tag/v7.6.0) [Compare Source](https://togithub.com/d3/d3/compare/v7.5.0...v7.6.0) - Add [d3.blur](https://togithub.com/d3/d3-array/blob/main/README.md#blur). - Add [d3.blur2](https://togithub.com/d3/d3-array/blob/main/README.md#blur2). - Add [d3.blurImage](https://togithub.com/d3/d3-array/blob/main/README.md#blurImage). - Add [d3.medianIndex](https://togithub.com/d3/d3-array/blob/main/README.md#medianIndex). - Add [d3.quantileIndex](https://togithub.com/d3/d3-array/blob/main/README.md#quantileIndex). ### [`v7.5.0`](https://togithub.com/d3/d3/releases/tag/v7.5.0) [Compare Source](https://togithub.com/d3/d3/compare/v7.4.5...v7.5.0) - Add [*density*.contours](https://togithub.com/d3/d3-contour/blob/main/README.md#density_contours). ### [`v7.4.5`](https://togithub.com/d3/d3/releases/tag/v7.4.5) [Compare Source](https://togithub.com/d3/d3/compare/v7.4.4...v7.4.5) - Fix the interpretation of an array of numbers passed to [*density*.thresholds](https://togithub.com/d3/d3-contour/blob/main/README.md#density_thresholds). ### [`v7.4.4`](https://togithub.com/d3/d3/releases/tag/v7.4.4) [Compare Source](https://togithub.com/d3/d3/compare/v7.4.3...v7.4.4) - Fix incorrect behavior of d3.bisector when given an asymmetric comparator. ### [`v7.4.3`](https://togithub.com/d3/d3/releases/tag/v7.4.3) [Compare Source](https://togithub.com/d3/d3/compare/v7.4.2...v7.4.3) - Fix crash in d3.bin. Thanks, [@​weiglemc](https://togithub.com/weiglemc)! ### [`v7.4.2`](https://togithub.com/d3/d3/releases/tag/v7.4.2) [Compare Source](https://togithub.com/d3/d3/compare/v7.4.1...v7.4.2) - Fix off-by-one bin assignment due to rounding error in d3.bin. ### [`v7.4.1`](https://togithub.com/d3/d3/releases/tag/v7.4.1) [Compare Source](https://togithub.com/d3/d3/compare/v7.4.0...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`](https://togithub.com/d3/d3/releases/tag/v7.4.0) [Compare Source](https://togithub.com/d3/d3/compare/v7.3.0...v7.4.0) - Add [*rgb*.clamp](https://togithub.com/d3/d3-color/blob/main/README.md#rgb_clamp) and [*hsl*.clamp](https://togithub.com/d3/d3-color/blob/main/README.md#hsl_clamp). - Add [*color*.formatHex8](https://togithub.com/d3/d3-color/blob/main/README.md#color_formatHex8). - Fix [*color*.formatHsl](https://togithub.com/d3/d3-color/blob/main/README.md#color_formatHsl) to clamp values to the expected range. - Fix catastrophic backtracking when parsing colors. [SNYK-JS-D3COLOR-1076592](https://security.snyk.io/vuln/SNYK-JS-D3COLOR-1076592) ### [`v7.3.0`](https://togithub.com/d3/d3/releases/tag/v7.3.0) [Compare Source](https://togithub.com/d3/d3/compare/v7.2.1...v7.3.0) - Add [d3.symbolsStroke](https://togithub.com/d3/d3-shape/blob/main/README.md#symbolsStroke). Thanks, [@​hemanrobinson](https://togithub.com/hemanrobinson)! - Add [d3.symbolsFill](https://togithub.com/d3/d3-shape/blob/main/README.md#symbolsFill), replacing (deprecating) d3.symbols. - Add [d3.symbolAsterisk](https://togithub.com/d3/d3-shape/blob/main/README.md#symbolAsterisk). - Add [d3.symbolDiamond2](https://togithub.com/d3/d3-shape/blob/main/README.md#symbolDiamond2). - Add [d3.symbolPlus](https://togithub.com/d3/d3-shape/blob/main/README.md#symbolPlus). - Add [d3.symbolSquare2](https://togithub.com/d3/d3-shape/blob/main/README.md#symbolSquare2). - Add [d3.symbolTriangle2](https://togithub.com/d3/d3-shape/blob/main/README.md#symbolTriangle2). - Add [d3.symbolX](https://togithub.com/d3/d3-shape/blob/main/README.md#symbolX). - Add [d3.link](https://togithub.com/d3/d3-shape/blob/main/README.md#link). ### [`v7.2.1`](https://togithub.com/d3/d3/releases/tag/v7.2.1) [Compare Source](https://togithub.com/d3/d3/compare/v7.2.0...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`](https://togithub.com/d3/d3/releases/tag/v7.2.0) [Compare Source](https://togithub.com/d3/d3/compare/v7.1.1...v7.2.0) - Add [*stratify*.path](https://togithub.com/d3/d3-hierarchy/blob/main/README.md#stratify_path). ### [`v7.1.1`](https://togithub.com/d3/d3/releases/tag/v7.1.1) [Compare Source](https://togithub.com/d3/d3/compare/v7.1.0...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`](https://togithub.com/d3/d3/releases/tag/v7.1.0) [Compare Source](https://togithub.com/d3/d3/compare/v7.0.4...v7.1.0) - Add [d3.rank](https://togithub.com/d3/d3-array/blob/main/README.md#rank). ### [`v7.0.4`](https://togithub.com/d3/d3/releases/tag/v7.0.4) [Compare Source](https://togithub.com/d3/d3/compare/v7.0.3...v7.0.4) - Default the base-10 log tick format to `~s` (SI) instead of `.0e` (exponential). ### [`v7.0.3`](https://togithub.com/d3/d3/releases/tag/v7.0.3) [Compare Source](https://togithub.com/d3/d3/compare/v7.0.2...v7.0.3) - Don’t mangle InternMap or InternSet in the generated UMD bundle. ### [`v7.0.2`](https://togithub.com/d3/d3/releases/tag/v7.0.2) [Compare Source](https://togithub.com/d3/d3/compare/v7.0.1...v7.0.2) - Adopt [interning](https://togithub.com/mbostock/internmap) for [set operations](https://togithub.com/d3/d3-array/blob/main/README.md#sets). [#​231](https://togithub.com/d3/d3-array/pull/231) - Fix [InternSet](https://togithub.com/mbostock/internmap) and [InternMap](https://togithub.com/mbostock/internmap)’s delete operation. [mbostock/internmap@2.0.2](https://togithub.com/mbostock/internmap/releases/tag/v2.0.2) - Fix [*log*.ticks](https://togithub.com/d3/d3-scale/blob/main/README.md#log_ticks) to return exact values for integer bases. [#​253](https://togithub.com/d3/d3-scale/pull/253) - Fix [*log*.tickFormat](https://togithub.com/d3/d3-scale/blob/main/README.md#log_tickFormat) to trim trailing zeroes by default if no precision is specified. [#​254](https://togithub.com/d3/d3-scale/pull/254) ### [`v7.0.1`](https://togithub.com/d3/d3/releases/tag/v7.0.1) [Compare Source](https://togithub.com/d3/d3/compare/v7.0.0...v7.0.1) - Fix d3.sort, d3.bisector, and related methods to handle undefined order. [#​217](https://togithub.com/d3/d3-array/issues/217) ### [`v7.0.0`](https://togithub.com/d3/d3/releases/tag/v7.0.0) [Compare Source](https://togithub.com/d3/d3/compare/v6.7.0...v7.0.0) Breaking changes: - Adopt type: module. [#​3501](https://togithub.com/d3/d3/issues/3501) - Adopt [InternMap](https://togithub.com/mbostock/internmap) for [ordinal scale domains](https://togithub.com/d3/d3-scale/blob/main/README.md#ordinal-scales). - [d3.ascending](https://togithub.com/d3/d3-array/blob/main/README.md#ascending) and [d3.descending](https://togithub.com/d3/d3-array/blob/main/README.md#descending) no longer consider null comparable. - [d3.bin](https://togithub.com/d3/d3-array/blob/main/README.md#bin) now ignores nulls. - Convert array-likes (e.g., live NodeList) to arrays in [d3.selectAll](https://togithub.com/d3/d3-selection/blob/main/README.md#selectAll) and [*selection*.selectAll](https://togithub.com/d3/d3-selection/blob/main/README.md#selection_selectAll). Non-breaking changes: - Add [d3.mode](https://togithub.com/d3/d3-array/blob/main/README.md#mode). - Add [d3.flatGroup](https://togithub.com/d3/d3-array/blob/main/README.md#flatGroup) and [d3.flatRollup](https://togithub.com/d3/d3-array/blob/main/README.md#flatRollup). - Add [*transition*.selectChild](https://togithub.com/d3/d3-transition/blob/main/README.md#selectChild). - Add [*transition*.selectChildren](https://togithub.com/d3/d3-transition/blob/main/README.md#selectChildren). - Adopt [robust predicates](https://togithub.com/mourner/robust-predicates) for [Delaunay triangulation](https://togithub.com/d3/d3-delaunay). - Fix [*delaunay*.voronoi](https://togithub.com/d3/d3-delaunay/blob/main/README.md#delaunay_voronoi)’s computed circumcenters for [collinear points on the hull](https://observablehq.com/@​fil/d3-delaunay-6-robustly-released). - Allow [*brush*.move](https://togithub.com/d3/d3-brush/blob/main/README.md#brush_move) and [*brush*.clear](https://togithub.com/d3/d3-brush/blob/main/README.md#brush_clear) to take an optional event. - Allow [*selection*.merge](https://togithub.com/d3/d3-selection/blob/main/README.md#selection_merge) to take a transition. - Allow [*selection*.join](https://togithub.com/d3/d3-selection/blob/main/README.md#selection_join) to take transitions. - Apply [linear binning](https://observablehq.com/@​d3/contourdensity-linear-binning) for [d3.contourDensity](https://togithub.com/d3/d3-contour/blob/main/README.md#contourDensity). - Generate [*contours*.thresholds](https://togithub.com/d3/d3-contour/blob/main/README.md#contours_thresholds) at nicer round tick values. - Fix [*axis*.tickArguments](https://togithub.com/d3/d3-axis/blob/main/README.md#axis_tickArguments) to accept an iterable. - Fix [*axis*.tickValues](https://togithub.com/d3/d3-axis/blob/main/README.md#axis_tickValues) to accept an iterable. - Fix undefined *event* during [*brush*.move](https://togithub.com/d3/d3-brush/blob/main/README.md#brush_move). - Fix [drag event listeners](https://togithub.com/d3/d3-drag) to be explicitly non-passive where necessary ([#​78](https://togithub.com/d3/d3-drag/issues/78)). - Fix [zoom event listeners](https://togithub.com/d3/d3-zoom) to be explicitly non-passive where necessary. - Fix variable initialization error in d3-zoom. - Expose [d3.ZoomTransform](https://togithub.com/d3/d3-zoom/blob/main/README.md#zoom-transforms) constructor. - Update dependencies. - Make build reproducible. D3 now requires Node.js 12 or higher. For more, please read [Sindre Sorhus’s FAQ](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.