New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@dicebear/initials

Package Overview
Dependencies
Maintainers
1
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dicebear/initials - npm Package Compare versions

Comparing version 5.0.0-beta.9 to 5.0.0

lib/utils/initials.d.ts

6

lib/index.js

@@ -7,3 +7,3 @@ /*!

*/
import initials from 'initials';
import { getInitials } from './utils/initials.js';
export const meta = {

@@ -23,5 +23,3 @@ title: 'Initials',

const fontWeight = (_d = options.fontWeight) !== null && _d !== void 0 ? _d : 400;
const seedInitials = initials(prng.seed.trim())
.toLocaleUpperCase()
.slice(0, (_e = options.chars) !== null && _e !== void 0 ? _e : 2);
const seedInitials = getInitials(prng.seed.trim()).slice(0, (_e = options.chars) !== null && _e !== void 0 ? _e : 2);
// prettier-ignore

@@ -28,0 +26,0 @@ const svg = [

{
"name": "@dicebear/initials",
"version": "5.0.0-beta.9",
"version": "5.0.0",
"description": "Initials avatar style for DiceBear",

@@ -31,7 +31,4 @@ "keywords": [

},
"dependencies": {
"initials": "^3.1.2"
},
"devDependencies": {
"@dicebear/core": "^5.0.0-beta.9",
"@dicebear/core": "^5.0.0",
"@tsconfig/recommended": "^1.0.1",

@@ -43,3 +40,3 @@ "del-cli": "^4.0.1",

"peerDependencies": {
"@dicebear/core": "^5.0.0-alpha.6"
"@dicebear/core": "^5.0.0"
},

@@ -52,3 +49,3 @@ "engines": {

},
"gitHead": "52174b710e9af21e5681c32a69dc463a6200bb14"
"gitHead": "e8a60b4611b5738c7f46910f77b97ef1967f32dc"
}
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