@dicebear/micah
Advanced tools
Comparing version 4.6.0-rc.4 to 4.6.0
@@ -65,12 +65,16 @@ "use strict"; | ||
const facialHairColor = pickColor((_h = options.facialHairColor) !== null && _h !== void 0 ? _h : [], [baseColor]); | ||
const earringsPath = pickPath(paths.earrings, options.earrings); | ||
const glassesPath = pickPath(paths.glasses, options.glasses); | ||
const hairPath = pickPath(paths.hair, options.hair); | ||
const facialHairPath = pickPath(paths.facialHair, options.facialHair); | ||
const shirt = pickPath(paths.shirt, options.shirt); | ||
const earrings = prng.bool(options.earringsProbability) && pickPath(paths.earrings, options.earrings); | ||
const earrings = prng.bool(options.earringsProbability) && earringsPath; | ||
const ears = pickPath(paths.ears, options.ears); | ||
const nose = pickPath(paths.nose, options.nose); | ||
const glasses = prng.bool(options.glassesProbability) && pickPath(paths.glasses, options.glasses); | ||
const glasses = prng.bool(options.glassesProbability) && glassesPath; | ||
const eyes = pickPath(paths.eyes, options.eyes); | ||
const eyebrows = pickPath(paths.eyebrows, options.eyebrows); | ||
const mouth = pickPath(paths.mouth, options.mouth); | ||
const hair = prng.bool(options.hairProbability) && pickPath(paths.hair, options.hair); | ||
const facialHair = prng.bool(options.facialHairProbability) && pickPath(paths.facialHair, options.facialHair); | ||
const hair = prng.bool(options.hairProbability) && hairPath; | ||
const facialHair = prng.bool(options.facialHairProbability) && facialHairPath; | ||
const base = pickPath(paths.base, options.base); | ||
@@ -77,0 +81,0 @@ return { |
{ | ||
"name": "@dicebear/micah", | ||
"version": "4.6.0-rc.4", | ||
"version": "4.6.0", | ||
"description": "Micah avatar style for DiceBear Avatars", | ||
@@ -40,3 +40,3 @@ "keywords": [ | ||
"devDependencies": { | ||
"@dicebear/avatars": "^4.6.0-rc.4", | ||
"@dicebear/avatars": "^4.6.0", | ||
"@tsconfig/node12": "^1.0.7", | ||
@@ -59,3 +59,3 @@ "@types/jest": "^26.0.22", | ||
}, | ||
"gitHead": "977eb001fa6d661f4bdfe91bebf4e18493a19160" | ||
"gitHead": "bc4c0f965ea0e413276dce560b9072c15247acfb" | ||
} |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
50098
614
0