@palett/util-fluo
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -157,11 +157,12 @@ 'use strict'; | ||
let blendDye; | ||
return valueLeap.dif && colorLeap.dif.some(n => !!n) ? (blendDye = BlendDye(valueLeap, colorLeap), colorant ? mapper(keys, (x, v) => isNumeric(v) ? blendDye(v) : primeDye) : zipper(keys, values, (x, v) => { | ||
const fn = valueLeap.dif && colorLeap.dif.some(n => !!n) ? (blendDye = BlendDye(valueLeap, colorLeap), colorant ? (x, v) => isNumeric(v) ? blendDye(v) : primeDye : (x, v) => { | ||
var _x, _x2; | ||
return isNumeric(v) ? (_x = x, blendDye(v)(_x)) : (_x2 = x, primeDye(_x2)); | ||
})) : (blendDye = (_colorLeap$min = colorLeap.min, hslToDye(_colorLeap$min)), colorant ? mapper(keys, (x, v) => isNumeric(v) ? blendDye : primeDye) : zipper(keys, values, (x, v) => { | ||
}) : (blendDye = (_colorLeap$min = colorLeap.min, hslToDye(_colorLeap$min)), colorant ? (x, v) => isNumeric(v) ? blendDye : primeDye : (x, v) => { | ||
var _x3, _x4; | ||
return isNumeric(v) ? (_x3 = x, blendDye(_x3)) : (_x4 = x, primeDye(_x4)); | ||
})); | ||
}); | ||
return zipper(keys, values, fn); | ||
}; | ||
@@ -168,0 +169,0 @@ |
@@ -153,11 +153,12 @@ import { Num, STRING } from 'typen'; | ||
let blendDye; | ||
return valueLeap.dif && colorLeap.dif.some(n => !!n) ? (blendDye = BlendDye(valueLeap, colorLeap), colorant ? mapper(keys, (x, v) => isNumeric(v) ? blendDye(v) : primeDye) : zipper(keys, values, (x, v) => { | ||
const fn = valueLeap.dif && colorLeap.dif.some(n => !!n) ? (blendDye = BlendDye(valueLeap, colorLeap), colorant ? (x, v) => isNumeric(v) ? blendDye(v) : primeDye : (x, v) => { | ||
var _x, _x2; | ||
return isNumeric(v) ? (_x = x, blendDye(v)(_x)) : (_x2 = x, primeDye(_x2)); | ||
})) : (blendDye = (_colorLeap$min = colorLeap.min, hslToDye(_colorLeap$min)), colorant ? mapper(keys, (x, v) => isNumeric(v) ? blendDye : primeDye) : zipper(keys, values, (x, v) => { | ||
}) : (blendDye = (_colorLeap$min = colorLeap.min, hslToDye(_colorLeap$min)), colorant ? (x, v) => isNumeric(v) ? blendDye : primeDye : (x, v) => { | ||
var _x3, _x4; | ||
return isNumeric(v) ? (_x3 = x, blendDye(_x3)) : (_x4 = x, primeDye(_x4)); | ||
})); | ||
}); | ||
return zipper(keys, values, fn); | ||
}; | ||
@@ -164,0 +165,0 @@ |
{ | ||
"name": "@palett/util-fluo", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "A colorant to string", | ||
@@ -19,4 +19,4 @@ "main": "dist/index.cjs.js", | ||
"dependencies": { | ||
"@palett/convert": "^0.0.6", | ||
"@palett/dye": "^0.0.6", | ||
"@palett/convert": "^0.0.7", | ||
"@palett/dye": "^0.0.7", | ||
"typen": "^0.1.9" | ||
@@ -42,3 +42,3 @@ }, | ||
"homepage": "https://github.com/hoyeungw/palett/util-fluo#readme", | ||
"gitHead": "7497057b2a2e6dd14fca73d42f5f3460839a0fec" | ||
"gitHead": "60faf8e71bf3819c60f1b8215167019b28e37084" | ||
} |
345
13359
+ Added@palett/convert@0.0.7(transitive)
+ Added@palett/dye@0.0.7(transitive)
+ Added@palett/util-ansi@0.0.7(transitive)
- Removed@palett/convert@0.0.6(transitive)
- Removed@palett/dye@0.0.6(transitive)
- Removed@palett/util-ansi@0.0.6(transitive)
Updated@palett/convert@^0.0.7
Updated@palett/dye@^0.0.7