The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
TypeScript analyticsbibusiness-intelligencebusinessintelligenceclojuredashboarddatadata-analysisdata-visualizationdatabasemetabasemysqlpostgrespostgresqlreportingslacksql-editorvisualization
Uxw 2596 color range on table crashes it if values span a large scale (#68022)
Jakub Chodorowicz739a915d5dff
diff --git a/e2e/test/scenarios/models/models-list-view.cy.spec.js b/e2e/test/scenarios/models/models-list-view.cy.spec.jsindex 661cb4d3f2c..0737634b31f 100644--- a/e2e/test/scenarios/models/models-list-view.cy.spec.js+++ b/e2e/test/scenarios/models/models-list-view.cy.spec.js@@ -1,6 +1,6 @@-const Color = require("color");+import Color from "color";-const { colors } = require("metabase/lib/colors");+import { colors } from "metabase/lib/colors";const { H } = cy;diff --git a/enterprise/frontend/src/metabase-enterprise/whitelabel/components/ChartColorSettings/utils.ts b/enterprise/frontend/src/metabase-enterprise/whitelabel/components/ChartColorSettings/utils.tsindex 05965e1d219..bfd07d210f4 100644--- a/enterprise/frontend/src/metabase-enterprise/whitelabel/components/ChartColorSettings/utils.ts+++ b/enterprise/frontend/src/metabase-enterprise/whitelabel/components/ChartColorSettings/utils.ts@@ -1,3 +1,4 @@+import type { ColorInstance } from "color";import Color from "color";import _ from "underscore";@@ -43,12 +44,12 @@ export const getAutoChartColors = (};const getAutoColors = (- oldColors: (Color | undefined)[],- fallbackColor: Color,+ oldColors: (ColorInstance | undefined)[],+ fallbackColor: ColorInstance,) => {const oldColor = oldColors.find((color) => color != null);- const autoColors: Color[] = [];+ const autoColors: ColorInstance[] = [];oldColors.forEach((_color, index) => {if (index === 0 && !oldColor) {autoColors.push(fallbackColor);@@ -66,7 +67,7 @@ const getAutoColors = (return oldColors.map((color) => (color ? color : availableColors.shift()));};-const getNextColor = (color: Color) => {+const getNextColor = (color: ColorInstance) => {const newHueChange = color.hue() >= 90 && color.hue() <= 130 ? 60 : 45;const newHue = (color.hue() + newHueChange) % 360;const newSaturation = newHue <= 65 || newHue >= 345 ? 55 : 40;@@ -74,11 +75,14 @@ const getNextColor = (color: Color) => {return color.hue(newHue).saturationv(newSaturation).value(90);};-const isSimilarColor = (newColor: Color, oldColor: Color) => {+const isSimilarColor = (newColor: ColorInstance, oldColor: ColorInstance) => {return Math.abs(newColor.hue() - oldColor.hue()) <= 20;};-const isSimilarToColors = (newColor: Color, colors: (Color | undefined)[]) => {+const isSimilarToColors = (+ newColor: ColorInstance,+ colors: (ColorInstance | undefined)[],+) => {return colors.some((oldColor) => oldColor && isSimilarColor(newColor, oldColor),);diff --git a/frontend/src/metabase/lib/colors/scales.ts b/frontend/src/metabase/lib/colors/scales.tsindex 93d940dfa43..91b07abd7b9 100644--- a/frontend/src/metabase/lib/colors/scales.ts+++ b/frontend/src/metabase/lib/colors/scales.ts@@ -19,11 +19,61 @@ export const getColorScale = (}};-const RGBA_REGEX =- /rgba\((\d+\.\d+),\s*(\d+\.\d+),\s*(\d+\.\d+),\s*(\d+\.\d+)\)/;+// Matches RGBA color strings with integers, decimals, and scientific notation+// Handles: rgba(136, 191, 77, 0.75), rgba(136.7, 191.3, 77.2, 0.75), rgba(136, 191, 77, 7.5e-7)+const NUMBER_PATTERN = String.raw`-?\d+(?:\.\d+)?(?:e[+-]?\d+)?`;-export const getSafeColor = (color: string) => {- return color.replace(RGBA_REGEX, (_, r, g, b, a) => {- return `rgba(${Math.round(r)},${Math.round(g)},${Math.round(b)},${a})`;+const RGBA_REGEX = new RegExp(+ `rgba\\(` ++ `\\s*(?<r>${NUMBER_PATTERN})\\s*,` ++ `\\s*(?<g>${NUMBER_PATTERN})\\s*,` ++ `\\s*(?<b>${NUMBER_PATTERN})\\s*,` ++ `\\s*(?<a>${NUMBER_PATTERN})\\s*` ++ `\\)`,+ "i",+);+/**+ * Normalizes RGBA color strings by rounding RGB components to integers+ * and clamping alpha values to [0, 1]+ *+ * After color library supports fully scientific notation we might remove this function+ * https://github.com/Qix-/color-string/pull/89+ *+ * Handles edge cases including:+ * - Integer RGB values: `rgba(136, 191, 77, 0.75)`+ * - Decimal RGB values: `rgba(136.7, 191.3, 77.2, 0.75)`+ * - Scientific notation: `rgba(136, 191, 77, 7.5e-7)`+ * - Out-of-range alpha values (clamped to [0, 1])+ *+ * @param color - A color string that may contain RGBA values with various numeric formats+ * @returns A normalized color string with integer RGB values and clamped alpha channel+ *+ * @example+ * ```ts+ * getSafeColor("rgba(123.456, 78.9, 255.1, 0.5)")+ * // Returns: "rgba(123, 79, 255, 0.5)"+ *+ * getSafeColor("rgba(136, 191, 77, 7.5e-7)")+ * // Returns: "rgba(136, 191, 77, 0.000001)"+ *+ * getSafeColor("rgba(100, 200, 50, 1.5)")+ * // Returns: "rgba(100, 200, 50, 1)"+ * ```+ */+export const getSafeColor = (color: string): string => {+ return color.replace(RGBA_REGEX, (...args) => {+ const groups = args.at(-1);+ const rNum = parseFloat(groups.r);+ const gNum = parseFloat(groups.g);+ const bNum = parseFloat(groups.b);+ const aNum = parseFloat(groups.a);++ // Round RGB to integers, clamp alpha to [0, 1], round to 6 decimals+ const clampedAlpha = Math.min(+ 1,+ Math.max(0, Math.round(aNum * 1000000) / 1000000),+ );++ return `rgba(${Math.round(rNum)}, ${Math.round(gNum)}, ${Math.round(bNum)}, ${clampedAlpha})`;});};diff --git a/frontend/src/metabase/lib/colors/scales.unit.spec.ts b/frontend/src/metabase/lib/colors/scales.unit.spec.tsindex 5c87831daaa..dc8ab175848 100644--- a/frontend/src/metabase/lib/colors/scales.unit.spec.ts+++ b/frontend/src/metabase/lib/colors/scales.unit.spec.ts@@ -1,7 +1,7 @@import Color from "color";import { color } from "./palette";-import { getColorScale } from "./scales";+import { getColorScale, getSafeColor } from "./scales";describe("scales", () => {const colors = [@@ -23,3 +23,150 @@ describe("scales", () => {expect(scale(0.8).toUpperCase()).toEqual(colors[1]);});});++describe("getSafeColor", () => {+ describe("decimal RGB values", () => {+ it("should round RGB components to integers while preserving alpha", () => {+ expect(getSafeColor("rgba(123.456, 78.9, 255.1, 0.5)")).toBe(+ "rgba(123, 79, 255, 0.5)",+ );+ });++ it("should round values correctly (rounding up)", () => {+ expect(getSafeColor("rgba(100.7, 200.3, 50.9, 0.75)")).toBe(+ "rgba(101, 200, 51, 0.75)",+ );+ });++ it("should round values correctly (rounding down)", () => {+ expect(getSafeColor("rgba(100.2, 200.1, 50.3, 0.25)")).toBe(+ "rgba(100, 200, 50, 0.25)",+ );+ });++ it("should handle edge cases with values near 0", () => {+ expect(getSafeColor("rgba(0.4, 0.6, 0.9, 0.1)")).toBe(+ "rgba(0, 1, 1, 0.1)",+ );+ });++ it("should handle edge cases with values near 255", () => {+ expect(getSafeColor("rgba(254.5, 254.9, 255.0, 1.0)")).toBe(+ "rgba(255, 255, 255, 1)",+ );+ });++ it("should preserve alpha channel exactly as provided", () => {+ expect(getSafeColor("rgba(100.5, 200.5, 50.5, 0.123456)")).toBe(+ "rgba(101, 201, 51, 0.123456)",+ );+ });+ });++ describe("integer RGB values", () => {+ it("should handle integer RGB values (most common case)", () => {+ expect(getSafeColor("rgba(136, 191, 77, 0.75)")).toBe(+ "rgba(136, 191, 77, 0.75)",+ );+ });++ it("should handle integer RGB with different alpha", () => {+ expect(getSafeColor("rgba(255, 0, 128, 0.5)")).toBe(+ "rgba(255, 0, 128, 0.5)",+ );+ });+ });++ describe("scientific notation", () => {+ it("should handle scientific notation in alpha (negative exponent)", () => {+ expect(getSafeColor("rgba(136, 191, 77, 7.5e-7)")).toBe(+ "rgba(136, 191, 77, 0.000001)",+ );+ });++ it("should handle very small alpha values in scientific notation", () => {+ expect(getSafeColor("rgba(136, 191, 77, 1e-10)")).toBe(+ "rgba(136, 191, 77, 0)",+ );+ });++ it("should handle scientific notation in RGB components", () => {+ expect(getSafeColor("rgba(1.36e+2, 1.91e+2, 7.7e+1, 0.75)")).toBe(+ "rgba(136, 191, 77, 0.75)",+ );+ });++ it("should handle uppercase E in scientific notation", () => {+ expect(getSafeColor("rgba(136, 191, 77, 7.5E-7)")).toBe(+ "rgba(136, 191, 77, 0.000001)",+ );+ });++ it("should handle scientific notation with positive exponent", () => {+ expect(getSafeColor("rgba(1e+2, 2e+2, 5e+1, 1e+0)")).toBe(+ "rgba(100, 200, 50, 1)",+ );+ });+ });++ describe("alpha clamping", () => {+ it("should clamp alpha values above 1", () => {+ expect(getSafeColor("rgba(136, 191, 77, 1.5)")).toBe(+ "rgba(136, 191, 77, 1)",+ );+ });++ it("should clamp negative alpha values to 0", () => {+ expect(getSafeColor("rgba(136, 191, 77, -0.1)")).toBe(+ "rgba(136, 191, 77, 0)",+ );+ });++ it("should clamp very large alpha values", () => {+ expect(getSafeColor("rgba(100, 150, 200, 10)")).toBe(+ "rgba(100, 150, 200, 1)",+ );+ });+ });++ describe("whitespace handling", () => {+ it("should handle extra whitespace", () => {+ expect(getSafeColor("rgba( 136 , 191 , 77 , 0.75 )")).toBe(+ "rgba(136, 191, 77, 0.75)",+ );+ });++ it("should handle no spaces", () => {+ expect(getSafeColor("rgba(136,191,77,0.75)")).toBe(+ "rgba(136, 191, 77, 0.75)",+ );+ });++ it("should handle tabs and multiple spaces", () => {+ expect(getSafeColor("rgba( 136 , 191 , 77 , 0.75 )")).toBe(+ "rgba(136, 191, 77, 0.75)",+ );+ });+ });++ describe("non-RGBA colors", () => {+ it("should return unchanged string if no RGBA pattern matches", () => {+ const color = "rgb(255, 0, 0)";+ expect(getSafeColor(color)).toBe(color);+ });++ it("should return unchanged string for hex colors", () => {+ const color = "#ff0000";+ expect(getSafeColor(color)).toBe(color);+ });++ it("should return unchanged string for named colors", () => {+ const color = "red";+ expect(getSafeColor(color)).toBe(color);+ });++ it("should handle empty string", () => {+ expect(getSafeColor("")).toBe("");+ });+ });+});diff --git a/frontend/src/metabase/visualizations/lib/table_format.js b/frontend/src/metabase/visualizations/lib/table_format.jsindex 98817c14e6b..434152afe13 100644--- a/frontend/src/metabase/visualizations/lib/table_format.js+++ b/frontend/src/metabase/visualizations/lib/table_format.js@@ -9,6 +9,7 @@ import { getColorScale, getSafeColor } from "metabase/lib/colors/scales";const CELL_ALPHA = 0.65;const ROW_ALPHA = 0.2;const GRADIENT_ALPHA = 0.75;+const MIN_ALPHA = 0.000001; // 1e-6, just above scientific notation threshold// for simplicity when typing assume all values are numbers, since you can only pick numeric columns@@ -145,9 +146,7 @@ export function compileFormatter(format.colors.map((c) => {const color = Color(c);const alpha = color.alpha();- return color- .alpha(alpha > GRADIENT_ALPHA ? GRADIENT_ALPHA : alpha)- .toString();+ return color.alpha(clampAlpha(alpha)).toString();}),).clamp(true);return (value) => {@@ -163,6 +162,20 @@ export function compileFormatter(}}+/**+ * Clamps the alpha value to prevent values very close to 0 from being converted to scientific notation.+ *+ * @param {number} alpha - The alpha value to clamp+ * @returns {number} The clamped alpha value. Returns 0 if input is 0, otherwise clamps between MIN_ALPHA (0.000001) and GRADIENT_ALPHA (0.75)+ */+function clampAlpha(alpha) {+ if (alpha === 0) {+ return 0;+ }++ return Math.min(GRADIENT_ALPHA, Math.max(MIN_ALPHA, alpha));+}+// NOTE: implement `extent` like this rather than using d3.extent since rows may// be a Java `List` rather than a JavaScript Array when used in Pulse formattingexport function extent(rows, colIndex) {diff --git a/frontend/src/metabase/visualizations/lib/table_format.unit.spec.js b/frontend/src/metabase/visualizations/lib/table_format.unit.spec.jsindex 50ab5350747..dabdabd8934 100644--- a/frontend/src/metabase/visualizations/lib/table_format.unit.spec.js+++ b/frontend/src/metabase/visualizations/lib/table_format.unit.spec.js@@ -1,3 +1,5 @@+import Color from "color";+import { ALL_OPERATOR_NAMES } from "metabase/visualizations/components/settings/ChartSettingsTableFormatting";import {OPERATOR_FORMATTER_FACTORIES,@@ -158,3 +160,61 @@ describe("extent", () => {expect(extent([[null], [1], [undefined]], 0)).toEqual([1, 1]);});});++describe("compileFormatter with extreme ranges", () => {+ it("should handle color ranges with extreme numeric scales", () => {+ const formatter = compileFormatter(+ {+ type: "range",+ columns: ["value"],+ colors: ["#FFFFFF", "#88BF4D"],+ min_type: "custom",+ min_value: "0",+ max_type: "custom",+ max_value: "1000000000",+ },+ "value",+ { value: [0, 1000000000] },+ );++ [0, 1, 10, 100, 1000, 500000000, 1000000000].forEach((val) => {+ const color = formatter(val);+ expect(color).not.toBeNull();++ // Ensure the color can be parsed by Color library (no scientific notation issues)+ expect(() => Color(color)).not.toThrow();+ });+ });++ it("should clamp alpha values to prevent scientific notation", () => {+ const formatter = compileFormatter(+ {+ type: "range",+ columns: ["value"],+ colors: ["rgba(255, 255, 255, 0.0000001)", "rgba(255, 255, 255, 1)"], // Alpha below MIN_ALPHA threshold+ min_type: "custom",+ min_value: "0",+ max_type: "custom",+ max_value: "1000000",+ },+ "value",+ { value: [0, 1, 1000000] },+ );++ [0, 1, 999999].forEach((val) => {+ const color = formatter(val);+ expect(color).not.toBeNull();+ expect(color).not.toMatch(/e[+-]\d+/i);+ const colorObject = Color(color);+ expect(colorObject.alpha()).toBeLessThan(0.75);+ });++ const colorMin = formatter(0);+ expect(colorMin).not.toBeNull();+ expect(colorMin).toBe("rgba(255, 255, 255, 0.000001)");++ const colorMax = formatter(1000000);+ expect(colorMax).not.toBeNull();+ expect(colorMax).toBe("rgba(255, 255, 255, 0.75)");+ });+});diff --git a/jest.config.js b/jest.config.jsindex ca94386e0ec..3fb7639cfa6 100644--- a/jest.config.js+++ b/jest.config.js@@ -1,51 +1,7 @@// @ts-check-const esmPackages = [- "bail",- "ccount",- "character-entities.*",- "character-reference-invalid",- "comma-separated-tokens",- "csv-parse",- "d3-*",- "d3",- "decode-named-character-reference",- "devlop",- "echarts",- "estree.*",- "fetch-mock",- "hast.*",- "html-url-attributes",- "html-void-elements",- "is-alphabetical",- "is-alphanumerical",- "is-decimal",- "is-hexadecimal",- "is-absolute-url",- "is-plain-obj",- "jose",- "longest-streak",- "markdown-table",- "mdast.*",- "micromark.*",- "parse-entities",- "property-information",- "react-markdown",- "rehype-external-links",- "remark.*",- "space-separated-tokens",- "stringify-entities",- "trim-lines",- "trough",- "unified",- "unist.*",- "vfile-location",- "vfile-message",- "vfile",- "web-namespaces",- "zrender",- "zwitch",-];+// eslint-disable-next-line import/no-commonjs+const esmPackages = require("./jest.esm-packages.js");const baseConfig = {moduleNameMapper: {diff --git a/jest.esm-packages.js b/jest.esm-packages.jsnew file mode 100644index 00000000000..c75913e05b0--- /dev/null+++ b/jest.esm-packages.js@@ -0,0 +1,57 @@+// @ts-check++/**+ * Shared list of ESM packages that need to be transformed by Jest.+ * This list is used by both jest.config.js and jest.tz.unit.conf.js+ */+const esmPackages = [+ "bail",+ "ccount",+ "character-entities.*",+ "character-reference-invalid",+ "comma-separated-tokens",+ "color",+ "color-string",+ "csv-parse",+ "d3-*",+ "d3",+ "decode-named-character-reference",+ "devlop",+ "echarts",+ "estree.*",+ "fetch-mock",+ "hast.*",+ "html-url-attributes",+ "html-void-elements",+ "is-alphabetical",+ "is-alphanumerical",+ "is-decimal",+ "is-hexadecimal",+ "is-absolute-url",+ "is-plain-obj",+ "jose",+ "longest-streak",+ "markdown-table",+ "mdast.*",+ "micromark.*",+ "parse-entities",+ "property-information",+ "react-markdown",+ "rehype-external-links",+ "remark.*",+ "space-separated-tokens",+ "stringify-entities",+ "trim-lines",+ "trough",+ "unified",+ "unist.*",+ "vfile-location",+ "vfile-message",+ "vfile",+ "web-namespaces",+ "zrender",+ "zwitch",+];++// eslint-disable-next-line import/no-commonjs+module.exports = esmPackages;diff --git a/jest.tz.unit.conf.js b/jest.tz.unit.conf.jsindex 4c9151b570a..fb2068fe9de 100644--- a/jest.tz.unit.conf.js+++ b/jest.tz.unit.conf.js@@ -1,53 +1,10 @@// @ts-check-const esmPackages = [- "bail",- "ccount",- "character-entities.*",- "character-reference-invalid",- "comma-separated-tokens",- "csv-parse",- "d3-*",- "d3",- "decode-named-character-reference",- "devlop",- "echarts",- "estree.*",- "fetch-mock",- "hast.*",- "html-url-attributes",- "html-void-elements",- "is-alphabetical",- "is-alphanumerical",- "is-decimal",- "is-hexadecimal",- "is-absolute-url",- "is-plain-obj",- "jose",- "longest-streak",- "markdown-table",- "mdast.*",- "micromark.*",- "parse-entities",- "property-information",- "react-markdown",- "rehype-external-links",- "remark.*",- "space-separated-tokens",- "stringify-entities",- "trim-lines",- "trough",- "unified",- "unist.*",- "vfile-location",- "vfile-message",- "vfile",- "web-namespaces",- "zrender",- "zwitch",-];+// eslint-disable-next-line import/no-commonjs+const esmPackages = require("./jest.esm-packages.js");/** @type {import('jest').Config} */+// eslint-disable-next-line import/no-commonjsmodule.exports = {moduleNameMapper: {"\\.(css|less)$": "<rootDir>/frontend/test/__mocks__/styleMock.js",diff --git a/package.json b/package.jsonindex 812d626506c..ab099780958 100644--- a/package.json+++ b/package.json@@ -63,7 +63,7 @@"bowser": "^2.11.0","buffer": "^6.0.3","classnames": "^2.1.3",- "color": "^4.2.3",+ "color": "^5.0.3","crc-32": "^1.2.2","cron-expression-validator": "^1.0.20","cronstrue": "^2.11.0",diff --git a/yarn.lock b/yarn.lockindex 50d26b025b4..25893b71989 100644--- a/yarn.lock+++ b/yarn.lock@@ -8435,6 +8435,13 @@ color-convert@^2.0.1:dependencies:color-name "~1.1.4"+color-convert@^3.1.3:+ version "3.1.3"+ resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-3.1.3.tgz#db6627b97181cb8facdfce755ae26f97ab0711f1"+ integrity sha512-fasDH2ont2GqF5HpyO4w0+BcewlhHEZOFn9c1ckZdHpJ56Qb7MHhH/IcJZbBGgvdtwdwNbLvxiBEdg336iA9Sg==+ dependencies:+ color-name "^2.0.0"+color-convert@~0.5.0:version "0.5.3"resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-0.5.3.tgz#bdb6c69ce660fadffe0b0007cc447e1b9f7282bd"@@ -8450,31 +8457,35 @@ [email protected]:resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25"integrity sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=-color-name@^1.0.0, color-name@^1.1.4, color-name@~1.1.4:+color-name@^1.1.4, color-name@~1.1.4:version "1.1.4"resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2"integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==-color-string@^1.9.0:- version "1.9.1"- resolved "https://registry.yarnpkg.com/color-string/-/color-string-1.9.1.tgz#4467f9146f036f855b764dfb5bf8582bf342c7a4"- integrity sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==+color-name@^2.0.0:+ version "2.1.0"+ resolved "https://registry.yarnpkg.com/color-name/-/color-name-2.1.0.tgz#0b677385c1c4b4edfdeaf77e38fa338e3a40b693"+ integrity sha512-1bPaDNFm0axzE4MEAzKPuqKWeRaT43U/hyxKPBdqTfmPF+d6n7FSoTFxLVULUJOmiLp01KjhIPPH+HrXZJN4Rg==++color-string@^2.1.3:+ version "2.1.4"+ resolved "https://registry.yarnpkg.com/color-string/-/color-string-2.1.4.tgz#9dcf566ff976e23368c8bd673f5c35103ab41058"+ integrity sha512-Bb6Cq8oq0IjDOe8wJmi4JeNn763Xs9cfrBcaylK1tPypWzyoy2G3l90v9k64kjphl/ZJjPIShFztenRomi8WTg==dependencies:- color-name "^1.0.0"- simple-swizzle "^0.2.2"+ color-name "^2.0.0"version "1.1.3"resolved "https://registry.yarnpkg.com/color-support/-/color-support-1.1.3.tgz#93834379a1cc9a0c61f82f52f0d04322251bd5a2"integrity sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==-color@^4.2.3:- version "4.2.3"- resolved "https://registry.yarnpkg.com/color/-/color-4.2.3.tgz#d781ecb5e57224ee43ea9627560107c0e0c6463a"- integrity sha512-1rXeuUUiGGrykh+CeBdu5Ie7OJwinCgQY0bc7GCRxy5xVHy+moaqkpL/jqQq0MtQOeYcrqEz4abc5f0KtU7W4A==+color@^5.0.3:+ version "5.0.3"+ resolved "https://registry.yarnpkg.com/color/-/color-5.0.3.tgz#f79390b1b778e222ffbb54304d3dbeaef633f97f"+ integrity sha512-ezmVcLR3xAVp8kYOm4GS45ZLLgIE6SPAFoduLr6hTDajwb3KZ2F46gulK3XpcwRFb5KKGCSezCBAY4Dw4HsyXA==dependencies:- color-convert "^2.0.1"- color-string "^1.9.0"+ color-convert "^3.1.3"+ color-string "^2.1.3"colord@^2.9.3:version "2.9.3"@@ -13213,11 +13224,6 @@ is-arrayish@^0.2.1:resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d"integrity sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=-is-arrayish@^0.3.1:- version "0.3.2"- resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.3.2.tgz#4574a2ae56f7ab206896fb431eaeed066fdf8f03"- integrity sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==-is-bigint@^1.0.1:version "1.0.1"resolved "https://registry.yarnpkg.com/is-bigint/-/is-bigint-1.0.1.tgz#6923051dfcbc764278540b9ce0e6b3213aa5ebc2"@@ -19903,13 +19909,6 @@ simple-statistics@^3.0.0:resolved "https://registry.yarnpkg.com/simple-statistics/-/simple-statistics-3.0.0.tgz#54b66d2655b2a21125600dc0d02be764a3a73a3d"integrity sha1-VLZtJlWyohElYA3A0CvnZKOnOj0=-simple-swizzle@^0.2.2:- version "0.2.2"- resolved "https://registry.yarnpkg.com/simple-swizzle/-/simple-swizzle-0.2.2.tgz#a4da6b635ffcccca33f70d17cb92592de95e557a"- integrity sha1-pNprY1/8zMoz9w0Xy5JZLeleVXo=- dependencies:- is-arrayish "^0.3.1"-sirv@^2.0.3:version "2.0.4"resolved "https://registry.yarnpkg.com/sirv/-/sirv-2.0.4.tgz#5dd9a725c578e34e449f332703eb2a74e46a29b0"