From 29ed8cf400a90617d754470494b173849d0fba8d Mon Sep 17 00:00:00 2001 From: Elusive <18050480+elusivecodes@users.noreply.github.com> Date: Mon, 24 Jun 2024 11:18:15 +1000 Subject: [PATCH] - Updated NPM. --- dist/frost-color.min.js.map | 2 +- eslint.config.js | 10 +- package-lock.json | 346 +++++++++++++++++++++++++----------- package.json | 4 +- 4 files changed, 246 insertions(+), 116 deletions(-) diff --git a/dist/frost-color.min.js.map b/dist/frost-color.min.js.map index 68b60e7..43b858f 100644 --- a/dist/frost-color.min.js.map +++ b/dist/frost-color.min.js.map @@ -1 +1 @@ -{"version":3,"names":["clamp","val","min","max","Math","lerp","a","b","amount","round","num","precision","parseFloat","toFixed","toHex","hex","length","Color","constructor","r","g","this","_r","_g","_b","_a","valueOf","luma","Symbol","toPrimitive","hint","toString","colors","aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgrey","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgrey","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen","hexLookup","Object","fromEntries","entries","map","key","value","rgbHue","v1","v2","vH","hsl2rgb","h","s","l","hsv2rgb","v","vi","floor","v3","rgb2hsl","diff","deltaR","deltaG","deltaB","rgb2hsv","rgba2hex","slice","rgbLumaVlaue","pow","fromCMY","c","m","y","cmy2rgb","fromHexString","string","hexMatch","trim","match","Error","rgb","parseInt","fromHSL","fromHSLString","HSL2Match","HSLA2Match","HSLMatch","HSLAMatch","fromRGBString","RGB2Match","RGBA2Match","RGBMatch","RGBAMatch","contrast","color1","color2","luma1","luma2","dist","hypot","mix","findContrast","minContrast","stepSize","methods","i","method","tempColor","fromCMYK","k","cmyk2cmy","fromHSV","fromRGB","fromString","toLowerCase","substring","multiply","proto","prototype","analogous","r1","g1","b1","r2","g2","b2","complementary","darken","getAlpha","getBrightness","getHue","getSaturation","invert","label","closest","closestDistance","Number","MAX_SAFE_INTEGER","hasOwnProperty","call","color","distance","lighten","palette","shades","tints","tones","setAlpha","setBrightness","_","setHue","setSaturation","shade","Array","fill","index","split","tetradic","r3","g3","b3","tint","toHexString","toHSLString","toRGBString","tone","triadic"],"sources":["../src/helpers.js","../src/color.js","../src/color-names.js","../src/conversions.js","../src/static/create.js","../src/static/utility.js","../src/prototype/manipulation.js","../src/index.js","../src/prototype/schemes.js","../src/prototype/attributes.js","../src/prototype/output.js","../src/prototype/palette.js"],"sourcesContent":["/**\n * Color Helpers\n */\n\n/**\n * Clamp a value between a min and max.\n * @param {number} val The value to clamp.\n * @param {number} [min=0] The minimum value of the clamped range.\n * @param {number} [max=1] The maximum value of the clamped range.\n * @return {number} The clamped value.\n */\nexport const clamp = (val, min = 0, max = 100) => {\n return Math.max(\n min,\n Math.min(max, val),\n );\n};\n\n/**\n * Linear interpolation from one value to another.\n * @param {number} a The starting value.\n * @param {number} b The ending value.\n * @param {number} amount The amount to interpolate.\n * @return {number} The interpolated value.\n */\nexport const lerp = (a, b, amount) => {\n const value = a * (1 - amount) + b * amount;\n return round(value);\n};\n\n/**\n * Round a number to a specified precision.\n * @param {number} num The number to round.\n * @param {number} [precision=2] The precision to use.\n * @return {number} The rounded number.\n */\nexport const round = (num, precision = 2) => {\n return parseFloat(parseFloat(num).toFixed(precision));\n};\n\n/**\n * Shorten a hex string (if possible).\n * @param {string} hex The hex string.\n * @return {string} The hex string.\n */\nexport const toHex = (hex) => {\n if (hex.length === 9 &&\n hex[1] === hex[2] &&\n hex[3] === hex[4] &&\n hex[5] === hex[6] &&\n hex[7] === hex[8]) {\n return `#${hex[1]}${hex[3]}${hex[5]}${hex[7]}`;\n }\n\n if (hex.length === 7 &&\n hex[1] === hex[2] &&\n hex[3] === hex[4] &&\n hex[5] === hex[6]) {\n return `#${hex[1]}${hex[3]}${hex[5]}`;\n }\n\n return hex;\n};\n","\nimport { clamp, round } from './helpers.js';\n\n/**\n * Color class\n * @class\n */\nexport default class Color {\n /**\n * New Color constructor.\n * @param {number} [r=0] The red value, or the brightness value.\n * @param {number} [g=1] The green value or the alpha value.\n * @param {null|number} [b=null] The blue value.\n * @param {number} [a=1] The alpha value.\n */\n constructor(r = 0, g = 1, b = null, a = 1) {\n if (b === null) {\n a = g;\n b = g = r = round(r * 2.55);\n }\n\n this._r = clamp(r, 0, 255);\n this._g = clamp(g, 0, 255);\n this._b = clamp(b, 0, 255);\n this._a = clamp(a, 0, 1);\n }\n\n /**\n * Return the luminance value of the color.\n * @return {number} The luminance value. (0, 1)\n */\n valueOf() {\n return this.luma();\n }\n\n /**\n * Return a primitive value of the color.\n * @param {string} hint The type hint.\n * @return {string|number} The HTML color string, or the luminance value.\n */\n [Symbol.toPrimitive](hint) {\n return hint === 'number' ?\n this.valueOf() :\n this.toString();\n }\n\n /**\n * Get the alpha value of the color.\n * @return {number} The alpha value. (0, 1)\n */\n get a() {\n return this._a;\n }\n\n /**\n * Get the blue value of the color.\n * @return {number} The blue value. (0, 255)\n */\n get b() {\n return this._b;\n }\n\n /**\n * Get the green value of the color.\n * @return {number} The green value. (0, 255)\n */\n get g() {\n return this._g;\n }\n\n /**\n * Get the red value of the color.\n * @return {number} The red value. (0, 255)\n */\n get r() {\n return this._r;\n }\n}\n","/**\n * Color Names\n */\n\n// HTML color names\nexport const colors = {\n aliceblue: '#f0f8ff',\n antiquewhite: '#faebd7',\n aqua: '#00ffff',\n aquamarine: '#7fffd4',\n azure: '#f0ffff',\n beige: '#f5f5dc',\n bisque: '#ffe4c4',\n black: '#000000',\n blanchedalmond: '#ffebcd',\n blue: '#0000ff',\n blueviolet: '#8a2be2',\n brown: '#a52a2a',\n burlywood: '#deb887',\n cadetblue: '#5f9ea0',\n chartreuse: '#7fff00',\n chocolate: '#d2691e',\n coral: '#ff7f50',\n cornflowerblue: '#6495ed',\n cornsilk: '#fff8dc',\n crimson: '#dc143c',\n cyan: '#00ffff',\n darkblue: '#00008b',\n darkcyan: '#008b8b',\n darkgoldenrod: '#b8860b',\n darkgray: '#a9a9a9',\n darkgrey: '#a9a9a9',\n darkgreen: '#006400',\n darkkhaki: '#bdb76b',\n darkmagenta: '#8b008b',\n darkolivegreen: '#556b2f',\n darkorange: '#ff8c00',\n darkorchid: '#9932cc',\n darkred: '#8b0000',\n darksalmon: '#e9967a',\n darkseagreen: '#8fbc8f',\n darkslateblue: '#483d8b',\n darkslategray: '#2f4f4f',\n darkslategrey: '#2f4f4f',\n darkturquoise: '#00ced1',\n darkviolet: '#9400d3',\n deeppink: '#ff1493',\n deepskyblue: '#00bfff',\n dimgray: '#696969',\n dimgrey: '#696969',\n dodgerblue: '#1e90ff',\n firebrick: '#b22222',\n floralwhite: '#fffaf0',\n forestgreen: '#228b22',\n fuchsia: '#ff00ff',\n gainsboro: '#dcdcdc',\n ghostwhite: '#f8f8ff',\n gold: '#ffd700',\n goldenrod: '#daa520',\n gray: '#808080',\n grey: '#808080',\n green: '#008000',\n greenyellow: '#adff2f',\n honeydew: '#f0fff0',\n hotpink: '#ff69b4',\n indianred: '#cd5c5c',\n indigo: '#4b0082',\n ivory: '#fffff0',\n khaki: '#f0e68c',\n lavender: '#e6e6fa',\n lavenderblush: '#fff0f5',\n lawngreen: '#7cfc00',\n lemonchiffon: '#fffacd',\n lightblue: '#add8e6',\n lightcoral: '#f08080',\n lightcyan: '#e0ffff',\n lightgoldenrodyellow: '#fafad2',\n lightgray: '#d3d3d3',\n lightgrey: '#d3d3d3',\n lightgreen: '#90ee90',\n lightpink: '#ffb6c1',\n lightsalmon: '#ffa07a',\n lightseagreen: '#20b2aa',\n lightskyblue: '#87cefa',\n lightslategray: '#778899',\n lightslategrey: '#778899',\n lightsteelblue: '#b0c4de',\n lightyellow: '#ffffe0',\n lime: '#00ff00',\n limegreen: '#32cd32',\n linen: '#faf0e6',\n magenta: '#ff00ff',\n maroon: '#800000',\n mediumaquamarine: '#66cdaa',\n mediumblue: '#0000cd',\n mediumorchid: '#ba55d3',\n mediumpurple: '#9370db',\n mediumseagreen: '#3cb371',\n mediumslateblue: '#7b68ee',\n mediumspringgreen: '#00fa9a',\n mediumturquoise: '#48d1cc',\n mediumvioletred: '#c71585',\n midnightblue: '#191970',\n mintcream: '#f5fffa',\n mistyrose: '#ffe4e1',\n moccasin: '#ffe4b5',\n navajowhite: '#ffdead',\n navy: '#000080',\n oldlace: '#fdf5e6',\n olive: '#808000',\n olivedrab: '#6b8e23',\n orange: '#ffa500',\n orangered: '#ff4500',\n orchid: '#da70d6',\n palegoldenrod: '#eee8aa',\n palegreen: '#98fb98',\n paleturquoise: '#afeeee',\n palevioletred: '#db7093',\n papayawhip: '#ffefd5',\n peachpuff: '#ffdab9',\n peru: '#cd853f',\n pink: '#ffc0cb',\n plum: '#dda0dd',\n powderblue: '#b0e0e6',\n purple: '#800080',\n rebeccapurple: '#663399',\n red: '#ff0000',\n rosybrown: '#bc8f8f',\n royalblue: '#4169e1',\n saddlebrown: '#8b4513',\n salmon: '#fa8072',\n sandybrown: '#f4a460',\n seagreen: '#2e8b57',\n seashell: '#fff5ee',\n sienna: '#a0522d',\n silver: '#c0c0c0',\n skyblue: '#87ceeb',\n slateblue: '#6a5acd',\n slategray: '#708090',\n slategrey: '#708090',\n snow: '#fffafa',\n springgreen: '#00ff7f',\n steelblue: '#4682b4',\n tan: '#d2b48c',\n teal: '#008080',\n thistle: '#d8bfd8',\n tomato: '#ff6347',\n turquoise: '#40e0d0',\n violet: '#ee82ee',\n wheat: '#f5deb3',\n white: '#ffffff',\n whitesmoke: '#f5f5f5',\n yellow: '#ffff00',\n yellowgreen: '#9acd32',\n};\n\nexport const hexLookup = Object.fromEntries(\n Object.entries(colors)\n .map(([key, value]) => [value, key]),\n);\n","import { round } from './helpers.js';\n\n/**\n * Color Conversions\n */\n\n/**\n * Convert CMY color values to RGB.\n * @param {number} c The cyan value. (0, 100)\n * @param {number} m The magenta value. (0, 100)\n * @param {number} y The yellow value. (0, 100)\n * @return {number[]} An array containing the RGB values.\n */\nexport const cmy2rgb = (c, m, y) => {\n return [\n round((1 - c / 100) * 255),\n round((1 - m / 100) * 255),\n round((1 - y / 100) * 255),\n ];\n};\n\n/**\n * Convert CMYK color values to CMY.\n * @param {number} c The cyan value. (0, 100)\n * @param {number} m The magenta value. (0, 100)\n * @param {number} y The yellow value. (0, 100)\n * @param {number} k The key value. (0, 100)\n * @return {number[]} An array containing the CMY values.\n */\nexport const cmyk2cmy = (c, m, y, k) => {\n k /= 100;\n\n return [\n round((c / 100 * (1 - k) + k) * 100),\n round((m / 100 * (1 - k) + k) * 100),\n round((y / 100 * (1 - k) + k) * 100),\n ];\n};\n\n/**\n * Calculate the R, G or B value of a hue.\n * @param {number} v1 The first value.\n * @param {number} v2 The second value.\n * @param {number} vH The hue value.\n * @return {number} The R, G or B value.\n */\nconst rgbHue = (v1, v2, vH) => {\n vH = (vH + 1) % 1;\n\n if (6 * vH < 1) {\n return v1 + (v2 - v1) * 6 * vH;\n }\n\n if (2 * vH < 1) {\n return v2;\n }\n\n if (3 * vH < 2) {\n return v1 + (v2 - v1) * ((2 / 3) - vH) * 6;\n }\n\n return v1;\n};\n\n/**\n * Convert HSL color values to RGB.\n * @param {number} h The hue value. (0, 360)\n * @param {number} s The saturation value. (0, 100)\n * @param {number} l The lightness value. (0, 100)\n * @return {number[]} An array containing the RGB values.\n */\nexport const hsl2rgb = (h, s, l) => {\n if (!l) {\n return [0, 0, 0];\n }\n\n h /= 360;\n s /= 100;\n l /= 100;\n\n const v2 = l < .5 ?\n l * (1 + s) :\n (l + s) - (s * l);\n const v1 = 2 * l - v2;\n const r = rgbHue(v1, v2, h + (1 / 3));\n const g = rgbHue(v1, v2, h);\n const b = rgbHue(v1, v2, h - (1 / 3));\n\n return [\n round(r * 255),\n round(g * 255),\n round(b * 255),\n ];\n};\n\n/**\n * Convert HSV color values to RGB.\n * @param {number} h The hue value. (0, 360)\n * @param {number} s The saturation value. (0, 100)\n * @param {number} v The brightness value (0, 100)\n * @return {number[]} An array containing the RGB values.\n */\nexport const hsv2rgb = (h, s, v) => {\n v /= 100;\n\n if (!s) {\n return [\n round(v * 255),\n round(v * 255),\n round(v * 255),\n ];\n }\n\n h = (h / 60) % 6;\n s /= 100;\n\n const vi = Math.floor(h);\n const v1 = v * (1 - s);\n const v2 = v * (1 - s * (h - vi));\n const v3 = v * (1 - s * (1 - (h - vi)));\n\n let r; let g; let b;\n\n switch (vi) {\n case 0:\n r = v;\n g = v3;\n b = v1;\n break;\n case 1:\n r = v2;\n g = v;\n b = v1;\n break;\n case 2:\n r = v1;\n g = v;\n b = v3;\n break;\n case 3:\n r = v1;\n g = v2;\n b = v;\n break;\n case 4:\n r = v3;\n g = v1;\n b = v;\n break;\n default:\n r = v;\n g = v1;\n b = v2;\n break;\n }\n\n return [\n round(r * 255),\n round(g * 255),\n round(b * 255),\n ];\n};\n\n/**\n * Convert RGB color values to HSL.\n * @param {number} r The red value. (0, 255)\n * @param {number} g The green value. (0, 255)\n * @param {number} b The blue value. (0, 255)\n * @return {number[]} An array containing the HSL values.\n */\nexport const rgb2hsl = (r, g, b) => {\n r /= 255;\n g /= 255;\n b /= 255;\n\n const min = Math.min(r, g, b);\n const max = Math.max(r, g, b);\n const diff = max - min;\n const l = (max + min) / 2;\n\n if (!diff) {\n return [\n 0,\n 0,\n round(l * 100),\n ];\n }\n\n const s = l < .5 ?\n diff / (max + min) :\n diff / (2 - max - min);\n const deltaR = (((max - r) / 6) + (diff / 2)) / diff;\n const deltaG = (((max - g) / 6) + (diff / 2)) / diff;\n const deltaB = (((max - b) / 6) + (diff / 2)) / diff;\n\n let h = 0;\n\n switch (max) {\n case r:\n h = deltaB - deltaG;\n break;\n case g:\n h = 1 / 3 + deltaR - deltaB;\n break;\n case b:\n h = 2 / 3 + deltaG - deltaR;\n break;\n }\n\n h = (h + 1) % 1;\n\n return [\n round(h * 360),\n round(s * 100),\n round(l * 100),\n ];\n};\n\n/**\n * Convert RGB color values to HSV.\n * @param {number} r The red value. (0, 255)\n * @param {number} g The green value. (0, 255)\n * @param {number} b The blue value. (0, 255)\n * @return {number[]} An array containing the HSV values.\n */\nexport const rgb2hsv = (r, g, b) => {\n r /= 255;\n g /= 255;\n b /= 255;\n\n const min = Math.min(r, g, b);\n const max = Math.max(r, g, b);\n const diff = max - min;\n const v = max;\n\n if (!diff) {\n return [\n 0,\n 0,\n round(v * 100),\n ];\n }\n\n const s = diff / max;\n const deltaR = (((max - r) / 6) + (diff / 2)) / diff;\n const deltaG = (((max - g) / 6) + (diff / 2)) / diff;\n const deltaB = (((max - b) / 6) + (diff / 2)) / diff;\n\n let h = 0;\n\n switch (max) {\n case r:\n h = deltaB - deltaG;\n break;\n case g:\n h = 1 / 3 + deltaR - deltaB;\n break;\n case b:\n h = 2 / 3 + deltaG - deltaR;\n break;\n }\n\n h = (h + 1) % 1;\n\n return [\n round(h * 360),\n round(s * 100),\n round(v * 100),\n ];\n};\n\n/**\n * Convert RGBA color values to hex.\n * @param {number} r The red value. (0, 255)\n * @param {number} g The green value. (0, 255)\n * @param {number} b The blue value. (0, 255)\n * @param {number} a The alpha value. (0, 1)\n * @return {string} The hex string.\n */\nexport const rgba2hex = (r, g, b, a) => {\n [r, g, b] = [r, g, b].map(\n (value) => (Math.round(value) | 1 << 8)\n .toString(16)\n .slice(1),\n );\n const hex = `#${r}${g}${b}`;\n\n if (a >= 1) {\n return hex;\n }\n\n return hex +\n (Math.round(a * 255) | 1 << 8)\n .toString(16)\n .slice(1);\n};\n\n/**\n * Calculate the relative R, G or B value for luma calculation.\n * @param {number} v The value.\n * @return {number} The R, G or B value.\n */\nconst rgbLumaVlaue = (v) => {\n v /= 255;\n\n if (v <= .03928) {\n return v / 12.92;\n }\n\n return Math.pow(((v + .055) / 1.055), 2.4);\n};\n\n/**\n * Calculate the relative luminance of an RGB color.\n * @param {number} r The red value. (0, 255)\n * @param {number} g The green value. (0, 255)\n * @param {number} b The blue value. (0, 255)\n * @return {number} The relative luminance value.\n */\nexport const rgbLuma = (r, g, b) => {\n r = rgbLumaVlaue(r);\n g = rgbLumaVlaue(g);\n b = rgbLumaVlaue(b);\n\n return (.2126 * r) + (.7152 * g) + (.0722 * b);\n};\n","import Color from './../color.js';\nimport { colors } from './../color-names.js';\nimport { cmy2rgb, cmyk2cmy, hsl2rgb, hsv2rgb } from './../conversions.js';\n\n/**\n * Color (Static) Creation\n */\n\n/**\n * Create a new Color from CMY values.\n * @param {number} c The cyan value. (0, 100)\n * @param {number} m The magenta value. (0, 100)\n * @param {number} y The yellow value. (0, 100)\n * @param {number} [a=1] The alpha value. (0, 1)\n * @return {Color} A new Color object.\n */\nexport function fromCMY(c, m, y, a = 1) {\n const [r, g, b] = cmy2rgb(c, m, y);\n return new Color(r, g, b, a);\n};\n\n/**\n * Create a new Color from CMYK values.\n * @param {number} c The cyan value. (0, 100)\n * @param {number} m The magenta value. (0, 100)\n * @param {number} y The yellow value. (0, 100)\n * @param {number} k The key value. (0, 100)\n * @param {number} [a=1] The alpha value. (0, 1)\n * @return {Color} A new Color object.\n */\nexport function fromCMYK(c, m, y, k, a = 1) {\n [c, m, y] = cmyk2cmy(c, m, y, k);\n return fromCMY(c, m, y, a);\n};\n\n/**\n * Create a new Color from a hex color string.\n * @param {string} string The hex color string.\n * @return {Color} A new Color object.\n */\nexport function fromHexString(string) {\n string = string.trim();\n\n const hexMatch = string.length > 6 ?\n string.match(/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})?$/i) :\n string.match(/^#([0-9a-f])([0-9a-f])([0-9a-f])([0-9a-f]?)$/i);\n\n if (!hexMatch) {\n throw new Error('Invalid hex string');\n }\n\n const rgb = hexMatch.slice(1, 5).map((value) =>\n value ?\n parseInt(\n value.length == 2 ?\n value :\n value + value,\n 16,\n ) :\n null,\n );\n\n return new Color(rgb[0],\n rgb[1],\n rgb[2],\n rgb[3] ?\n rgb[3] / 255 :\n 1,\n );\n};\n\n/**\n * Create a new Color from HSL values.\n * @param {number} h The hue value. (0, 360)\n * @param {number} s The saturation value. (0, 100)\n * @param {number} l The lightness value. (0, 100)\n * @param {number} [a=1] The alpha value. (0, 1)\n * @return {Color} A new Color object.\n */\nexport function fromHSL(h, s, l, a = 1) {\n const [r, g, b] = hsl2rgb(h, s, l);\n return new Color(r, g, b, a);\n};\n\n/**\n * Create a new Color from a HSL color string.\n * @param {string} string The HSL color string.\n * @return {Color} A new Color object.\n */\nexport function fromHSLString(string) {\n string = string.trim();\n\n const HSL2Match = string.match(/^hsl\\(((?:\\d*\\.)?\\d+)deg\\s+((?:\\d*\\.)?\\d+)\\%\\s+((?:\\d*\\.)?\\d+)\\%\\)$/i);\n\n if (HSL2Match) {\n return fromHSL(HSL2Match[1], HSL2Match[2], HSL2Match[3]);\n }\n\n const HSLA2Match = string.match(/^hsl\\(((?:\\d*\\.)?\\d+)deg\\s+((?:\\d*\\.)?\\d+)\\%\\s+((?:\\d*\\.)?\\d+)\\%\\s*\\/\\s*((?:\\d*\\.)?\\d+)(\\%?)\\)$/i);\n\n if (HSLA2Match) {\n return fromHSL(\n HSLA2Match[1],\n HSLA2Match[2],\n HSLA2Match[3],\n HSLA2Match[5] ?\n HSLA2Match[4] / 100 :\n HSLA2Match[4],\n );\n }\n\n const HSLMatch = string.match(/^hsl\\(((?:\\d*\\.)?\\d+),\\s*((?:\\d*\\.)?\\d+)\\%,\\s*((?:\\d*\\.)?\\d+)\\%\\)$/i);\n\n if (HSLMatch) {\n return fromHSL(HSLMatch[1], HSLMatch[2], HSLMatch[3]);\n }\n\n const HSLAMatch = string.match(/^hsla\\(((?:\\d*\\.)?\\d+),\\s*((?:\\d*\\.)?\\d+)\\%,\\s*((?:\\d*\\.)?\\d+)\\%,\\s*((?:\\d*\\.)?\\d+)(\\%?)\\)$/i);\n\n if (HSLAMatch) {\n return fromHSL(\n HSLAMatch[1],\n HSLAMatch[2],\n HSLAMatch[3],\n HSLAMatch[5] ?\n HSLAMatch[4] / 100 :\n HSLAMatch[4],\n );\n }\n\n throw new Error('Invalid HSL string');\n};\n\n/**\n * Create a new Color from HSV values.\n * @param {number} h The hue value. (0, 360)\n * @param {number} s The saturation value. (0, 100)\n * @param {number} v The brightness value. (0, 100)\n * @param {number} [a=1] The alpha value. (0, 1)\n * @return {Color} A new Color object.\n */\nexport function fromHSV(h, s, v, a = 1) {\n const [r, g, b] = hsv2rgb(h, s, v);\n return new Color(r, g, b, a);\n};\n\n/**\n * Create a new Color from RGB values.\n * @param {number} r The red value. (0, 255)\n * @param {number} g The green value. (0, 255)\n * @param {number} b The blue value. (0, 255)\n * @param {number} [a=1] The alpha value. (0, 1)\n * @return {Color} A new Color object.\n */\nexport function fromRGB(r, g, b, a = 1) {\n return new Color(r, g, b, a);\n};\n\n/**\n * Create a new Color from a RGB color string.\n * @param {string} string The RGB color string.\n * @return {Color} A new Color object.\n */\nexport function fromRGBString(string) {\n string = string.trim();\n\n const RGB2Match = string.match(/^rgb\\(((?:\\d*\\.)?\\d+)\\s+((?:\\d*\\.)?\\d+)\\s+((?:\\d*\\.)?\\d+)\\)$/i);\n\n if (RGB2Match) {\n return new Color(RGB2Match[1], RGB2Match[2], RGB2Match[3]);\n }\n\n const RGBA2Match = string.match(/^rgb\\(((?:\\d*\\.)?\\d+)\\s+((?:\\d*\\.)?\\d+)\\s+((?:\\d*\\.)?\\d+)\\s*\\/\\s*((?:\\d*\\.)?\\d+)(\\%?)\\)$/i);\n\n if (RGBA2Match) {\n return new Color(\n RGBA2Match[1],\n RGBA2Match[2],\n RGBA2Match[3],\n RGBA2Match[5] ?\n RGBA2Match[4] / 100 :\n RGBA2Match[4],\n );\n }\n\n const RGBMatch = string.match(/^rgb\\(((?:\\d*\\.)?\\d+),\\s*((?:\\d*\\.)?\\d+),\\s*((?:\\d*\\.)?\\d+)\\)$/i);\n\n if (RGBMatch) {\n return new Color(RGBMatch[1], RGBMatch[2], RGBMatch[3]);\n }\n\n const RGBAMatch = string.match(/^rgba\\(((?:\\d*\\.)?\\d+),\\s*((?:\\d*\\.)?\\d+),\\s*((?:\\d*\\.)?\\d+),\\s*((?:\\d*\\.)?\\d+)(\\%?)\\)$/i);\n\n if (RGBAMatch) {\n return new Color(\n RGBAMatch[1],\n RGBAMatch[2],\n RGBAMatch[3],\n RGBAMatch[5] ?\n RGBAMatch[4] / 100 :\n RGBAMatch[4],\n );\n }\n\n throw new Error('Invalid RGB string');\n};\n\n/**\n * Create a new Color from a HTML color string.\n * @param {string} string The HTML color string.\n * @return {Color} A new Color object.\n */\nexport function fromString(string) {\n string = string.toLowerCase().trim();\n\n if (string === 'transparent') {\n return new Color(0, 0, 0, 0);\n }\n\n if (string in colors) {\n string = colors[string];\n }\n\n if (string.substring(0, 1) === '#') {\n return fromHexString(string);\n }\n\n if (string.substring(0, 3).toLowerCase() === 'rgb') {\n return fromRGBString(string);\n }\n\n if (string.substring(0, 3).toLowerCase() === 'hsl') {\n return fromHSLString(string);\n }\n\n throw new Error('Invalid color string');\n};\n","import Color from './../color.js';\nimport { lerp } from './../helpers.js';\n\n/**\n * Color (Static) Utility\n */\n\n/**\n * Get the contrast value between two colors.\n * @param {Color} color1 The first Color.\n * @param {Color} color2 The second Color.\n * @return {number} The contrast value. (1, 21)\n */\nexport const contrast = (color1, color2) => {\n const luma1 = color1.luma();\n const luma2 = color2.luma();\n\n return (Math.max(luma1, luma2) + .05) / (Math.min(luma1, luma2) + .05);\n};\n\n/**\n * Calculate the distance between two colors.\n * @param {Color} color1 The first Color.\n * @param {Color} color2 The second Color.\n * @return {number} The distance between the colors.\n */\nexport const dist = (color1, color2) => {\n return Math.hypot(color1.r - color2.r, color1.g - color2.g, color1.b - color2.b);\n};\n\n/**\n * Find an optimally contrasting color for another color.\n * @param {Color} color1 The first Color.\n * @param {Color} [color2] The second Color.\n * @param {object} [options] The options for finding the contrasting color.\n * @param {number} [options.minContrast=4.5] The minimum contrast.\n * @param {number} [options.stepSize=.01] The step size.\n * @return {Color} The new Color.\n */\nexport const findContrast = (color1, color2 = null, { minContrast = 4.5, stepSize = .01 } = {}) => {\n if (!color2) {\n color2 = color1;\n }\n\n if (contrast(color1, color2) >= minContrast) {\n return color2;\n }\n\n const methods = ['tint', 'shade'];\n for (let i = stepSize; i <= 1; i += stepSize) {\n for (const method of methods) {\n const tempColor = color2[method](i);\n if (contrast(color1, tempColor) >= minContrast) {\n return tempColor;\n }\n }\n }\n\n return null;\n};\n\n/**\n * Create a new Color by mixing two colors together by a specified amount.\n * @param {Color} color1 The first Color.\n * @param {Color} color2 The second Color.\n * @param {number} amount The amount to mix them by. (0, 1)\n * @return {Color} A new Color object.\n */\nexport function mix(color1, color2, amount) {\n const r = lerp(color1.r, color2.r, amount);\n const g = lerp(color1.g, color2.g, amount);\n const b = lerp(color1.b, color2.b, amount);\n\n return new Color(r, g, b);\n};\n\n/**\n * Create a new Color by multiplying two colors together by a specified amount.\n * @param {Color} color1 The first Color.\n * @param {Color} color2 The second Color.\n * @param {number} amount The amount to multiply them by. (0, 1)\n * @return {Color} A new Color object.\n */\nexport function multiply(color1, color2, amount) {\n const r = lerp(color1.r, color1.r * color2.r / 255, amount);\n const g = lerp(color1.g, color1.g * color2.g / 255, amount);\n const b = lerp(color1.b, color1.b * color2.b / 255, amount);\n\n return new Color(r, g, b);\n};\n","import Color from './../color.js';\nimport { hsl2rgb, rgb2hsl } from './../conversions.js';\nimport { mix } from './../static/utility.js';\n\n/**\n * Color Manipulation\n */\n\nconst white = new Color(100);\nconst grey = new Color(50);\nconst black = new Color(0);\n\n/**\n * Darken the color by a specified amount.\n * @param {number} amount The amount to darken the color by. (0, 1)\n * @return {Color} The darkened Color object.\n */\nexport function darken(amount) {\n let [h, s, l] = rgb2hsl(this.r, this.g, this.b);\n l -= l * amount;\n const [r, g, b] = hsl2rgb(h, s, l);\n\n return new Color(r, g, b, this.a);\n};\n\n/**\n * Invert the color.\n * @return {Color} The inverted Color object.\n */\nexport function invert() {\n return new Color(\n 255 - this.r,\n 255 - this.g,\n 255 - this.b,\n this.a,\n );\n};\n\n/**\n * Lighten the color by a specified amount.\n * @param {number} amount The amount to lighten the color by. (0, 1)\n * @return {Color} The lightened Color object.\n */\nexport function lighten(amount) {\n let [h, s, l] = rgb2hsl(this.r, this.g, this.b);\n l += (100 - l) * amount;\n const [r, g, b] = hsl2rgb(h, s, l);\n\n return new Color(r, g, b, this.a);\n};\n\n/**\n * Shade the color by a specified amount.\n * @param {number} amount The amount to shade the color by. (0, 1)\n * @return {Color} The shaded Color object.\n */\nexport function shade(amount) {\n return mix(this, black, amount);\n};\n\n/**\n * Tint the color by a specified amount.\n * @param {number} amount The amount to tint the color by. (0, 1)\n * @return {Color} The tinted Color object.\n */\nexport function tint(amount) {\n return mix(this, white, amount);\n};\n\n/**\n * Tone the color by a specified amount.\n * @param {number} amount The amount to tone the color by. (0, 1)\n * @return {Color} The toned Color object.\n */\nexport function tone(amount) {\n return mix(this, grey, amount);\n};\n","import Color from './color.js';\nimport { fromCMY, fromCMYK, fromHexString, fromHSL, fromHSLString, fromHSV, fromRGB, fromRGBString, fromString } from './static/create.js';\nimport { contrast, dist, findContrast, mix, multiply } from './static/utility.js';\nimport { getAlpha, getBrightness, getHue, getSaturation, luma, setAlpha, setBrightness, setHue, setSaturation } from './prototype/attributes.js';\nimport { darken, invert, lighten, shade, tint, tone } from './prototype/manipulation.js';\nimport { label, toHexString, toHSLString, toRGBString, toString } from './prototype/output.js';\nimport { palette, shades, tints, tones } from './prototype/palette.js';\nimport { analogous, complementary, split, tetradic, triadic } from './prototype/schemes.js';\n\nColor.contrast = contrast;\nColor.dist = dist;\nColor.findContrast = findContrast;\nColor.fromCMY = fromCMY;\nColor.fromCMYK = fromCMYK;\nColor.fromHexString = fromHexString;\nColor.fromHSL = fromHSL;\nColor.fromHSLString = fromHSLString;\nColor.fromHSV = fromHSV;\nColor.fromRGB = fromRGB;\nColor.fromRGBString = fromRGBString;\nColor.fromString = fromString;\nColor.mix = mix;\nColor.multiply = multiply;\n\nconst proto = Color.prototype;\n\nproto.analogous = analogous;\nproto.complementary = complementary;\nproto.darken = darken;\nproto.getAlpha = getAlpha;\nproto.getBrightness = getBrightness;\nproto.getHue = getHue;\nproto.getSaturation = getSaturation;\nproto.invert = invert;\nproto.label = label;\nproto.lighten = lighten;\nproto.luma = luma;\nproto.palette = palette;\nproto.setAlpha = setAlpha;\nproto.setBrightness = setBrightness;\nproto.setHue = setHue;\nproto.setSaturation = setSaturation;\nproto.shade = shade;\nproto.shades = shades;\nproto.split = split;\nproto.tetradic = tetradic;\nproto.tint = tint;\nproto.tints = tints;\nproto.toHexString = toHexString;\nproto.toHSLString = toHSLString;\nproto.toRGBString = toRGBString;\nproto.toString = toString;\nproto.tone = tone;\nproto.tones = tones;\nproto.triadic = triadic;\n\nexport default Color;\n","import Color from './../color.js';\nimport { hsv2rgb, rgb2hsv } from './../conversions.js';\n\n/**\n * Color Schemes\n */\n\n/**\n * Create an array with 2 analogous color variations.\n * @return {Color[]} An array containing 2 analogous color variations.\n */\nexport function analogous() {\n const [h, s, v] = rgb2hsv(this.r, this.g, this.b);\n const [r1, g1, b1] = hsv2rgb(h + 30, s, v);\n const [r2, g2, b2] = hsv2rgb(h - 30, s, v);\n\n return [\n new Color(r1, g1, b1, this.a),\n new Color(r2, g2, b2, this.a),\n ];\n};\n\n/**\n * Create a complementary color variation.\n * @return {Color} A complementary color variation.\n */\nexport function complementary() {\n const [h, s, v] = rgb2hsv(this.r, this.g, this.b);\n const [r, g, b] = hsv2rgb(h + 180, s, v);\n\n return new Color(r, g, b, this.a);\n};\n\n/**\n * Create an array with 2 split color variations.\n * @return {Color[]} An array containing 2 split color variations.\n */\nexport function split() {\n const [h, s, v] = rgb2hsv(this.r, this.g, this.b);\n const [r1, g1, b1] = hsv2rgb(h + 150, s, v);\n const [r2, g2, b2] = hsv2rgb(h - 150, s, v);\n\n return [\n new Color(r1, g1, b1, this.a),\n new Color(r2, g2, b2, this.a),\n ];\n};\n\n/**\n * Create an array with 3 tetradic color variations.\n * @return {Color[]} An array containing 3 tetradic color variations.\n */\nexport function tetradic() {\n const [h, s, v] = rgb2hsv(this.r, this.g, this.b);\n const [r1, g1, b1] = hsv2rgb(h + 60, s, v);\n const [r2, g2, b2] = hsv2rgb(h + 180, s, v);\n const [r3, g3, b3] = hsv2rgb(h - 120, s, v);\n\n return [\n new Color(r1, g1, b1, this.a),\n new Color(r2, g2, b2, this.a),\n new Color(r3, g3, b3, this.a),\n ];\n};\n\n/**\n * Create an array with 2 triadic color variations.\n * @return {Color[]} An array containing 2 triadic color variations.\n */\nexport function triadic() {\n const [h, s, v] = rgb2hsv(this.r, this.g, this.b);\n const [r1, g1, b1] = hsv2rgb(h + 120, s, v);\n const [r2, g2, b2] = hsv2rgb(h - 120, s, v);\n\n return [\n new Color(r1, g1, b1, this.a),\n new Color(r2, g2, b2, this.a),\n ];\n};\n","import Color from './../color.js';\nimport { hsv2rgb, rgb2hsv, rgbLuma } from './../conversions.js';\n\n/**\n * Color Attributes\n */\n\n\n/**\n * Get the alpha value of the color.\n * @return {number} The alpha value. (0, 1)\n */\nexport function getAlpha() {\n return this.a;\n};\n\n/**\n * Get the brightness value of the color.\n * @return {number} The brightness value. (0, 100)\n */\nexport function getBrightness() {\n return rgb2hsv(this.r, this.g, this.b)[2];\n};\n\n/**\n * Get the hue value of the color.\n * @return {number} The hue value. (0, 360)\n */\nexport function getHue() {\n return rgb2hsv(this.r, this.g, this.b)[0];\n};\n\n/**\n * Get the saturation value of the color.\n * @return {number} The saturation value. (0, 100)\n */\nexport function getSaturation() {\n return rgb2hsv(this.r, this.g, this.b)[1];\n};\n\n/**\n * Get the relative luminance value of the color\n * @return {number} The relative luminance value. (0, 1)\n */\nexport function luma() {\n return rgbLuma(this.r, this.g, this.b);\n};\n\n/**\n * Set the alpha value of the color.\n * @param {number} a The alpha value. (0, 1)\n * @return {Color} The modified Color object.\n */\nexport function setAlpha(a) {\n return new Color(this.r, this.g, this.b, a);\n};\n\n/**\n * Set the brightness value of the color.\n * @param {number} v The brightness value. (0, 100)\n * @return {Color} The modified Color object.\n */\nexport function setBrightness(v) {\n const [h, s, _] = rgb2hsv(this.r, this.g, this.b);\n const [r, g, b] = hsv2rgb(h, s, v);\n\n return new Color(r, g, b, this.a);\n};\n\n/**\n * Set the hue value of the color.\n * @param {number} h The hue value. (0, 360)\n * @return {Color} The modified Color object.\n */\nexport function setHue(h) {\n const [_, s, v] = rgb2hsv(this.r, this.g, this.b);\n const [r, g, b] = hsv2rgb(h, s, v);\n\n return new Color(r, g, b, this.a);\n};\n\n/**\n * Set the saturation value of the color.\n * @param {number} s The saturation value. (0, 100)\n * @return {Color} The modified Color object.\n */\nexport function setSaturation(s) {\n const [h, _, v] = rgb2hsv(this.r, this.g, this.b);\n const [r, g, b] = hsv2rgb(h, s, v);\n\n return new Color(r, g, b, this.a);\n};\n","import { colors, hexLookup } from './../color-names.js';\nimport { toHex } from './../helpers.js';\nimport { rgb2hsl, rgba2hex } from './../conversions.js';\nimport { fromHexString } from './../static/create.js';\nimport { dist } from './../static/utility.js';\n\n/**\n * Get the closest color name for the color.\n * @return {string} The name.\n */\nexport function label() {\n let closest;\n let closestDistance = Number.MAX_SAFE_INTEGER;\n\n for (const label in colors) {\n if (!{}.hasOwnProperty.call(colors, label)) {\n continue;\n }\n\n const color = fromHexString(colors[label]);\n const distance = dist(this, color);\n\n if (distance < closestDistance) {\n closest = label;\n closestDistance = distance;\n }\n }\n\n return closest;\n};\n\n/**\n * Return a hexadecimal string representation of the color.\n * @return {string} The hexadecimal string.\n */\nexport function toHexString() {\n const hex = rgba2hex(this.r, this.g, this.b, this.a);\n\n return toHex(hex);\n};\n\n/**\n * Return a HSL/HSLA string representation of the color.\n * @return {string} The HSL/HSLA string.\n */\nexport function toHSLString() {\n let [h, s, l] = rgb2hsl(this.r, this.g, this.b);\n\n h = Math.round(h);\n s = Math.round(s);\n l = Math.round(l);\n const a = Math.round(this.a * 100);\n\n if (a < 100) {\n return `hsl(${h}deg ${s}% ${l}% / ${a}%)`;\n }\n\n return `hsl(${h}deg ${s}% ${l}%)`;\n};\n\n/**\n * Return a RGB/RGBA string representation of the color.\n * @return {string} The RGB/RGBA string.\n */\nexport function toRGBString() {\n const r = Math.round(this.r);\n const g = Math.round(this.g);\n const b = Math.round(this.b);\n const a = Math.round(this.a * 100);\n\n if (a < 100) {\n return `rgb(${r} ${g} ${b} / ${a}%)`;\n }\n\n return `rgb(${r} ${g} ${b})`;\n};\n\n/**\n * Return a HTML string representation of the color.\n * @return {string} The HTML color string.\n */\nexport function toString() {\n if (!this.a) {\n return 'transparent';\n }\n\n if (this.a < 1) {\n return this.toRGBString();\n }\n\n const hex = rgba2hex(this.r, this.g, this.b, this.a);\n\n if (hex in hexLookup) {\n return hexLookup[hex];\n }\n\n return toHex(hex);\n};\n","/**\n * Color Palette\n */\n\n/**\n * Create a palette object with a specified number of shades, tints and tone variations.\n * @param {object} [options] The options for generating a palette.\n * @param {number} [options.shades=10] The number of shades to generate.\n * @param {number} [options.tints=10] The number of tints to generate.\n * @param {number} [options.tones=10] The number of tones to generate.\n * @return {object} A palette object.\n */\nexport function palette({ shades = 10, tints = 10, tones = 10 } = {}) {\n return {\n shades: this.shades(shades),\n tints: this.tints(tints),\n tones: this.tones(tones),\n };\n};\n\n/**\n * Create an array with a specified number of shade variations.\n * @param {number} [shades=10] The number of shades to generate.\n * @return {Color[]} An array containing shade variations.\n */\nexport function shades(shades = 10) {\n return new Array(shades)\n .fill()\n .map(\n (_, index) => this.shade(index / (shades + 1)),\n );\n};\n\n/**\n * Create an array with a specified number of tint variations.\n * @param {number} [tints=10] The number of tints to generate.\n * @return {Color[]} An array containing tint variations.\n */\nexport function tints(tints = 10) {\n return new Array(tints)\n .fill()\n .map(\n (_, index) => this.tint(index / (tints + 1)),\n );\n};\n\n/**\n * Create an array with a specified number of tone variations.\n * @param {number} [tones=10] The number of tones to generate.\n * @return {Color[]} An array containing tone variations.\n */\nexport function tones(tones = 10) {\n return new Array(tones)\n .fill()\n .map(\n (_, index) => this.tone(index / (tones + 1)),\n );\n};\n"],"mappings":"sOAWO,MAAMA,EAAQ,CAACC,EAAKC,EAAM,EAAGC,EAAM,MAC/BC,KAAKD,IACRD,EACAE,KAAKF,IAAIC,EAAKF,IAWTI,EAAO,CAACC,EAAGC,EAAGC,IAEhBC,EADOH,GAAK,EAAIE,GAAUD,EAAIC,GAU5BC,EAAQ,CAACC,EAAKC,EAAY,IAC5BC,WAAWA,WAAWF,GAAKG,QAAQF,IAQjCG,EAASC,GACC,IAAfA,EAAIC,QACJD,EAAI,KAAOA,EAAI,IACfA,EAAI,KAAOA,EAAI,IACfA,EAAI,KAAOA,EAAI,IACfA,EAAI,KAAOA,EAAI,GACR,IAAIA,EAAI,KAAKA,EAAI,KAAKA,EAAI,KAAKA,EAAI,KAG3B,IAAfA,EAAIC,QACJD,EAAI,KAAOA,EAAI,IACfA,EAAI,KAAOA,EAAI,I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,EAAMC,EACjB,EH7CAoP,EAAMgD,KDsBC,SAAc3S,GACjB,OAAO0O,EAAI7N,KAAMkE,EAAM/E,EAC3B,ECvBA2P,EAAM6B,MIFC,SAAeA,EAAQ,IAC1B,OAAO,IAAIO,MAAMP,GACZQ,OACA/G,KACG,CAAC0G,EAAGM,IAAUpR,KAAK8R,KAAKV,GAAST,EAAQ,KAErD,EJHA7B,EAAMiD,QCeC,WACH,MAAOnH,EAAGC,EAAGG,GAAKS,EAAQzL,KAAKF,EAAGE,KAAKD,EAAGC,KAAKd,IACxC+P,EAAIC,EAAIC,GAAMpE,EAAQH,EAAI,IAAKC,EAAGG,IAClCoE,EAAIC,EAAIC,GAAMvE,EAAQH,EAAI,IAAKC,EAAGG,GAEzC,MAAO,CACH,IAAIpL,EAAMqP,EAAIC,EAAIC,EAAInP,KAAKf,GAC3B,IAAIW,EAAMwP,EAAIC,EAAIC,EAAItP,KAAKf,GAEnC,E"} \ No newline at end of file +{"version":3,"names":["clamp","val","min","max","Math","lerp","a","b","amount","round","num","precision","parseFloat","toFixed","toHex","hex","length","Color","constructor","r","g","this","_r","_g","_b","_a","valueOf","luma","Symbol","toPrimitive","hint","toString","colors","aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgrey","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgrey","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen","hexLookup","Object","fromEntries","entries","map","key","value","rgbHue","v1","v2","vH","hsl2rgb","h","s","l","hsv2rgb","v","vi","floor","v3","rgb2hsl","diff","deltaR","deltaG","deltaB","rgb2hsv","rgba2hex","slice","rgbLumaVlaue","pow","fromCMY","c","m","y","cmy2rgb","fromHexString","string","hexMatch","trim","match","Error","rgb","parseInt","fromHSL","fromHSLString","HSL2Match","HSLA2Match","HSLMatch","HSLAMatch","fromRGBString","RGB2Match","RGBA2Match","RGBMatch","RGBAMatch","contrast","color1","color2","luma1","luma2","dist","hypot","mix","findContrast","minContrast","stepSize","methods","i","method","tempColor","fromCMYK","k","cmyk2cmy","fromHSV","fromRGB","fromString","toLowerCase","substring","multiply","proto","prototype","analogous","r1","g1","b1","r2","g2","b2","complementary","darken","getAlpha","getBrightness","getHue","getSaturation","invert","label","closest","closestDistance","Number","MAX_SAFE_INTEGER","hasOwnProperty","call","color","distance","lighten","palette","shades","tints","tones","setAlpha","setBrightness","_","setHue","setSaturation","shade","Array","fill","index","split","tetradic","r3","g3","b3","tint","toHexString","toHSLString","toRGBString","tone","triadic"],"sources":["../src/helpers.js","../src/color.js","../src/color-names.js","../src/conversions.js","../src/static/create.js","../src/static/utility.js","../src/prototype/manipulation.js","../src/index.js","../src/prototype/schemes.js","../src/prototype/attributes.js","../src/prototype/output.js","../src/prototype/palette.js"],"sourcesContent":["/**\n * Color Helpers\n */\n\n/**\n * Clamp a value between a min and max.\n * @param {number} val The value to clamp.\n * @param {number} [min=0] The minimum value of the clamped range.\n * @param {number} [max=1] The maximum value of the clamped range.\n * @return {number} The clamped value.\n */\nexport const clamp = (val, min = 0, max = 100) => {\n return Math.max(\n min,\n Math.min(max, val),\n );\n};\n\n/**\n * Linear interpolation from one value to another.\n * @param {number} a The starting value.\n * @param {number} b The ending value.\n * @param {number} amount The amount to interpolate.\n * @return {number} The interpolated value.\n */\nexport const lerp = (a, b, amount) => {\n const value = a * (1 - amount) + b * amount;\n return round(value);\n};\n\n/**\n * Round a number to a specified precision.\n * @param {number} num The number to round.\n * @param {number} [precision=2] The precision to use.\n * @return {number} The rounded number.\n */\nexport const round = (num, precision = 2) => {\n return parseFloat(parseFloat(num).toFixed(precision));\n};\n\n/**\n * Shorten a hex string (if possible).\n * @param {string} hex The hex string.\n * @return {string} The hex string.\n */\nexport const toHex = (hex) => {\n if (hex.length === 9 &&\n hex[1] === hex[2] &&\n hex[3] === hex[4] &&\n hex[5] === hex[6] &&\n hex[7] === hex[8]) {\n return `#${hex[1]}${hex[3]}${hex[5]}${hex[7]}`;\n }\n\n if (hex.length === 7 &&\n hex[1] === hex[2] &&\n hex[3] === hex[4] &&\n hex[5] === hex[6]) {\n return `#${hex[1]}${hex[3]}${hex[5]}`;\n }\n\n return hex;\n};\n","\nimport { clamp, round } from './helpers.js';\n\n/**\n * Color class\n * @class\n */\nexport default class Color {\n /**\n * New Color constructor.\n * @param {number} [r=0] The red value, or the brightness value.\n * @param {number} [g=1] The green value or the alpha value.\n * @param {null|number} [b=null] The blue value.\n * @param {number} [a=1] The alpha value.\n */\n constructor(r = 0, g = 1, b = null, a = 1) {\n if (b === null) {\n a = g;\n b = g = r = round(r * 2.55);\n }\n\n this._r = clamp(r, 0, 255);\n this._g = clamp(g, 0, 255);\n this._b = clamp(b, 0, 255);\n this._a = clamp(a, 0, 1);\n }\n\n /**\n * Return the luminance value of the color.\n * @return {number} The luminance value. (0, 1)\n */\n valueOf() {\n return this.luma();\n }\n\n /**\n * Return a primitive value of the color.\n * @param {string} hint The type hint.\n * @return {string|number} The HTML color string, or the luminance value.\n */\n [Symbol.toPrimitive](hint) {\n return hint === 'number' ?\n this.valueOf() :\n this.toString();\n }\n\n /**\n * Get the alpha value of the color.\n * @return {number} The alpha value. (0, 1)\n */\n get a() {\n return this._a;\n }\n\n /**\n * Get the blue value of the color.\n * @return {number} The blue value. (0, 255)\n */\n get b() {\n return this._b;\n }\n\n /**\n * Get the green value of the color.\n * @return {number} The green value. (0, 255)\n */\n get g() {\n return this._g;\n }\n\n /**\n * Get the red value of the color.\n * @return {number} The red value. (0, 255)\n */\n get r() {\n return this._r;\n }\n}\n","/**\n * Color Names\n */\n\n// HTML color names\nexport const colors = {\n aliceblue: '#f0f8ff',\n antiquewhite: '#faebd7',\n aqua: '#00ffff',\n aquamarine: '#7fffd4',\n azure: '#f0ffff',\n beige: '#f5f5dc',\n bisque: '#ffe4c4',\n black: '#000000',\n blanchedalmond: '#ffebcd',\n blue: '#0000ff',\n blueviolet: '#8a2be2',\n brown: '#a52a2a',\n burlywood: '#deb887',\n cadetblue: '#5f9ea0',\n chartreuse: '#7fff00',\n chocolate: '#d2691e',\n coral: '#ff7f50',\n cornflowerblue: '#6495ed',\n cornsilk: '#fff8dc',\n crimson: '#dc143c',\n cyan: '#00ffff',\n darkblue: '#00008b',\n darkcyan: '#008b8b',\n darkgoldenrod: '#b8860b',\n darkgray: '#a9a9a9',\n darkgrey: '#a9a9a9',\n darkgreen: '#006400',\n darkkhaki: '#bdb76b',\n darkmagenta: '#8b008b',\n darkolivegreen: '#556b2f',\n darkorange: '#ff8c00',\n darkorchid: '#9932cc',\n darkred: '#8b0000',\n darksalmon: '#e9967a',\n darkseagreen: '#8fbc8f',\n darkslateblue: '#483d8b',\n darkslategray: '#2f4f4f',\n darkslategrey: '#2f4f4f',\n darkturquoise: '#00ced1',\n darkviolet: '#9400d3',\n deeppink: '#ff1493',\n deepskyblue: '#00bfff',\n dimgray: '#696969',\n dimgrey: '#696969',\n dodgerblue: '#1e90ff',\n firebrick: '#b22222',\n floralwhite: '#fffaf0',\n forestgreen: '#228b22',\n fuchsia: '#ff00ff',\n gainsboro: '#dcdcdc',\n ghostwhite: '#f8f8ff',\n gold: '#ffd700',\n goldenrod: '#daa520',\n gray: '#808080',\n grey: '#808080',\n green: '#008000',\n greenyellow: '#adff2f',\n honeydew: '#f0fff0',\n hotpink: '#ff69b4',\n indianred: '#cd5c5c',\n indigo: '#4b0082',\n ivory: '#fffff0',\n khaki: '#f0e68c',\n lavender: '#e6e6fa',\n lavenderblush: '#fff0f5',\n lawngreen: '#7cfc00',\n lemonchiffon: '#fffacd',\n lightblue: '#add8e6',\n lightcoral: '#f08080',\n lightcyan: '#e0ffff',\n lightgoldenrodyellow: '#fafad2',\n lightgray: '#d3d3d3',\n lightgrey: '#d3d3d3',\n lightgreen: '#90ee90',\n lightpink: '#ffb6c1',\n lightsalmon: '#ffa07a',\n lightseagreen: '#20b2aa',\n lightskyblue: '#87cefa',\n lightslategray: '#778899',\n lightslategrey: '#778899',\n lightsteelblue: '#b0c4de',\n lightyellow: '#ffffe0',\n lime: '#00ff00',\n limegreen: '#32cd32',\n linen: '#faf0e6',\n magenta: '#ff00ff',\n maroon: '#800000',\n mediumaquamarine: '#66cdaa',\n mediumblue: '#0000cd',\n mediumorchid: '#ba55d3',\n mediumpurple: '#9370db',\n mediumseagreen: '#3cb371',\n mediumslateblue: '#7b68ee',\n mediumspringgreen: '#00fa9a',\n mediumturquoise: '#48d1cc',\n mediumvioletred: '#c71585',\n midnightblue: '#191970',\n mintcream: '#f5fffa',\n mistyrose: '#ffe4e1',\n moccasin: '#ffe4b5',\n navajowhite: '#ffdead',\n navy: '#000080',\n oldlace: '#fdf5e6',\n olive: '#808000',\n olivedrab: '#6b8e23',\n orange: '#ffa500',\n orangered: '#ff4500',\n orchid: '#da70d6',\n palegoldenrod: '#eee8aa',\n palegreen: '#98fb98',\n paleturquoise: '#afeeee',\n palevioletred: '#db7093',\n papayawhip: '#ffefd5',\n peachpuff: '#ffdab9',\n peru: '#cd853f',\n pink: '#ffc0cb',\n plum: '#dda0dd',\n powderblue: '#b0e0e6',\n purple: '#800080',\n rebeccapurple: '#663399',\n red: '#ff0000',\n rosybrown: '#bc8f8f',\n royalblue: '#4169e1',\n saddlebrown: '#8b4513',\n salmon: '#fa8072',\n sandybrown: '#f4a460',\n seagreen: '#2e8b57',\n seashell: '#fff5ee',\n sienna: '#a0522d',\n silver: '#c0c0c0',\n skyblue: '#87ceeb',\n slateblue: '#6a5acd',\n slategray: '#708090',\n slategrey: '#708090',\n snow: '#fffafa',\n springgreen: '#00ff7f',\n steelblue: '#4682b4',\n tan: '#d2b48c',\n teal: '#008080',\n thistle: '#d8bfd8',\n tomato: '#ff6347',\n turquoise: '#40e0d0',\n violet: '#ee82ee',\n wheat: '#f5deb3',\n white: '#ffffff',\n whitesmoke: '#f5f5f5',\n yellow: '#ffff00',\n yellowgreen: '#9acd32',\n};\n\nexport const hexLookup = Object.fromEntries(\n Object.entries(colors)\n .map(([key, value]) => [value, key]),\n);\n","import { round } from './helpers.js';\n\n/**\n * Color Conversions\n */\n\n/**\n * Convert CMY color values to RGB.\n * @param {number} c The cyan value. (0, 100)\n * @param {number} m The magenta value. (0, 100)\n * @param {number} y The yellow value. (0, 100)\n * @return {number[]} An array containing the RGB values.\n */\nexport const cmy2rgb = (c, m, y) => {\n return [\n round((1 - c / 100) * 255),\n round((1 - m / 100) * 255),\n round((1 - y / 100) * 255),\n ];\n};\n\n/**\n * Convert CMYK color values to CMY.\n * @param {number} c The cyan value. (0, 100)\n * @param {number} m The magenta value. (0, 100)\n * @param {number} y The yellow value. (0, 100)\n * @param {number} k The key value. (0, 100)\n * @return {number[]} An array containing the CMY values.\n */\nexport const cmyk2cmy = (c, m, y, k) => {\n k /= 100;\n\n return [\n round((c / 100 * (1 - k) + k) * 100),\n round((m / 100 * (1 - k) + k) * 100),\n round((y / 100 * (1 - k) + k) * 100),\n ];\n};\n\n/**\n * Calculate the R, G or B value of a hue.\n * @param {number} v1 The first value.\n * @param {number} v2 The second value.\n * @param {number} vH The hue value.\n * @return {number} The R, G or B value.\n */\nconst rgbHue = (v1, v2, vH) => {\n vH = (vH + 1) % 1;\n\n if (6 * vH < 1) {\n return v1 + (v2 - v1) * 6 * vH;\n }\n\n if (2 * vH < 1) {\n return v2;\n }\n\n if (3 * vH < 2) {\n return v1 + (v2 - v1) * ((2 / 3) - vH) * 6;\n }\n\n return v1;\n};\n\n/**\n * Convert HSL color values to RGB.\n * @param {number} h The hue value. (0, 360)\n * @param {number} s The saturation value. (0, 100)\n * @param {number} l The lightness value. (0, 100)\n * @return {number[]} An array containing the RGB values.\n */\nexport const hsl2rgb = (h, s, l) => {\n if (!l) {\n return [0, 0, 0];\n }\n\n h /= 360;\n s /= 100;\n l /= 100;\n\n const v2 = l < .5 ?\n l * (1 + s) :\n (l + s) - (s * l);\n const v1 = 2 * l - v2;\n const r = rgbHue(v1, v2, h + (1 / 3));\n const g = rgbHue(v1, v2, h);\n const b = rgbHue(v1, v2, h - (1 / 3));\n\n return [\n round(r * 255),\n round(g * 255),\n round(b * 255),\n ];\n};\n\n/**\n * Convert HSV color values to RGB.\n * @param {number} h The hue value. (0, 360)\n * @param {number} s The saturation value. (0, 100)\n * @param {number} v The brightness value (0, 100)\n * @return {number[]} An array containing the RGB values.\n */\nexport const hsv2rgb = (h, s, v) => {\n v /= 100;\n\n if (!s) {\n return [\n round(v * 255),\n round(v * 255),\n round(v * 255),\n ];\n }\n\n h = (h / 60) % 6;\n s /= 100;\n\n const vi = Math.floor(h);\n const v1 = v * (1 - s);\n const v2 = v * (1 - s * (h - vi));\n const v3 = v * (1 - s * (1 - (h - vi)));\n\n let r; let g; let b;\n\n switch (vi) {\n case 0:\n r = v;\n g = v3;\n b = v1;\n break;\n case 1:\n r = v2;\n g = v;\n b = v1;\n break;\n case 2:\n r = v1;\n g = v;\n b = v3;\n break;\n case 3:\n r = v1;\n g = v2;\n b = v;\n break;\n case 4:\n r = v3;\n g = v1;\n b = v;\n break;\n default:\n r = v;\n g = v1;\n b = v2;\n break;\n }\n\n return [\n round(r * 255),\n round(g * 255),\n round(b * 255),\n ];\n};\n\n/**\n * Convert RGB color values to HSL.\n * @param {number} r The red value. (0, 255)\n * @param {number} g The green value. (0, 255)\n * @param {number} b The blue value. (0, 255)\n * @return {number[]} An array containing the HSL values.\n */\nexport const rgb2hsl = (r, g, b) => {\n r /= 255;\n g /= 255;\n b /= 255;\n\n const min = Math.min(r, g, b);\n const max = Math.max(r, g, b);\n const diff = max - min;\n const l = (max + min) / 2;\n\n if (!diff) {\n return [\n 0,\n 0,\n round(l * 100),\n ];\n }\n\n const s = l < .5 ?\n diff / (max + min) :\n diff / (2 - max - min);\n const deltaR = (((max - r) / 6) + (diff / 2)) / diff;\n const deltaG = (((max - g) / 6) + (diff / 2)) / diff;\n const deltaB = (((max - b) / 6) + (diff / 2)) / diff;\n\n let h = 0;\n\n switch (max) {\n case r:\n h = deltaB - deltaG;\n break;\n case g:\n h = 1 / 3 + deltaR - deltaB;\n break;\n case b:\n h = 2 / 3 + deltaG - deltaR;\n break;\n }\n\n h = (h + 1) % 1;\n\n return [\n round(h * 360),\n round(s * 100),\n round(l * 100),\n ];\n};\n\n/**\n * Convert RGB color values to HSV.\n * @param {number} r The red value. (0, 255)\n * @param {number} g The green value. (0, 255)\n * @param {number} b The blue value. (0, 255)\n * @return {number[]} An array containing the HSV values.\n */\nexport const rgb2hsv = (r, g, b) => {\n r /= 255;\n g /= 255;\n b /= 255;\n\n const min = Math.min(r, g, b);\n const max = Math.max(r, g, b);\n const diff = max - min;\n const v = max;\n\n if (!diff) {\n return [\n 0,\n 0,\n round(v * 100),\n ];\n }\n\n const s = diff / max;\n const deltaR = (((max - r) / 6) + (diff / 2)) / diff;\n const deltaG = (((max - g) / 6) + (diff / 2)) / diff;\n const deltaB = (((max - b) / 6) + (diff / 2)) / diff;\n\n let h = 0;\n\n switch (max) {\n case r:\n h = deltaB - deltaG;\n break;\n case g:\n h = 1 / 3 + deltaR - deltaB;\n break;\n case b:\n h = 2 / 3 + deltaG - deltaR;\n break;\n }\n\n h = (h + 1) % 1;\n\n return [\n round(h * 360),\n round(s * 100),\n round(v * 100),\n ];\n};\n\n/**\n * Convert RGBA color values to hex.\n * @param {number} r The red value. (0, 255)\n * @param {number} g The green value. (0, 255)\n * @param {number} b The blue value. (0, 255)\n * @param {number} a The alpha value. (0, 1)\n * @return {string} The hex string.\n */\nexport const rgba2hex = (r, g, b, a) => {\n [r, g, b] = [r, g, b].map(\n (value) => (Math.round(value) | 1 << 8)\n .toString(16)\n .slice(1),\n );\n const hex = `#${r}${g}${b}`;\n\n if (a >= 1) {\n return hex;\n }\n\n return hex +\n (Math.round(a * 255) | 1 << 8)\n .toString(16)\n .slice(1);\n};\n\n/**\n * Calculate the relative R, G or B value for luma calculation.\n * @param {number} v The value.\n * @return {number} The R, G or B value.\n */\nconst rgbLumaVlaue = (v) => {\n v /= 255;\n\n if (v <= .03928) {\n return v / 12.92;\n }\n\n return Math.pow(((v + .055) / 1.055), 2.4);\n};\n\n/**\n * Calculate the relative luminance of an RGB color.\n * @param {number} r The red value. (0, 255)\n * @param {number} g The green value. (0, 255)\n * @param {number} b The blue value. (0, 255)\n * @return {number} The relative luminance value.\n */\nexport const rgbLuma = (r, g, b) => {\n r = rgbLumaVlaue(r);\n g = rgbLumaVlaue(g);\n b = rgbLumaVlaue(b);\n\n return (.2126 * r) + (.7152 * g) + (.0722 * b);\n};\n","import Color from './../color.js';\nimport { colors } from './../color-names.js';\nimport { cmy2rgb, cmyk2cmy, hsl2rgb, hsv2rgb } from './../conversions.js';\n\n/**\n * Color (Static) Creation\n */\n\n/**\n * Create a new Color from CMY values.\n * @param {number} c The cyan value. (0, 100)\n * @param {number} m The magenta value. (0, 100)\n * @param {number} y The yellow value. (0, 100)\n * @param {number} [a=1] The alpha value. (0, 1)\n * @return {Color} A new Color object.\n */\nexport function fromCMY(c, m, y, a = 1) {\n const [r, g, b] = cmy2rgb(c, m, y);\n return new Color(r, g, b, a);\n};\n\n/**\n * Create a new Color from CMYK values.\n * @param {number} c The cyan value. (0, 100)\n * @param {number} m The magenta value. (0, 100)\n * @param {number} y The yellow value. (0, 100)\n * @param {number} k The key value. (0, 100)\n * @param {number} [a=1] The alpha value. (0, 1)\n * @return {Color} A new Color object.\n */\nexport function fromCMYK(c, m, y, k, a = 1) {\n [c, m, y] = cmyk2cmy(c, m, y, k);\n return fromCMY(c, m, y, a);\n};\n\n/**\n * Create a new Color from a hex color string.\n * @param {string} string The hex color string.\n * @return {Color} A new Color object.\n */\nexport function fromHexString(string) {\n string = string.trim();\n\n const hexMatch = string.length > 6 ?\n string.match(/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})?$/i) :\n string.match(/^#([0-9a-f])([0-9a-f])([0-9a-f])([0-9a-f]?)$/i);\n\n if (!hexMatch) {\n throw new Error('Invalid hex string');\n }\n\n const rgb = hexMatch.slice(1, 5).map((value) =>\n value ?\n parseInt(\n value.length == 2 ?\n value :\n value + value,\n 16,\n ) :\n null,\n );\n\n return new Color(rgb[0],\n rgb[1],\n rgb[2],\n rgb[3] ?\n rgb[3] / 255 :\n 1,\n );\n};\n\n/**\n * Create a new Color from HSL values.\n * @param {number} h The hue value. (0, 360)\n * @param {number} s The saturation value. (0, 100)\n * @param {number} l The lightness value. (0, 100)\n * @param {number} [a=1] The alpha value. (0, 1)\n * @return {Color} A new Color object.\n */\nexport function fromHSL(h, s, l, a = 1) {\n const [r, g, b] = hsl2rgb(h, s, l);\n return new Color(r, g, b, a);\n};\n\n/**\n * Create a new Color from a HSL color string.\n * @param {string} string The HSL color string.\n * @return {Color} A new Color object.\n */\nexport function fromHSLString(string) {\n string = string.trim();\n\n const HSL2Match = string.match(/^hsl\\(((?:\\d*\\.)?\\d+)deg\\s+((?:\\d*\\.)?\\d+)\\%\\s+((?:\\d*\\.)?\\d+)\\%\\)$/i);\n\n if (HSL2Match) {\n return fromHSL(HSL2Match[1], HSL2Match[2], HSL2Match[3]);\n }\n\n const HSLA2Match = string.match(/^hsl\\(((?:\\d*\\.)?\\d+)deg\\s+((?:\\d*\\.)?\\d+)\\%\\s+((?:\\d*\\.)?\\d+)\\%\\s*\\/\\s*((?:\\d*\\.)?\\d+)(\\%?)\\)$/i);\n\n if (HSLA2Match) {\n return fromHSL(\n HSLA2Match[1],\n HSLA2Match[2],\n HSLA2Match[3],\n HSLA2Match[5] ?\n HSLA2Match[4] / 100 :\n HSLA2Match[4],\n );\n }\n\n const HSLMatch = string.match(/^hsl\\(((?:\\d*\\.)?\\d+),\\s*((?:\\d*\\.)?\\d+)\\%,\\s*((?:\\d*\\.)?\\d+)\\%\\)$/i);\n\n if (HSLMatch) {\n return fromHSL(HSLMatch[1], HSLMatch[2], HSLMatch[3]);\n }\n\n const HSLAMatch = string.match(/^hsla\\(((?:\\d*\\.)?\\d+),\\s*((?:\\d*\\.)?\\d+)\\%,\\s*((?:\\d*\\.)?\\d+)\\%,\\s*((?:\\d*\\.)?\\d+)(\\%?)\\)$/i);\n\n if (HSLAMatch) {\n return fromHSL(\n HSLAMatch[1],\n HSLAMatch[2],\n HSLAMatch[3],\n HSLAMatch[5] ?\n HSLAMatch[4] / 100 :\n HSLAMatch[4],\n );\n }\n\n throw new Error('Invalid HSL string');\n};\n\n/**\n * Create a new Color from HSV values.\n * @param {number} h The hue value. (0, 360)\n * @param {number} s The saturation value. (0, 100)\n * @param {number} v The brightness value. (0, 100)\n * @param {number} [a=1] The alpha value. (0, 1)\n * @return {Color} A new Color object.\n */\nexport function fromHSV(h, s, v, a = 1) {\n const [r, g, b] = hsv2rgb(h, s, v);\n return new Color(r, g, b, a);\n};\n\n/**\n * Create a new Color from RGB values.\n * @param {number} r The red value. (0, 255)\n * @param {number} g The green value. (0, 255)\n * @param {number} b The blue value. (0, 255)\n * @param {number} [a=1] The alpha value. (0, 1)\n * @return {Color} A new Color object.\n */\nexport function fromRGB(r, g, b, a = 1) {\n return new Color(r, g, b, a);\n};\n\n/**\n * Create a new Color from a RGB color string.\n * @param {string} string The RGB color string.\n * @return {Color} A new Color object.\n */\nexport function fromRGBString(string) {\n string = string.trim();\n\n const RGB2Match = string.match(/^rgb\\(((?:\\d*\\.)?\\d+)\\s+((?:\\d*\\.)?\\d+)\\s+((?:\\d*\\.)?\\d+)\\)$/i);\n\n if (RGB2Match) {\n return new Color(RGB2Match[1], RGB2Match[2], RGB2Match[3]);\n }\n\n const RGBA2Match = string.match(/^rgb\\(((?:\\d*\\.)?\\d+)\\s+((?:\\d*\\.)?\\d+)\\s+((?:\\d*\\.)?\\d+)\\s*\\/\\s*((?:\\d*\\.)?\\d+)(\\%?)\\)$/i);\n\n if (RGBA2Match) {\n return new Color(\n RGBA2Match[1],\n RGBA2Match[2],\n RGBA2Match[3],\n RGBA2Match[5] ?\n RGBA2Match[4] / 100 :\n RGBA2Match[4],\n );\n }\n\n const RGBMatch = string.match(/^rgb\\(((?:\\d*\\.)?\\d+),\\s*((?:\\d*\\.)?\\d+),\\s*((?:\\d*\\.)?\\d+)\\)$/i);\n\n if (RGBMatch) {\n return new Color(RGBMatch[1], RGBMatch[2], RGBMatch[3]);\n }\n\n const RGBAMatch = string.match(/^rgba\\(((?:\\d*\\.)?\\d+),\\s*((?:\\d*\\.)?\\d+),\\s*((?:\\d*\\.)?\\d+),\\s*((?:\\d*\\.)?\\d+)(\\%?)\\)$/i);\n\n if (RGBAMatch) {\n return new Color(\n RGBAMatch[1],\n RGBAMatch[2],\n RGBAMatch[3],\n RGBAMatch[5] ?\n RGBAMatch[4] / 100 :\n RGBAMatch[4],\n );\n }\n\n throw new Error('Invalid RGB string');\n};\n\n/**\n * Create a new Color from a HTML color string.\n * @param {string} string The HTML color string.\n * @return {Color} A new Color object.\n */\nexport function fromString(string) {\n string = string.toLowerCase().trim();\n\n if (string === 'transparent') {\n return new Color(0, 0, 0, 0);\n }\n\n if (string in colors) {\n string = colors[string];\n }\n\n if (string.substring(0, 1) === '#') {\n return fromHexString(string);\n }\n\n if (string.substring(0, 3).toLowerCase() === 'rgb') {\n return fromRGBString(string);\n }\n\n if (string.substring(0, 3).toLowerCase() === 'hsl') {\n return fromHSLString(string);\n }\n\n throw new Error('Invalid color string');\n};\n","import Color from './../color.js';\nimport { lerp } from './../helpers.js';\n\n/**\n * Color (Static) Utility\n */\n\n/**\n * Get the contrast value between two colors.\n * @param {Color} color1 The first Color.\n * @param {Color} color2 The second Color.\n * @return {number} The contrast value. (1, 21)\n */\nexport const contrast = (color1, color2) => {\n const luma1 = color1.luma();\n const luma2 = color2.luma();\n\n return (Math.max(luma1, luma2) + .05) / (Math.min(luma1, luma2) + .05);\n};\n\n/**\n * Calculate the distance between two colors.\n * @param {Color} color1 The first Color.\n * @param {Color} color2 The second Color.\n * @return {number} The distance between the colors.\n */\nexport const dist = (color1, color2) => {\n return Math.hypot(color1.r - color2.r, color1.g - color2.g, color1.b - color2.b);\n};\n\n/**\n * Find an optimally contrasting color for another color.\n * @param {Color} color1 The first Color.\n * @param {Color} [color2] The second Color.\n * @param {object} [options] The options for finding the contrasting color.\n * @param {number} [options.minContrast=4.5] The minimum contrast.\n * @param {number} [options.stepSize=.01] The step size.\n * @return {Color} The new Color.\n */\nexport const findContrast = (color1, color2 = null, { minContrast = 4.5, stepSize = .01 } = {}) => {\n if (!color2) {\n color2 = color1;\n }\n\n if (contrast(color1, color2) >= minContrast) {\n return color2;\n }\n\n const methods = ['tint', 'shade'];\n for (let i = stepSize; i <= 1; i += stepSize) {\n for (const method of methods) {\n const tempColor = color2[method](i);\n if (contrast(color1, tempColor) >= minContrast) {\n return tempColor;\n }\n }\n }\n\n return null;\n};\n\n/**\n * Create a new Color by mixing two colors together by a specified amount.\n * @param {Color} color1 The first Color.\n * @param {Color} color2 The second Color.\n * @param {number} amount The amount to mix them by. (0, 1)\n * @return {Color} A new Color object.\n */\nexport function mix(color1, color2, amount) {\n const r = lerp(color1.r, color2.r, amount);\n const g = lerp(color1.g, color2.g, amount);\n const b = lerp(color1.b, color2.b, amount);\n\n return new Color(r, g, b);\n};\n\n/**\n * Create a new Color by multiplying two colors together by a specified amount.\n * @param {Color} color1 The first Color.\n * @param {Color} color2 The second Color.\n * @param {number} amount The amount to multiply them by. (0, 1)\n * @return {Color} A new Color object.\n */\nexport function multiply(color1, color2, amount) {\n const r = lerp(color1.r, color1.r * color2.r / 255, amount);\n const g = lerp(color1.g, color1.g * color2.g / 255, amount);\n const b = lerp(color1.b, color1.b * color2.b / 255, amount);\n\n return new Color(r, g, b);\n};\n","import Color from './../color.js';\nimport { hsl2rgb, rgb2hsl } from './../conversions.js';\nimport { mix } from './../static/utility.js';\n\n/**\n * Color Manipulation\n */\n\nconst white = new Color(100);\nconst grey = new Color(50);\nconst black = new Color(0);\n\n/**\n * Darken the color by a specified amount.\n * @param {number} amount The amount to darken the color by. (0, 1)\n * @return {Color} The darkened Color object.\n */\nexport function darken(amount) {\n let [h, s, l] = rgb2hsl(this.r, this.g, this.b);\n l -= l * amount;\n const [r, g, b] = hsl2rgb(h, s, l);\n\n return new Color(r, g, b, this.a);\n};\n\n/**\n * Invert the color.\n * @return {Color} The inverted Color object.\n */\nexport function invert() {\n return new Color(\n 255 - this.r,\n 255 - this.g,\n 255 - this.b,\n this.a,\n );\n};\n\n/**\n * Lighten the color by a specified amount.\n * @param {number} amount The amount to lighten the color by. (0, 1)\n * @return {Color} The lightened Color object.\n */\nexport function lighten(amount) {\n let [h, s, l] = rgb2hsl(this.r, this.g, this.b);\n l += (100 - l) * amount;\n const [r, g, b] = hsl2rgb(h, s, l);\n\n return new Color(r, g, b, this.a);\n};\n\n/**\n * Shade the color by a specified amount.\n * @param {number} amount The amount to shade the color by. (0, 1)\n * @return {Color} The shaded Color object.\n */\nexport function shade(amount) {\n return mix(this, black, amount);\n};\n\n/**\n * Tint the color by a specified amount.\n * @param {number} amount The amount to tint the color by. (0, 1)\n * @return {Color} The tinted Color object.\n */\nexport function tint(amount) {\n return mix(this, white, amount);\n};\n\n/**\n * Tone the color by a specified amount.\n * @param {number} amount The amount to tone the color by. (0, 1)\n * @return {Color} The toned Color object.\n */\nexport function tone(amount) {\n return mix(this, grey, amount);\n};\n","import Color from './color.js';\nimport { fromCMY, fromCMYK, fromHexString, fromHSL, fromHSLString, fromHSV, fromRGB, fromRGBString, fromString } from './static/create.js';\nimport { contrast, dist, findContrast, mix, multiply } from './static/utility.js';\nimport { getAlpha, getBrightness, getHue, getSaturation, luma, setAlpha, setBrightness, setHue, setSaturation } from './prototype/attributes.js';\nimport { darken, invert, lighten, shade, tint, tone } from './prototype/manipulation.js';\nimport { label, toHexString, toHSLString, toRGBString, toString } from './prototype/output.js';\nimport { palette, shades, tints, tones } from './prototype/palette.js';\nimport { analogous, complementary, split, tetradic, triadic } from './prototype/schemes.js';\n\nColor.contrast = contrast;\nColor.dist = dist;\nColor.findContrast = findContrast;\nColor.fromCMY = fromCMY;\nColor.fromCMYK = fromCMYK;\nColor.fromHexString = fromHexString;\nColor.fromHSL = fromHSL;\nColor.fromHSLString = fromHSLString;\nColor.fromHSV = fromHSV;\nColor.fromRGB = fromRGB;\nColor.fromRGBString = fromRGBString;\nColor.fromString = fromString;\nColor.mix = mix;\nColor.multiply = multiply;\n\nconst proto = Color.prototype;\n\nproto.analogous = analogous;\nproto.complementary = complementary;\nproto.darken = darken;\nproto.getAlpha = getAlpha;\nproto.getBrightness = getBrightness;\nproto.getHue = getHue;\nproto.getSaturation = getSaturation;\nproto.invert = invert;\nproto.label = label;\nproto.lighten = lighten;\nproto.luma = luma;\nproto.palette = palette;\nproto.setAlpha = setAlpha;\nproto.setBrightness = setBrightness;\nproto.setHue = setHue;\nproto.setSaturation = setSaturation;\nproto.shade = shade;\nproto.shades = shades;\nproto.split = split;\nproto.tetradic = tetradic;\nproto.tint = tint;\nproto.tints = tints;\nproto.toHexString = toHexString;\nproto.toHSLString = toHSLString;\nproto.toRGBString = toRGBString;\nproto.toString = toString;\nproto.tone = tone;\nproto.tones = tones;\nproto.triadic = triadic;\n\nexport default Color;\n","import Color from './../color.js';\nimport { hsv2rgb, rgb2hsv } from './../conversions.js';\n\n/**\n * Color Schemes\n */\n\n/**\n * Create an array with 2 analogous color variations.\n * @return {Color[]} An array containing 2 analogous color variations.\n */\nexport function analogous() {\n const [h, s, v] = rgb2hsv(this.r, this.g, this.b);\n const [r1, g1, b1] = hsv2rgb(h + 30, s, v);\n const [r2, g2, b2] = hsv2rgb(h - 30, s, v);\n\n return [\n new Color(r1, g1, b1, this.a),\n new Color(r2, g2, b2, this.a),\n ];\n};\n\n/**\n * Create a complementary color variation.\n * @return {Color} A complementary color variation.\n */\nexport function complementary() {\n const [h, s, v] = rgb2hsv(this.r, this.g, this.b);\n const [r, g, b] = hsv2rgb(h + 180, s, v);\n\n return new Color(r, g, b, this.a);\n};\n\n/**\n * Create an array with 2 split color variations.\n * @return {Color[]} An array containing 2 split color variations.\n */\nexport function split() {\n const [h, s, v] = rgb2hsv(this.r, this.g, this.b);\n const [r1, g1, b1] = hsv2rgb(h + 150, s, v);\n const [r2, g2, b2] = hsv2rgb(h - 150, s, v);\n\n return [\n new Color(r1, g1, b1, this.a),\n new Color(r2, g2, b2, this.a),\n ];\n};\n\n/**\n * Create an array with 3 tetradic color variations.\n * @return {Color[]} An array containing 3 tetradic color variations.\n */\nexport function tetradic() {\n const [h, s, v] = rgb2hsv(this.r, this.g, this.b);\n const [r1, g1, b1] = hsv2rgb(h + 60, s, v);\n const [r2, g2, b2] = hsv2rgb(h + 180, s, v);\n const [r3, g3, b3] = hsv2rgb(h - 120, s, v);\n\n return [\n new Color(r1, g1, b1, this.a),\n new Color(r2, g2, b2, this.a),\n new Color(r3, g3, b3, this.a),\n ];\n};\n\n/**\n * Create an array with 2 triadic color variations.\n * @return {Color[]} An array containing 2 triadic color variations.\n */\nexport function triadic() {\n const [h, s, v] = rgb2hsv(this.r, this.g, this.b);\n const [r1, g1, b1] = hsv2rgb(h + 120, s, v);\n const [r2, g2, b2] = hsv2rgb(h - 120, s, v);\n\n return [\n new Color(r1, g1, b1, this.a),\n new Color(r2, g2, b2, this.a),\n ];\n};\n","import Color from './../color.js';\nimport { hsv2rgb, rgb2hsv, rgbLuma } from './../conversions.js';\n\n/**\n * Color Attributes\n */\n\n\n/**\n * Get the alpha value of the color.\n * @return {number} The alpha value. (0, 1)\n */\nexport function getAlpha() {\n return this.a;\n};\n\n/**\n * Get the brightness value of the color.\n * @return {number} The brightness value. (0, 100)\n */\nexport function getBrightness() {\n return rgb2hsv(this.r, this.g, this.b)[2];\n};\n\n/**\n * Get the hue value of the color.\n * @return {number} The hue value. (0, 360)\n */\nexport function getHue() {\n return rgb2hsv(this.r, this.g, this.b)[0];\n};\n\n/**\n * Get the saturation value of the color.\n * @return {number} The saturation value. (0, 100)\n */\nexport function getSaturation() {\n return rgb2hsv(this.r, this.g, this.b)[1];\n};\n\n/**\n * Get the relative luminance value of the color\n * @return {number} The relative luminance value. (0, 1)\n */\nexport function luma() {\n return rgbLuma(this.r, this.g, this.b);\n};\n\n/**\n * Set the alpha value of the color.\n * @param {number} a The alpha value. (0, 1)\n * @return {Color} The modified Color object.\n */\nexport function setAlpha(a) {\n return new Color(this.r, this.g, this.b, a);\n};\n\n/**\n * Set the brightness value of the color.\n * @param {number} v The brightness value. (0, 100)\n * @return {Color} The modified Color object.\n */\nexport function setBrightness(v) {\n const [h, s, _] = rgb2hsv(this.r, this.g, this.b);\n const [r, g, b] = hsv2rgb(h, s, v);\n\n return new Color(r, g, b, this.a);\n};\n\n/**\n * Set the hue value of the color.\n * @param {number} h The hue value. (0, 360)\n * @return {Color} The modified Color object.\n */\nexport function setHue(h) {\n const [_, s, v] = rgb2hsv(this.r, this.g, this.b);\n const [r, g, b] = hsv2rgb(h, s, v);\n\n return new Color(r, g, b, this.a);\n};\n\n/**\n * Set the saturation value of the color.\n * @param {number} s The saturation value. (0, 100)\n * @return {Color} The modified Color object.\n */\nexport function setSaturation(s) {\n const [h, _, v] = rgb2hsv(this.r, this.g, this.b);\n const [r, g, b] = hsv2rgb(h, s, v);\n\n return new Color(r, g, b, this.a);\n};\n","import { colors, hexLookup } from './../color-names.js';\nimport { toHex } from './../helpers.js';\nimport { rgb2hsl, rgba2hex } from './../conversions.js';\nimport { fromHexString } from './../static/create.js';\nimport { dist } from './../static/utility.js';\n\n/**\n * Get the closest color name for the color.\n * @return {string} The name.\n */\nexport function label() {\n let closest;\n let closestDistance = Number.MAX_SAFE_INTEGER;\n\n for (const label in colors) {\n if (!{}.hasOwnProperty.call(colors, label)) {\n continue;\n }\n\n const color = fromHexString(colors[label]);\n const distance = dist(this, color);\n\n if (distance < closestDistance) {\n closest = label;\n closestDistance = distance;\n }\n }\n\n return closest;\n};\n\n/**\n * Return a hexadecimal string representation of the color.\n * @return {string} The hexadecimal string.\n */\nexport function toHexString() {\n const hex = rgba2hex(this.r, this.g, this.b, this.a);\n\n return toHex(hex);\n};\n\n/**\n * Return a HSL/HSLA string representation of the color.\n * @return {string} The HSL/HSLA string.\n */\nexport function toHSLString() {\n let [h, s, l] = rgb2hsl(this.r, this.g, this.b);\n\n h = Math.round(h);\n s = Math.round(s);\n l = Math.round(l);\n const a = Math.round(this.a * 100);\n\n if (a < 100) {\n return `hsl(${h}deg ${s}% ${l}% / ${a}%)`;\n }\n\n return `hsl(${h}deg ${s}% ${l}%)`;\n};\n\n/**\n * Return a RGB/RGBA string representation of the color.\n * @return {string} The RGB/RGBA string.\n */\nexport function toRGBString() {\n const r = Math.round(this.r);\n const g = Math.round(this.g);\n const b = Math.round(this.b);\n const a = Math.round(this.a * 100);\n\n if (a < 100) {\n return `rgb(${r} ${g} ${b} / ${a}%)`;\n }\n\n return `rgb(${r} ${g} ${b})`;\n};\n\n/**\n * Return a HTML string representation of the color.\n * @return {string} The HTML color string.\n */\nexport function toString() {\n if (!this.a) {\n return 'transparent';\n }\n\n if (this.a < 1) {\n return this.toRGBString();\n }\n\n const hex = rgba2hex(this.r, this.g, this.b, this.a);\n\n if (hex in hexLookup) {\n return hexLookup[hex];\n }\n\n return toHex(hex);\n};\n","/**\n * Color Palette\n */\n\n/**\n * Create a palette object with a specified number of shades, tints and tone variations.\n * @param {object} [options] The options for generating a palette.\n * @param {number} [options.shades=10] The number of shades to generate.\n * @param {number} [options.tints=10] The number of tints to generate.\n * @param {number} [options.tones=10] The number of tones to generate.\n * @return {object} A palette object.\n */\nexport function palette({ shades = 10, tints = 10, tones = 10 } = {}) {\n return {\n shades: this.shades(shades),\n tints: this.tints(tints),\n tones: this.tones(tones),\n };\n};\n\n/**\n * Create an array with a specified number of shade variations.\n * @param {number} [shades=10] The number of shades to generate.\n * @return {Color[]} An array containing shade variations.\n */\nexport function shades(shades = 10) {\n return new Array(shades)\n .fill()\n .map(\n (_, index) => this.shade(index / (shades + 1)),\n );\n};\n\n/**\n * Create an array with a specified number of tint variations.\n * @param {number} [tints=10] The number of tints to generate.\n * @return {Color[]} An array containing tint variations.\n */\nexport function tints(tints = 10) {\n return new Array(tints)\n .fill()\n .map(\n (_, index) => this.tint(index / (tints + 1)),\n );\n};\n\n/**\n * Create an array with a specified number of tone variations.\n * @param {number} [tones=10] The number of tones to generate.\n * @return {Color[]} An array containing tone variations.\n */\nexport function tones(tones = 10) {\n return new Array(tones)\n .fill()\n .map(\n (_, index) => this.tone(index / (tones + 1)),\n );\n};\n"],"mappings":"sOAWO,MAAMA,EAAQ,CAACC,EAAKC,EAAM,EAAGC,EAAM,MAC/BC,KAAKD,IACRD,EACAE,KAAKF,IAAIC,EAAKF,IAWTI,EAAO,CAACC,EAAGC,EAAGC,IAEhBC,EADOH,GAAK,EAAIE,GAAUD,EAAIC,GAU5BC,EAAQ,CAACC,EAAKC,EAAY,IAC5BC,WAAWA,WAAWF,GAAKG,QAAQF,IAQjCG,EAASC,GACC,IAAfA,EAAIC,QACJD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EHxBA4P,EAAMpO,SG8BC,WACH,IAAKV,KAAKf,EACN,MAAO,cAGX,GAAIe,KAAKf,EAAI,EACT,OAAOe,KAAK6R,cAGhB,MAAMnS,EAAMgM,EAAS1L,KAAKF,EAAGE,KAAKD,EAAGC,KAAKd,EAAGc,KAAKf,GAElD,OAAIS,KAAOsK,EACAA,EAAUtK,GAGdD,EAAMC,EACjB,EH7CAoP,EAAMgD,KDsBC,SAAc3S,GACjB,OAAO0O,EAAI7N,KAAMkE,EAAM/E,EAC3B,ECvBA2P,EAAM6B,MIFC,SAAeA,EAAQ,IAC1B,OAAO,IAAIO,MAAMP,GACZQ,OACA/G,KACG,CAAC0G,EAAGM,IAAUpR,KAAK8R,KAAKV,GAAST,EAAQ,KAErD,EJHA7B,EAAMiD,QCeC,WACH,MAAOnH,EAAGC,EAAGG,GAAKS,EAAQzL,KAAKF,EAAGE,KAAKD,EAAGC,KAAKd,IACxC+P,EAAIC,EAAIC,GAAMpE,EAAQH,EAAI,IAAKC,EAAGG,IAClCoE,EAAIC,EAAIC,GAAMvE,EAAQH,EAAI,IAAKC,EAAGG,GAEzC,MAAO,CACH,IAAIpL,EAAMqP,EAAIC,EAAIC,EAAInP,KAAKf,GAC3B,IAAIW,EAAMwP,EAAIC,EAAIC,EAAItP,KAAKf,GAEnC,E","ignoreList":[]} \ No newline at end of file diff --git a/eslint.config.js b/eslint.config.js index 9f5e29f..850a670 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -1,5 +1,5 @@ -import frostConfig from '@fr0st/eslint-config'; - -export default [ - frostConfig -]; +import frostConfig from '@fr0st/eslint-config'; + +export default [ + frostConfig, +]; diff --git a/package-lock.json b/package-lock.json index 7eff18f..537afa6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,35 +1,27 @@ { "name": "@fr0st/color", - "version": "4.1.5", + "version": "4.1.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@fr0st/color", - "version": "4.1.5", + "version": "4.1.6", "license": "MIT", "devDependencies": { - "@fr0st/eslint-config": "^1.0.0", + "@fr0st/eslint-config": "^1.0.2", "eslint": "^9.5.0", "mocha": "^10.4.0", "rollup": "^4.18.0", "terser": "^5.31.1" } }, - "node_modules/@aashutoshrathi/word-wrap": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz", - "integrity": "sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/@eslint-community/eslint-utils": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==", "dev": true, + "license": "MIT", "dependencies": { "eslint-visitor-keys": "^3.3.0" }, @@ -40,11 +32,25 @@ "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" } }, + "node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, "node_modules/@eslint-community/regexpp": { - "version": "4.10.0", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.10.0.tgz", - "integrity": "sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA==", + "version": "4.10.1", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.10.1.tgz", + "integrity": "sha512-Zm2NGpWELsQAD1xsJzGQpYfvICSsFkEpU0jxBjfdC6uNEWXcHnfs9hScFWtXVDVl+rBQJGrl4g1vcKIejpH9dA==", "dev": true, + "license": "MIT", "engines": { "node": "^12.0.0 || ^14.0.0 || >=16.0.0" } @@ -109,17 +115,21 @@ } }, "node_modules/@fr0st/eslint-config": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@fr0st/eslint-config/-/eslint-config-1.0.0.tgz", - "integrity": "sha512-2vwH2R6WZY5puAMXafZgLOypoTWIsRiwp+0wRqTnEYHT/KlOS9wTYXQNm5PQEh1G2P+YVo160zzNizLlG/RRZw==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@fr0st/eslint-config/-/eslint-config-1.0.2.tgz", + "integrity": "sha512-N2Vk4atJMmG0P7dkJdeeSsAiUAUM/8NNBCiDD2ZNkR7MbyHWYQRyZ3ElWoFQ4ryHpuo/R4uMCnkzcF+FrW1mXA==", "dev": true, - "license": "MIT" + "license": "MIT", + "dependencies": { + "eslint": "^9.5.0" + } }, "node_modules/@humanwhocodes/module-importer": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", "dev": true, + "license": "Apache-2.0", "engines": { "node": ">=12.22" }, @@ -143,58 +153,64 @@ } }, "node_modules/@jridgewell/gen-mapping": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", - "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==", + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz", + "integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==", "dev": true, + "license": "MIT", "dependencies": { - "@jridgewell/set-array": "^1.0.1", + "@jridgewell/set-array": "^1.2.1", "@jridgewell/sourcemap-codec": "^1.4.10", - "@jridgewell/trace-mapping": "^0.3.9" + "@jridgewell/trace-mapping": "^0.3.24" }, "engines": { "node": ">=6.0.0" } }, "node_modules/@jridgewell/resolve-uri": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz", - "integrity": "sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", "dev": true, + "license": "MIT", "engines": { "node": ">=6.0.0" } }, "node_modules/@jridgewell/set-array": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz", - "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz", + "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==", "dev": true, + "license": "MIT", "engines": { "node": ">=6.0.0" } }, "node_modules/@jridgewell/source-map": { - "version": "0.3.5", - "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.5.tgz", - "integrity": "sha512-UTYAUj/wviwdsMfzoSJspJxbkH5o1snzwX0//0ENX1u/55kkZZkcTZP6u9bwKGkv+dkk9at4m1Cpt0uY80kcpQ==", + "version": "0.3.6", + "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.6.tgz", + "integrity": "sha512-1ZJTZebgqllO79ue2bm3rIGud/bOe0pP5BjSRCRxxYkEZS8STV7zN84UBbiYu7jy+eCKSnVIUgoWWE/tt+shMQ==", "dev": true, + "license": "MIT", "dependencies": { - "@jridgewell/gen-mapping": "^0.3.0", - "@jridgewell/trace-mapping": "^0.3.9" + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.25" } }, "node_modules/@jridgewell/sourcemap-codec": { "version": "1.4.15", "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.20", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.20.tgz", - "integrity": "sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==", + "version": "0.3.25", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz", + "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==", "dev": true, + "license": "MIT", "dependencies": { "@jridgewell/resolve-uri": "^3.1.0", "@jridgewell/sourcemap-codec": "^1.4.14" @@ -205,6 +221,7 @@ "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", "dev": true, + "license": "MIT", "dependencies": { "@nodelib/fs.stat": "2.0.5", "run-parallel": "^1.1.9" @@ -218,6 +235,7 @@ "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", "dev": true, + "license": "MIT", "engines": { "node": ">= 8" } @@ -227,6 +245,7 @@ "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", "dev": true, + "license": "MIT", "dependencies": { "@nodelib/fs.scandir": "2.1.5", "fastq": "^1.6.0" @@ -511,6 +530,7 @@ "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } @@ -520,6 +540,7 @@ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -529,6 +550,7 @@ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -544,6 +566,7 @@ "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", "dev": true, + "license": "ISC", "dependencies": { "normalize-path": "^3.0.0", "picomatch": "^2.0.4" @@ -556,21 +579,27 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", - "dev": true + "dev": true, + "license": "Python-2.0" }, "node_modules/balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/binary-extensions": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", - "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz", + "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/brace-expansion": { @@ -578,18 +607,20 @@ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "dev": true, + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" } }, "node_modules/braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", "dev": true, + "license": "MIT", "dependencies": { - "fill-range": "^7.0.1" + "fill-range": "^7.1.1" }, "engines": { "node": ">=8" @@ -599,13 +630,15 @@ "version": "1.3.1", "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz", "integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/buffer-from": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/callsites": { "version": "3.1.0", @@ -622,6 +655,7 @@ "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" }, @@ -634,6 +668,7 @@ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -656,6 +691,7 @@ "url": "https://paulmillr.com/funding/" } ], + "license": "MIT", "dependencies": { "anymatch": "~3.1.2", "braces": "~3.0.2", @@ -677,6 +713,7 @@ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", "dev": true, + "license": "ISC", "dependencies": { "is-glob": "^4.0.1" }, @@ -689,6 +726,7 @@ "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", "dev": true, + "license": "ISC", "dependencies": { "string-width": "^4.2.0", "strip-ansi": "^6.0.0", @@ -700,6 +738,7 @@ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, + "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -711,25 +750,29 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/commander": { "version": "2.20.3", "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/cross-spawn": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", "dev": true, + "license": "MIT", "dependencies": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", @@ -740,10 +783,11 @@ } }, "node_modules/debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.5.tgz", + "integrity": "sha512-pt0bNEmneDIvdL1Xsd9oDQ/wrQRkXDT4AUWlNZNPKvW5x/jyO9VFXkJUP07vQ2upmw5PlaITaPKc31jK13V+jg==", "dev": true, + "license": "MIT", "dependencies": { "ms": "2.1.2" }, @@ -761,6 +805,7 @@ "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-4.0.0.tgz", "integrity": "sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" }, @@ -772,13 +817,15 @@ "version": "0.1.4", "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/diff": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/diff/-/diff-5.0.0.tgz", "integrity": "sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w==", "dev": true, + "license": "BSD-3-Clause", "engines": { "node": ">=0.3.1" } @@ -787,13 +834,15 @@ "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/escalade": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz", + "integrity": "sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } @@ -803,6 +852,7 @@ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" }, @@ -880,18 +930,6 @@ } }, "node_modules/eslint-visitor-keys": { - "version": "3.4.3", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", - "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", - "dev": true, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, - "node_modules/eslint/node_modules/eslint-visitor-keys": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.0.0.tgz", "integrity": "sha512-OtIRv/2GyiF6o/d8K7MYKKbXrOUBIK6SfkIRM4Z0dY3w+LiQ0vy3F57m0Z71bjbyeiWFiHJ8brqnmE6H6/jEuw==", @@ -922,24 +960,12 @@ "url": "https://opencollective.com/eslint" } }, - "node_modules/espree/node_modules/eslint-visitor-keys": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.0.0.tgz", - "integrity": "sha512-OtIRv/2GyiF6o/d8K7MYKKbXrOUBIK6SfkIRM4Z0dY3w+LiQ0vy3F57m0Z71bjbyeiWFiHJ8brqnmE6H6/jEuw==", - "dev": true, - "license": "Apache-2.0", - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, "node_modules/esquery": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz", "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "estraverse": "^5.1.0" }, @@ -965,6 +991,7 @@ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", "dev": true, + "license": "BSD-2-Clause", "engines": { "node": ">=4.0" } @@ -997,13 +1024,15 @@ "version": "2.0.6", "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/fastq": { - "version": "1.15.0", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz", - "integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==", + "version": "1.17.1", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz", + "integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==", "dev": true, + "license": "ISC", "dependencies": { "reusify": "^1.0.4" } @@ -1022,10 +1051,11 @@ } }, "node_modules/fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", "dev": true, + "license": "MIT", "dependencies": { "to-regex-range": "^5.0.1" }, @@ -1038,6 +1068,7 @@ "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", "dev": true, + "license": "MIT", "dependencies": { "locate-path": "^6.0.0", "path-exists": "^4.0.0" @@ -1054,6 +1085,7 @@ "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", "dev": true, + "license": "BSD-3-Clause", "bin": { "flat": "cli.js" } @@ -1092,6 +1124,7 @@ "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", "dev": true, "hasInstallScript": true, + "license": "MIT", "optional": true, "os": [ "darwin" @@ -1105,6 +1138,7 @@ "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", "dev": true, + "license": "ISC", "engines": { "node": "6.* || 8.* || >= 10.*" } @@ -1135,6 +1169,7 @@ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", "dev": true, + "license": "ISC", "dependencies": { "is-glob": "^4.0.3" }, @@ -1183,6 +1218,7 @@ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -1192,6 +1228,7 @@ "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", "dev": true, + "license": "MIT", "bin": { "he": "bin/he" } @@ -1228,6 +1265,7 @@ "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.8.19" } @@ -1256,6 +1294,7 @@ "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", "dev": true, + "license": "MIT", "dependencies": { "binary-extensions": "^2.0.0" }, @@ -1268,6 +1307,7 @@ "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } @@ -1277,6 +1317,7 @@ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -1286,6 +1327,7 @@ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", "dev": true, + "license": "MIT", "dependencies": { "is-extglob": "^2.1.1" }, @@ -1298,6 +1340,7 @@ "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.12.0" } @@ -1307,6 +1350,7 @@ "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -1316,6 +1360,7 @@ "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -1325,6 +1370,7 @@ "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" }, @@ -1336,13 +1382,15 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/js-yaml": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", "dev": true, + "license": "MIT", "dependencies": { "argparse": "^2.0.1" }, @@ -1368,7 +1416,8 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/keyv": { "version": "4.5.4", @@ -1385,6 +1434,7 @@ "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", "dev": true, + "license": "MIT", "dependencies": { "prelude-ls": "^1.2.1", "type-check": "~0.4.0" @@ -1398,6 +1448,7 @@ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", "dev": true, + "license": "MIT", "dependencies": { "p-locate": "^5.0.0" }, @@ -1412,13 +1463,15 @@ "version": "4.6.2", "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/log-symbols": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", "dev": true, + "license": "MIT", "dependencies": { "chalk": "^4.1.0", "is-unicode-supported": "^0.1.0" @@ -1435,6 +1488,7 @@ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "dev": true, + "license": "ISC", "dependencies": { "brace-expansion": "^1.1.7" }, @@ -1483,15 +1537,42 @@ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "dev": true, + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0" } }, + "node_modules/mocha/node_modules/debug": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/mocha/node_modules/debug/node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true, + "license": "MIT" + }, "node_modules/mocha/node_modules/minimatch": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.0.1.tgz", "integrity": "sha512-nLDxIFRyhDblz3qMuq+SoRZED4+miJ/G+tdDrjkkkRnjAsBexeGpgjLEQ0blJy7rHhR2b93rhQY4SvyWu9v03g==", "dev": true, + "license": "ISC", "dependencies": { "brace-expansion": "^2.0.1" }, @@ -1503,13 +1584,15 @@ "version": "2.1.3", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/mocha/node_modules/supports-color": { "version": "8.1.1", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -1524,19 +1607,22 @@ "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/natural-compare": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/normalize-path": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } @@ -1552,17 +1638,18 @@ } }, "node_modules/optionator": { - "version": "0.9.3", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz", - "integrity": "sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==", + "version": "0.9.4", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz", + "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==", "dev": true, + "license": "MIT", "dependencies": { - "@aashutoshrathi/word-wrap": "^1.2.3", "deep-is": "^0.1.3", "fast-levenshtein": "^2.0.6", "levn": "^0.4.1", "prelude-ls": "^1.2.1", - "type-check": "^0.4.0" + "type-check": "^0.4.0", + "word-wrap": "^1.2.5" }, "engines": { "node": ">= 0.8.0" @@ -1573,6 +1660,7 @@ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", "dev": true, + "license": "MIT", "dependencies": { "yocto-queue": "^0.1.0" }, @@ -1588,6 +1676,7 @@ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", "dev": true, + "license": "MIT", "dependencies": { "p-limit": "^3.0.2" }, @@ -1616,6 +1705,7 @@ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -1625,6 +1715,7 @@ "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -1634,6 +1725,7 @@ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", "dev": true, + "license": "MIT", "engines": { "node": ">=8.6" }, @@ -1646,6 +1738,7 @@ "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.8.0" } @@ -1678,13 +1771,15 @@ "type": "consulting", "url": "https://feross.org/support" } - ] + ], + "license": "MIT" }, "node_modules/randombytes": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", "dev": true, + "license": "MIT", "dependencies": { "safe-buffer": "^5.1.0" } @@ -1694,6 +1789,7 @@ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", "dev": true, + "license": "MIT", "dependencies": { "picomatch": "^2.2.1" }, @@ -1706,6 +1802,7 @@ "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } @@ -1725,6 +1822,7 @@ "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", "dev": true, + "license": "MIT", "engines": { "iojs": ">=1.0.0", "node": ">=0.10.0" @@ -1785,6 +1883,7 @@ "url": "https://feross.org/support" } ], + "license": "MIT", "dependencies": { "queue-microtask": "^1.2.2" } @@ -1807,13 +1906,15 @@ "type": "consulting", "url": "https://feross.org/support" } - ] + ], + "license": "MIT" }, "node_modules/serialize-javascript": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz", "integrity": "sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "randombytes": "^2.1.0" } @@ -1823,6 +1924,7 @@ "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", "dev": true, + "license": "MIT", "dependencies": { "shebang-regex": "^3.0.0" }, @@ -1835,6 +1937,7 @@ "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -1844,6 +1947,7 @@ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", "dev": true, + "license": "BSD-3-Clause", "engines": { "node": ">=0.10.0" } @@ -1853,6 +1957,7 @@ "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", "dev": true, + "license": "MIT", "dependencies": { "buffer-from": "^1.0.0", "source-map": "^0.6.0" @@ -1863,6 +1968,7 @@ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", "dev": true, + "license": "MIT", "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", @@ -1877,6 +1983,7 @@ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", "dev": true, + "license": "MIT", "dependencies": { "ansi-regex": "^5.0.1" }, @@ -1889,6 +1996,7 @@ "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" }, @@ -1901,6 +2009,7 @@ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -1931,13 +2040,15 @@ "version": "0.2.0", "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/to-regex-range": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", "dev": true, + "license": "MIT", "dependencies": { "is-number": "^7.0.0" }, @@ -1950,6 +2061,7 @@ "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", "dev": true, + "license": "MIT", "dependencies": { "prelude-ls": "^1.2.1" }, @@ -1972,6 +2084,7 @@ "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", "dev": true, + "license": "ISC", "dependencies": { "isexe": "^2.0.0" }, @@ -1982,17 +2095,29 @@ "node": ">= 8" } }, + "node_modules/word-wrap": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", + "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/workerpool": { "version": "6.2.1", "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.2.1.tgz", "integrity": "sha512-ILEIE97kDZvF9Wb9f6h5aXK4swSlKGUcOEGiIYb2OOu/IrDU9iwj0fD//SsA6E5ibwJxpEvhullJY4Sl4GcpAw==", - "dev": true + "dev": true, + "license": "Apache-2.0" }, "node_modules/wrap-ansi": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", @@ -2017,6 +2142,7 @@ "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", "dev": true, + "license": "ISC", "engines": { "node": ">=10" } @@ -2026,6 +2152,7 @@ "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", "dev": true, + "license": "MIT", "dependencies": { "cliui": "^7.0.2", "escalade": "^3.1.1", @@ -2044,6 +2171,7 @@ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz", "integrity": "sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==", "dev": true, + "license": "ISC", "engines": { "node": ">=10" } @@ -2053,6 +2181,7 @@ "resolved": "https://registry.npmjs.org/yargs-unparser/-/yargs-unparser-2.0.0.tgz", "integrity": "sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA==", "dev": true, + "license": "MIT", "dependencies": { "camelcase": "^6.0.0", "decamelize": "^4.0.0", @@ -2068,6 +2197,7 @@ "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" }, diff --git a/package.json b/package.json index e897a7b..7662e25 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@fr0st/color", - "version": "4.1.5", + "version": "4.1.6", "description": "FrostColor is a free, open-source color manipulation library for JavaScript.", "keywords": [ "color", @@ -40,7 +40,7 @@ "license": "MIT", "private": false, "devDependencies": { - "@fr0st/eslint-config": "^1.0.0", + "@fr0st/eslint-config": "^1.0.2", "eslint": "^9.5.0", "mocha": "^10.4.0", "rollup": "^4.18.0",