Kepler.gl is a powerful open source geospatial analysis tool for large-scale data sets.
chore(deps): bump d3-color from 2.0.0 to 3.1.0 (#3599)
dependabot[bot]43c034ad5778
diff --git a/src/components/package.json b/src/components/package.jsonindex dda6aa131..21bc17fdf 100644--- a/src/components/package.json+++ b/src/components/package.json@@ -87,7 +87,7 @@"d3-array": "^2.8.0","d3-axis": "^2.0.0","d3-brush": "^2.1.0",- "d3-color": "^2.0.0",+ "d3-color": "^3.1.0","d3-format": "^2.0.0","d3-scale": "^3.2.3","d3-selection": "^2.0.0",diff --git a/src/constants/package.json b/src/constants/package.jsonindex fb3e1396a..04e6be040 100644--- a/src/constants/package.json+++ b/src/constants/package.json@@ -34,7 +34,7 @@"chroma-js": "2.1.2","colorbrewer": "^1.5.0","d3-array": "^2.8.0",- "d3-color": "^2.0.0",+ "d3-color": "^3.1.0","d3-scale": "^3.2.3","d3-scale-chromatic": "2.0.0","d3-time": "^2.0.0",diff --git a/src/reducers/package.json b/src/reducers/package.jsonindex 65026fef2..05280d2e3 100644--- a/src/reducers/package.json+++ b/src/reducers/package.json@@ -52,7 +52,7 @@"@types/lodash": "4.17.5","@types/redux-actions": "^2.6.2","copy-to-clipboard": "^3.3.1",- "d3-color": "^2.0.0",+ "d3-color": "^3.1.0","d3-dsv": "^2.0.0","deepmerge": "^4.2.2","global": "^4.3.0",diff --git a/src/utils/package.json b/src/utils/package.jsonindex 0740836f1..ba4ae1f48 100644--- a/src/utils/package.json+++ b/src/utils/package.json@@ -43,7 +43,7 @@"@types/lodash": "4.17.5","apache-arrow": ">=15.0.0","d3-array": "^2.8.0",- "d3-color": "^2.0.0",+ "d3-color": "^3.1.0","d3-format": "^2.0.0","d3-interpolate": "^2.0.1","decimal.js": "^10.2.0",diff --git a/src/utils/src/color-utils.ts b/src/utils/src/color-utils.tsindex 92d12447b..b5d52b000 100644--- a/src/utils/src/color-utils.ts+++ b/src/utils/src/color-utils.ts@@ -139,7 +139,7 @@ export function colorMaybeToHex(color: unknown): HexColor {*/export function interpolateHex(hex1: HexColor, hex2: HexColor): HexColor {- return d3Rgb(interpolate(hex1, hex2)(0.5)).hex().toUpperCase();+ return d3Rgb(interpolate(hex1, hex2)(0.5)).formatHex().toUpperCase();}function addNewCategoricalStepAtIndex(colorMap, index, newColor) {diff --git a/yarn.lock b/yarn.lockindex 6311ddfe4..1a3db1fb7 100644--- a/yarn.lock+++ b/yarn.lock@@ -5788,7 +5788,7 @@ __metadata:d3-array: "npm:^2.8.0"d3-axis: "npm:^2.0.0"d3-brush: "npm:^2.1.0"- d3-color: "npm:^2.0.0"+ d3-color: "npm:^3.1.0"d3-format: "npm:^2.0.0"d3-scale: "npm:^3.2.3"d3-selection: "npm:^2.0.0"@@ -5859,7 +5859,7 @@ __metadata:chroma-js: "npm:2.1.2"colorbrewer: "npm:^1.5.0"d3-array: "npm:^2.8.0"- d3-color: "npm:^2.0.0"+ d3-color: "npm:^3.1.0"d3-scale: "npm:^3.2.3"d3-scale-chromatic: "npm:2.0.0"d3-time: "npm:^2.0.0"@@ -6095,7 +6095,7 @@ __metadata:"@types/lodash": "npm:4.17.5""@types/redux-actions": "npm:^2.6.2"copy-to-clipboard: "npm:^3.3.1"- d3-color: "npm:^2.0.0"+ d3-color: "npm:^3.1.0"d3-dsv: "npm:^2.0.0"deepmerge: "npm:^4.2.2"global: "npm:^4.3.0"@@ -6199,7 +6199,7 @@ __metadata:"@types/lodash": "npm:4.17.5"apache-arrow: "npm:>=15.0.0"d3-array: "npm:^2.8.0"- d3-color: "npm:^2.0.0"+ d3-color: "npm:^3.1.0"d3-format: "npm:^2.0.0"d3-interpolate: "npm:^2.0.1"decimal.js: "npm:^10.2.0"