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

@dicebear/avatars-bottts-sprites

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dicebear/avatars-bottts-sprites - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

0

lib/eyes/bulging.d.ts
declare const _default: () => string;
export default _default;

@@ -0,0 +0,0 @@ "use strict";

declare const _default: () => string;
export default _default;

@@ -0,0 +0,0 @@ "use strict";

declare const _default: () => string;
export default _default;

@@ -0,0 +0,0 @@ "use strict";

declare const _default: () => string;
export default _default;

@@ -0,0 +0,0 @@ "use strict";

declare const _default: () => string;
export default _default;

@@ -0,0 +0,0 @@ "use strict";

declare const _default: () => string;
export default _default;

@@ -0,0 +0,0 @@ "use strict";

declare const _default: () => string;
export default _default;

@@ -0,0 +0,0 @@ "use strict";

declare const _default: () => string;
export default _default;

@@ -0,0 +0,0 @@ "use strict";

declare const _default: () => string;
export default _default;

@@ -0,0 +0,0 @@ "use strict";

declare const _default: (() => string)[];
export default _default;

@@ -0,0 +0,0 @@ "use strict";

declare const _default: () => string;
export default _default;

@@ -0,0 +0,0 @@ "use strict";

declare const _default: () => string;
export default _default;

@@ -0,0 +0,0 @@ "use strict";

declare const _default: () => string;
export default _default;

@@ -0,0 +0,0 @@ "use strict";

declare const _default: () => string;
export default _default;

@@ -0,0 +0,0 @@ "use strict";

declare const _default: () => string;
export default _default;

@@ -0,0 +0,0 @@ "use strict";

declare const _default: ((color: import("@dicebear/avatars/lib/color").default, texture?: string) => string)[];
export default _default;

@@ -0,0 +0,0 @@ "use strict";

import Color from '@dicebear/avatars/lib/color';
declare const _default: (color: Color, texture?: string) => string;
export default _default;

@@ -0,0 +0,0 @@ "use strict";

import Color from '@dicebear/avatars/lib/color';
declare const _default: (color: Color, texture?: string) => string;
export default _default;

@@ -0,0 +0,0 @@ "use strict";

import Color from '@dicebear/avatars/lib/color';
declare const _default: (color: Color, texture?: string) => string;
export default _default;

@@ -0,0 +0,0 @@ "use strict";

import Color from '@dicebear/avatars/lib/color';
declare const _default: (color: Color, texture?: string) => string;
export default _default;

@@ -0,0 +0,0 @@ "use strict";

import Color from '@dicebear/avatars/lib/color';
declare const _default: (color: Color, texture?: string) => string;
export default _default;

@@ -0,0 +0,0 @@ "use strict";

import Color from '@dicebear/avatars/lib/color';
declare const _default: (color: Color, texture?: string) => string;
export default _default;

@@ -0,0 +0,0 @@ "use strict";

import Random from '@dicebear/avatars/lib/random';
import Options from './options';
export default function (options?: Options): (random: Random) => string;

5

lib/index.js

@@ -13,3 +13,2 @@ "use strict";

const top_1 = __importDefault(require("./top"));
const colors_1 = __importDefault(require("./colors"));
function default_1(options = {}) {

@@ -24,5 +23,5 @@ options = Object.assign({ primaryColorLevel: 600, secondaryColorLevel: 400, mouthChance: 100, sidesChance: 100, textureChance: 50, topChange: 100 }, options);

let colorsCollection = [];
Object.keys(colors_1.default).forEach((color) => {
Object.keys(color_1.default.collection).forEach((color) => {
if (options.colors === undefined || options.colors.length === 0 || options.colors.indexOf(color) !== -1) {
colorsCollection.push(colors_1.default[color]);
colorsCollection.push(color_1.default.collection[color]);
}

@@ -29,0 +28,0 @@ });

declare const _default: () => string;
export default _default;

@@ -0,0 +0,0 @@ "use strict";

declare const _default: () => string;
export default _default;

@@ -0,0 +0,0 @@ "use strict";

declare const _default: () => string;
export default _default;

@@ -0,0 +0,0 @@ "use strict";

declare const _default: () => string;
export default _default;

@@ -0,0 +0,0 @@ "use strict";

declare const _default: () => string;
export default _default;

@@ -0,0 +0,0 @@ "use strict";

declare const _default: (() => string)[];
export default _default;

@@ -0,0 +0,0 @@ "use strict";

declare const _default: () => string;
export default _default;

@@ -0,0 +0,0 @@ "use strict";

declare const _default: () => string;
export default _default;

@@ -0,0 +0,0 @@ "use strict";

declare const _default: () => string;
export default _default;

@@ -0,0 +0,0 @@ "use strict";

declare const _default: () => string;
export default _default;

@@ -0,0 +0,0 @@ "use strict";

@@ -1,6 +0,6 @@

export declare type Colors = 'amber' | 'blue' | 'blueGrey' | 'brown' | 'cyan' | 'deepOrange' | 'deepPurple' | 'agreenmber' | 'grey' | 'indigo' | 'lightBlue' | 'lightGreen' | 'lime' | 'orange' | 'pink' | 'purple' | 'red' | 'teal' | 'yellow';
import { ColorCollection, Color } from '@dicebear/avatars/lib/types';
declare type Options = {
colors?: Colors[];
primaryColorLevel?: 50 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;
secondaryColorLevel?: 50 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;
colors?: Array<keyof ColorCollection>;
primaryColorLevel?: keyof Color;
secondaryColorLevel?: keyof Color;
colorful?: boolean;

@@ -7,0 +7,0 @@ mouthChance?: number;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=options.js.map
import Color from '@dicebear/avatars/lib/color';
declare const _default: (color: Color) => string;
export default _default;

@@ -0,0 +0,0 @@ "use strict";

import Color from '@dicebear/avatars/lib/color';
declare const _default: (color: Color) => string;
export default _default;

@@ -0,0 +0,0 @@ "use strict";

import Color from '@dicebear/avatars/lib/color';
declare const _default: (color: Color) => string;
export default _default;

@@ -0,0 +0,0 @@ "use strict";

import Color from '@dicebear/avatars/lib/color';
declare const _default: (color: Color) => string;
export default _default;

@@ -0,0 +0,0 @@ "use strict";

declare const _default: ((color: import("@dicebear/avatars/lib/color").default) => string)[];
export default _default;

@@ -0,0 +0,0 @@ "use strict";

import Color from '@dicebear/avatars/lib/color';
declare const _default: (color: Color) => string;
export default _default;

@@ -0,0 +0,0 @@ "use strict";

import Color from '@dicebear/avatars/lib/color';
declare const _default: (color: Color) => string;
export default _default;

@@ -0,0 +0,0 @@ "use strict";

import Color from '@dicebear/avatars/lib/color';
declare const _default: (color: Color) => string;
export default _default;

@@ -0,0 +0,0 @@ "use strict";

declare const _default: () => string;
export default _default;

@@ -0,0 +0,0 @@ "use strict";

declare const _default: () => string;
export default _default;

@@ -0,0 +0,0 @@ "use strict";

declare const _default: () => string;
export default _default;

@@ -0,0 +0,0 @@ "use strict";

declare const _default: () => string;
export default _default;

@@ -0,0 +0,0 @@ "use strict";

declare const _default: () => string;
export default _default;

@@ -0,0 +0,0 @@ "use strict";

declare const _default: (() => string)[];
export default _default;

@@ -0,0 +0,0 @@ "use strict";

import Color from '@dicebear/avatars/lib/color';
declare const _default: (color: Color) => string;
export default _default;

@@ -0,0 +0,0 @@ "use strict";

import Color from '@dicebear/avatars/lib/color';
declare const _default: (color: Color) => string;
export default _default;

@@ -0,0 +0,0 @@ "use strict";

import Color from '@dicebear/avatars/lib/color';
declare const _default: (color: Color) => string;
export default _default;

@@ -0,0 +0,0 @@ "use strict";

import Color from '@dicebear/avatars/lib/color';
declare const _default: (color: Color) => string;
export default _default;

@@ -0,0 +0,0 @@ "use strict";

import Color from '@dicebear/avatars/lib/color';
declare const _default: (color: Color) => string;
export default _default;

@@ -0,0 +0,0 @@ "use strict";

import Color from '@dicebear/avatars/lib/color';
declare const _default: (color: Color) => string;
export default _default;

@@ -0,0 +0,0 @@ "use strict";

import Color from '@dicebear/avatars/lib/color';
declare const _default: (color: Color) => string;
export default _default;

@@ -0,0 +0,0 @@ "use strict";

declare const _default: ((color: import("@dicebear/avatars/lib/color").default) => string)[];
export default _default;

@@ -0,0 +0,0 @@ "use strict";

import Color from '@dicebear/avatars/lib/color';
declare const _default: (color: Color) => string;
export default _default;

@@ -0,0 +0,0 @@ "use strict";

import Color from '@dicebear/avatars/lib/color';
declare const _default: (color: Color) => string;
export default _default;

@@ -0,0 +0,0 @@ "use strict";

import Color from '@dicebear/avatars/lib/color';
declare const _default: (color: Color) => string;
export default _default;

@@ -0,0 +0,0 @@ "use strict";

{
"name": "@dicebear/avatars-bottts-sprites",
"version": "1.0.0",
"version": "1.1.0",
"description": "Bottts sprite collection for DiceBear Avatars",

@@ -31,6 +31,6 @@ "main": "lib/index.js",

"peerDependencies": {
"@dicebear/avatars": "^3.0.6"
"@dicebear/avatars": "^3.1.0"
},
"devDependencies": {
"@dicebear/avatars": "^3.0.7",
"@dicebear/avatars": "^3.1.0",
"typescript": "^3.4.5"

@@ -41,4 +41,3 @@ },

"lib"
],
"gitHead": "188da14611dc642689712b191c214dbc17b47089"
]
}

@@ -39,2 +39,7 @@ ![DiceBear Avatars - Bottts Sprite Collection](https://raw.githubusercontent.com/DiceBear/avatars/master/packages/avatars-bottts-sprites/banner.svg?sanitize=true)

You also can use the HTTP API as fallback for Gravatar. Use the [Gravatar hash](https://en.gravatar.com/site/implement/hash/) as seed
and add the parameter `gravatar` to your URL. With the parameter `s` you can also define the size of the Gravatar avatar.
https://avatars.dicebear.com/v2/bottts/48c424d839214264fc7f65b52235467c.svg?gravatar&s=248
### NPM

@@ -41,0 +46,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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