@kurkle/color 0.1.8 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/color.esm.js +26 -22
- package/dist/color.js +26 -22
- package/dist/color.min.js +2 -2
- package/package.json +5 -6
package/dist/color.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @kurkle/color v0.1.
|
|
2
|
+
* @kurkle/color v0.1.9
|
|
3
3
|
* https://github.com/kurkle/color#readme
|
|
4
4
|
* (c) 2020 Jukka Kurkela
|
|
5
5
|
* Released under the MIT License
|
|
@@ -206,7 +206,7 @@ function hslString(v) {
|
|
|
206
206
|
: `hsl(${h}, ${s}%, ${l}%)`;
|
|
207
207
|
}
|
|
208
208
|
|
|
209
|
-
|
|
209
|
+
const map$1 = {
|
|
210
210
|
x: 'dark',
|
|
211
211
|
Z: 'light',
|
|
212
212
|
Y: 're',
|
|
@@ -235,23 +235,7 @@ var map$1 = {
|
|
|
235
235
|
I: 'ightg',
|
|
236
236
|
J: 'wh'
|
|
237
237
|
};
|
|
238
|
-
|
|
239
|
-
var unpacked = {};
|
|
240
|
-
var keys = Object.keys(obj);
|
|
241
|
-
var tkeys = Object.keys(map$1);
|
|
242
|
-
var i, j, k, ok, nk;
|
|
243
|
-
for (i = 0; i < keys.length; i++) {
|
|
244
|
-
ok = nk = keys[i];
|
|
245
|
-
for (j = 0; j < tkeys.length; j++) {
|
|
246
|
-
k = tkeys[j];
|
|
247
|
-
nk = nk.replace(k, map$1[k]);
|
|
248
|
-
}
|
|
249
|
-
k = parseInt(obj[ok], 16);
|
|
250
|
-
unpacked[nk] = [k >> 16 & 0xFF, k >> 8 & 0xFF, k & 0xFF];
|
|
251
|
-
}
|
|
252
|
-
return unpacked;
|
|
253
|
-
}
|
|
254
|
-
const names = unpack({
|
|
238
|
+
const names = {
|
|
255
239
|
OiceXe: 'f0f8ff',
|
|
256
240
|
antiquewEte: 'faebd7',
|
|
257
241
|
aqua: 'ffff',
|
|
@@ -400,11 +384,31 @@ const names = unpack({
|
|
|
400
384
|
wEtesmoke: 'f5f5f5',
|
|
401
385
|
Lw: 'ffff00',
|
|
402
386
|
LwgYF: '9acd32'
|
|
403
|
-
}
|
|
387
|
+
};
|
|
388
|
+
function unpack() {
|
|
389
|
+
const unpacked = {};
|
|
390
|
+
const keys = Object.keys(names);
|
|
391
|
+
const tkeys = Object.keys(map$1);
|
|
392
|
+
let i, j, k, ok, nk;
|
|
393
|
+
for (i = 0; i < keys.length; i++) {
|
|
394
|
+
ok = nk = keys[i];
|
|
395
|
+
for (j = 0; j < tkeys.length; j++) {
|
|
396
|
+
k = tkeys[j];
|
|
397
|
+
nk = nk.replace(k, map$1[k]);
|
|
398
|
+
}
|
|
399
|
+
k = parseInt(names[ok], 16);
|
|
400
|
+
unpacked[nk] = [k >> 16 & 0xFF, k >> 8 & 0xFF, k & 0xFF];
|
|
401
|
+
}
|
|
402
|
+
return unpacked;
|
|
403
|
+
}
|
|
404
404
|
|
|
405
|
-
names
|
|
405
|
+
let names$1;
|
|
406
406
|
function nameParse(str) {
|
|
407
|
-
|
|
407
|
+
if (!names$1) {
|
|
408
|
+
names$1 = unpack();
|
|
409
|
+
names$1.transparent = [0, 0, 0, 0];
|
|
410
|
+
}
|
|
411
|
+
const a = names$1[str.toLowerCase()];
|
|
408
412
|
return a && {
|
|
409
413
|
r: a[0],
|
|
410
414
|
g: a[1],
|
package/dist/color.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @kurkle/color v0.1.
|
|
2
|
+
* @kurkle/color v0.1.9
|
|
3
3
|
* https://github.com/kurkle/color#readme
|
|
4
4
|
* (c) 2020 Jukka Kurkela
|
|
5
5
|
* Released under the MIT License
|
|
@@ -209,7 +209,7 @@ function hslString(v) {
|
|
|
209
209
|
: `hsl(${h}, ${s}%, ${l}%)`;
|
|
210
210
|
}
|
|
211
211
|
|
|
212
|
-
|
|
212
|
+
const map$1 = {
|
|
213
213
|
x: 'dark',
|
|
214
214
|
Z: 'light',
|
|
215
215
|
Y: 're',
|
|
@@ -238,23 +238,7 @@ var map$1 = {
|
|
|
238
238
|
I: 'ightg',
|
|
239
239
|
J: 'wh'
|
|
240
240
|
};
|
|
241
|
-
|
|
242
|
-
var unpacked = {};
|
|
243
|
-
var keys = Object.keys(obj);
|
|
244
|
-
var tkeys = Object.keys(map$1);
|
|
245
|
-
var i, j, k, ok, nk;
|
|
246
|
-
for (i = 0; i < keys.length; i++) {
|
|
247
|
-
ok = nk = keys[i];
|
|
248
|
-
for (j = 0; j < tkeys.length; j++) {
|
|
249
|
-
k = tkeys[j];
|
|
250
|
-
nk = nk.replace(k, map$1[k]);
|
|
251
|
-
}
|
|
252
|
-
k = parseInt(obj[ok], 16);
|
|
253
|
-
unpacked[nk] = [k >> 16 & 0xFF, k >> 8 & 0xFF, k & 0xFF];
|
|
254
|
-
}
|
|
255
|
-
return unpacked;
|
|
256
|
-
}
|
|
257
|
-
const names = unpack({
|
|
241
|
+
const names = {
|
|
258
242
|
OiceXe: 'f0f8ff',
|
|
259
243
|
antiquewEte: 'faebd7',
|
|
260
244
|
aqua: 'ffff',
|
|
@@ -403,11 +387,31 @@ const names = unpack({
|
|
|
403
387
|
wEtesmoke: 'f5f5f5',
|
|
404
388
|
Lw: 'ffff00',
|
|
405
389
|
LwgYF: '9acd32'
|
|
406
|
-
}
|
|
390
|
+
};
|
|
391
|
+
function unpack() {
|
|
392
|
+
const unpacked = {};
|
|
393
|
+
const keys = Object.keys(names);
|
|
394
|
+
const tkeys = Object.keys(map$1);
|
|
395
|
+
let i, j, k, ok, nk;
|
|
396
|
+
for (i = 0; i < keys.length; i++) {
|
|
397
|
+
ok = nk = keys[i];
|
|
398
|
+
for (j = 0; j < tkeys.length; j++) {
|
|
399
|
+
k = tkeys[j];
|
|
400
|
+
nk = nk.replace(k, map$1[k]);
|
|
401
|
+
}
|
|
402
|
+
k = parseInt(names[ok], 16);
|
|
403
|
+
unpacked[nk] = [k >> 16 & 0xFF, k >> 8 & 0xFF, k & 0xFF];
|
|
404
|
+
}
|
|
405
|
+
return unpacked;
|
|
406
|
+
}
|
|
407
407
|
|
|
408
|
-
names
|
|
408
|
+
let names$1;
|
|
409
409
|
function nameParse(str) {
|
|
410
|
-
|
|
410
|
+
if (!names$1) {
|
|
411
|
+
names$1 = unpack();
|
|
412
|
+
names$1.transparent = [0, 0, 0, 0];
|
|
413
|
+
}
|
|
414
|
+
const a = names$1[str.toLowerCase()];
|
|
411
415
|
return a && {
|
|
412
416
|
r: a[0],
|
|
413
417
|
g: a[1],
|
package/dist/color.min.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @kurkle/color v0.1.
|
|
2
|
+
* @kurkle/color v0.1.9
|
|
3
3
|
* https://github.com/kurkle/color#readme
|
|
4
4
|
* (c) 2020 Jukka Kurkela
|
|
5
5
|
* Released under the MIT License
|
|
6
6
|
*/
|
|
7
|
-
!function(e,f){"object"==typeof exports&&"undefined"!=typeof module?module.exports=f():"function"==typeof define&&define.amd?define(f):(e=e||self)["@kurkle/color"]=f()}(this,(function(){"use strict";const e={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},f="0123456789ABCDEF",t=e=>f[15&e],r=e=>f[(240&e)>>4]+f[15&e],a=e=>(240&e)>>4==(15&e);function n(e){var f=function(e){return a(e.r)&&a(e.g)&&a(e.b)&&a(e.a)}(e)?t:r;return e?"#"+f(e.r)+f(e.g)+f(e.b)+(e.a<255?f(e.a):""):e}function i(e){return e+.5|0}const s=(e,f,t)=>Math.max(Math.min(e,t),f);function c(e){return s(i(2.55*e),0,255)}function b(e){return s(i(255*e),0,255)}function d(e){return s(i(e/2.55)/100,0,1)}function g(e){return s(i(100*e),0,100)}const o=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;const u=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function h(e,f,t){const r=f*Math.min(t,1-t),a=(f,a=(f+e/30)%12)=>t-r*Math.max(Math.min(a-3,9-a,1),-1);return[a(0),a(8),a(4)]}function l(e,f,t){const r=(r,a=(r+e/60)%6)=>t-t*f*Math.max(Math.min(a,4-a,1),0);return[r(5),r(3),r(1)]}function m(e,f,t){const r=h(e,1,.5);let a;for(f+t>1&&(a=1/(f+t),f*=a,t*=a),a=0;a<3;a++)r[a]*=1-f-t,r[a]+=f;return r}function y(e){const f=e.r/255,t=e.g/255,r=e.b/255,a=Math.max(f,t,r),n=Math.min(f,t,r),i=(a+n)/2;let s,c,b;return a!==n&&(b=a-n,c=i>.5?b/(2-a-n):b/(a+n),s=a===f?(t-r)/b+(t<r?6:0):a===t?(r-f)/b+2:(f-t)/b+4,s=60*s+.5),[0|s,c||0,i]}function p(e,f,t,r){return(Array.isArray(f)?e(f[0],f[1],f[2]):e(f,t,r)).map(b)}function Y(e,f,t){return p(h,e,f,t)}function
|
|
7
|
+
!function(e,f){"object"==typeof exports&&"undefined"!=typeof module?module.exports=f():"function"==typeof define&&define.amd?define(f):(e=e||self)["@kurkle/color"]=f()}(this,(function(){"use strict";const e={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},f="0123456789ABCDEF",t=e=>f[15&e],r=e=>f[(240&e)>>4]+f[15&e],a=e=>(240&e)>>4==(15&e);function n(e){var f=function(e){return a(e.r)&&a(e.g)&&a(e.b)&&a(e.a)}(e)?t:r;return e?"#"+f(e.r)+f(e.g)+f(e.b)+(e.a<255?f(e.a):""):e}function i(e){return e+.5|0}const s=(e,f,t)=>Math.max(Math.min(e,t),f);function c(e){return s(i(2.55*e),0,255)}function b(e){return s(i(255*e),0,255)}function d(e){return s(i(e/2.55)/100,0,1)}function g(e){return s(i(100*e),0,100)}const o=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;const u=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function h(e,f,t){const r=f*Math.min(t,1-t),a=(f,a=(f+e/30)%12)=>t-r*Math.max(Math.min(a-3,9-a,1),-1);return[a(0),a(8),a(4)]}function l(e,f,t){const r=(r,a=(r+e/60)%6)=>t-t*f*Math.max(Math.min(a,4-a,1),0);return[r(5),r(3),r(1)]}function m(e,f,t){const r=h(e,1,.5);let a;for(f+t>1&&(a=1/(f+t),f*=a,t*=a),a=0;a<3;a++)r[a]*=1-f-t,r[a]+=f;return r}function y(e){const f=e.r/255,t=e.g/255,r=e.b/255,a=Math.max(f,t,r),n=Math.min(f,t,r),i=(a+n)/2;let s,c,b;return a!==n&&(b=a-n,c=i>.5?b/(2-a-n):b/(a+n),s=a===f?(t-r)/b+(t<r?6:0):a===t?(r-f)/b+2:(f-t)/b+4,s=60*s+.5),[0|s,c||0,i]}function p(e,f,t,r){return(Array.isArray(f)?e(f[0],f[1],f[2]):e(f,t,r)).map(b)}function Y(e,f,t){return p(h,e,f,t)}function x(e){return(e%360+360)%360}function v(e){const f=u.exec(e);let t,r=255;if(!f)return;f[5]!==t&&(r=f[6]?c(+f[5]):b(+f[5]));const a=x(+f[2]),n=+f[3]/100,i=+f[4]/100;return t="hwb"===f[1]?function(e,f,t){return p(m,e,f,t)}(a,n,i):"hsv"===f[1]?function(e,f,t){return p(l,e,f,t)}(a,n,i):Y(a,n,i),{r:t[0],g:t[1],b:t[2],a:r}}const w={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},F={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};let _;function k(e){_||(_=function(){const e={},f=Object.keys(F),t=Object.keys(w);let r,a,n,i,s;for(r=0;r<f.length;r++){for(i=s=f[r],a=0;a<t.length;a++)n=t[a],s=s.replace(n,w[n]);n=parseInt(F[i],16),e[s]=[n>>16&255,n>>8&255,255&n]}return e}(),_.transparent=[0,0,0,0]);const f=_[e.toLowerCase()];return f&&{r:f[0],g:f[1],b:f[2],a:4===f.length?f[3]:255}}function X(e,f,t){if(e){let r=y(e);r[f]=Math.max(0,Math.min(r[f]+r[f]*t,0===f?360:1)),r=Y(r),e.r=r[0],e.g=r[1],e.b=r[2]}}function M(e,f){return e?Object.assign(f||{},e):e}function O(e){var f={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(f={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(f.a=b(e[3]))):(f=M(e,{r:0,g:0,b:0,a:1})).a=b(f.a),f}function S(e){return"r"===e.charAt(0)?function(e){const f=o.exec(e);let t,r,a,n=255;if(f){if(f[7]!==t){const e=+f[7];n=255&(f[8]?c(e):255*e)}return t=+f[1],r=+f[3],a=+f[5],t=255&(f[2]?c(t):t),r=255&(f[4]?c(r):r),a=255&(f[6]?c(a):a),{r:t,g:r,b:a,a:n}}}(e):v(e)}class T{constructor(f){if(f instanceof T)return f;const t=typeof f;let r;var a,n,i;"object"===t?r=O(f):"string"===t&&(i=(a=f).length,"#"===a[0]&&(4===i||5===i?n={r:255&17*e[a[1]],g:255&17*e[a[2]],b:255&17*e[a[3]],a:5===i?17*e[a[4]]:255}:7!==i&&9!==i||(n={r:e[a[1]]<<4|e[a[2]],g:e[a[3]]<<4|e[a[4]],b:e[a[5]]<<4|e[a[6]],a:9===i?e[a[7]]<<4|e[a[8]]:255})),r=n||k(f)||S(f)),this._rgb=r,this._valid=!!r}get valid(){return this._valid}get rgb(){var e=M(this._rgb);return e&&(e.a=d(e.a)),e}set rgb(e){this._rgb=O(e)}rgbString(){return this._valid?(e=this._rgb)&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${d(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`):this._rgb;var e}hexString(){return this._valid?n(this._rgb):this._rgb}hslString(){return this._valid?function(e){if(!e)return;const f=y(e),t=f[0],r=g(f[1]),a=g(f[2]);return e.a<255?`hsla(${t}, ${r}%, ${a}%, ${d(e.a)})`:`hsl(${t}, ${r}%, ${a}%)`}(this._rgb):this._rgb}mix(e,f){const t=this;if(e){const r=t.rgb,a=e.rgb;let n;const i=f===n?.5:f,s=2*i-1,c=r.a-a.a,b=((s*c==-1?s:(s+c)/(1+s*c))+1)/2;n=1-b,r.r=255&b*r.r+n*a.r+.5,r.g=255&b*r.g+n*a.g+.5,r.b=255&b*r.b+n*a.b+.5,r.a=i*r.a+(1-i)*a.a,t.rgb=r}return t}clone(){return new T(this.rgb)}alpha(e){return this._rgb.a=b(e),this}clearer(e){return this._rgb.a*=1-e,this}greyscale(){const e=this._rgb,f=i(.3*e.r+.59*e.g+.11*e.b);return e.r=e.g=e.b=f,this}opaquer(e){return this._rgb.a*=1+e,this}negate(){const e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return X(this._rgb,2,e),this}darken(e){return X(this._rgb,2,-e),this}saturate(e){return X(this._rgb,1,e),this}desaturate(e){return X(this._rgb,1,-e),this}rotate(e){return function(e,f){var t=y(e);t[0]=x(t[0]+f),t=Y(t),e.r=t[0],e.g=t[1],e.b=t[2]}(this._rgb,e),this}}return function(e){return new T(e)}}));
|
|
8
8
|
//# sourceMappingURL=color.min.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kurkle/color",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.9",
|
|
4
4
|
"description": "css color parsing, manupulation and conversion",
|
|
5
5
|
"main": "dist/color.js",
|
|
6
6
|
"module": "dist/color.esm.js",
|
|
@@ -39,7 +39,6 @@
|
|
|
39
39
|
"dependencies": {},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"assert": "^2.0.0",
|
|
42
|
-
"babel-eslint": "^10.1.0",
|
|
43
42
|
"benchmark": "^2.1.4",
|
|
44
43
|
"chartjs-color": "^2.4.1",
|
|
45
44
|
"chartjs-color-string": "^0.6.0",
|
|
@@ -51,21 +50,21 @@
|
|
|
51
50
|
"color-parser": "^0.1.0",
|
|
52
51
|
"color-string": "^1.5.3",
|
|
53
52
|
"csscolorparser": "^1.0.3",
|
|
54
|
-
"eslint": "^7.
|
|
53
|
+
"eslint": "^7.2.0",
|
|
55
54
|
"eslint-config-chartjs": "^0.2.0",
|
|
56
55
|
"eslint-config-defaults": "^9.0.0",
|
|
57
|
-
"eslint-plugin-import": "^2.
|
|
56
|
+
"eslint-plugin-import": "^2.21.1",
|
|
58
57
|
"eslint-plugin-react": "^7.20.0",
|
|
59
58
|
"fs": "0.0.1-security",
|
|
60
59
|
"perf_hooks": "0.0.1",
|
|
61
|
-
"rollup": "^2.
|
|
60
|
+
"rollup": "^2.15.0",
|
|
62
61
|
"rollup-plugin-cleanup": "^3.1.1",
|
|
63
62
|
"rollup-plugin-istanbul": "^2.0.1",
|
|
64
63
|
"rollup-plugin-terser": "^6.1.0",
|
|
65
64
|
"rollup-plugin-visualizer": "^4.0.4",
|
|
66
65
|
"tinycolor2": "^1.4.1",
|
|
67
66
|
"typedoc": "^0.17.7",
|
|
68
|
-
"typedoc-plugin-external-module-name": "^4.0.
|
|
67
|
+
"typedoc-plugin-external-module-name": "^4.0.3",
|
|
69
68
|
"typescript": "^3.9.5",
|
|
70
69
|
"util": "^0.12.3"
|
|
71
70
|
}
|