Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@dicebear/micah

Package Overview
Dependencies
Maintainers
2
Versions
156
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dicebear/micah - npm Package Compare versions

Comparing version 4.6.0-rc.4 to 4.6.0

12

lib/core.js

@@ -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"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc