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

@rmwc/avatar

Package Overview
Dependencies
Maintainers
1
Versions
124
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rmwc/avatar - npm Package Compare versions

Comparing version 5.6.0 to 5.7.0

16

dist/generated-props.json

@@ -195,3 +195,3 @@ {

"name": "AvatarGroupProps",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/master/src/avatar/index.tsx#L77",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/master/src/avatar/index.tsx#L79",
"methods": [],

@@ -220,3 +220,3 @@ "properties": [

"name": "dense",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/master/src/avatar/index.tsx#L79",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/master/src/avatar/index.tsx#L81",
"type": "undefined | false | true"

@@ -247,3 +247,3 @@ }

"name": "AvatarCountProps",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/master/src/avatar/index.tsx#L137",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/master/src/avatar/index.tsx#L139",
"methods": [],

@@ -272,3 +272,3 @@ "properties": [

"name": "interactive",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/master/src/avatar/index.tsx#L147",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/master/src/avatar/index.tsx#L149",
"type": "undefined | false | true"

@@ -297,3 +297,3 @@ },

"name": "overflow",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/master/src/avatar/index.tsx#L141",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/master/src/avatar/index.tsx#L143",
"type": "undefined | false | true"

@@ -322,3 +322,3 @@ },

"name": "size",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/master/src/avatar/index.tsx#L143",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/master/src/avatar/index.tsx#L145",
"type": "RMWC.IconSizeT"

@@ -347,3 +347,3 @@ },

"name": "square",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/master/src/avatar/index.tsx#L145",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/master/src/avatar/index.tsx#L147",
"type": "undefined | false | true"

@@ -372,3 +372,3 @@ },

"name": "value",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/master/src/avatar/index.tsx#L139",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/master/src/avatar/index.tsx#L141",
"type": "number"

@@ -375,0 +375,0 @@ }

@@ -18,4 +18,6 @@ "use strict";

if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)
t[p[i]] = s[p[i]];
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
t[p[i]] = s[p[i]];
}
return t;

@@ -36,8 +38,9 @@ };

var getInitialsForName = function (name) {
if (name === void 0) { name = ''; }
if (name) {
var parts = name.split(' ');
/* istanbul ignore next */
var letters = (parts[0] || '')[0];
if (parts.length > 1) {
var part = parts.pop();
/* istanbul ignore next */
if (part) {

@@ -44,0 +47,0 @@ letters += part[0];

@@ -195,3 +195,3 @@ {

"name": "AvatarGroupProps",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/master/src/avatar/index.tsx#L77",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/master/src/avatar/index.tsx#L79",
"methods": [],

@@ -220,3 +220,3 @@ "properties": [

"name": "dense",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/master/src/avatar/index.tsx#L79",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/master/src/avatar/index.tsx#L81",
"type": "undefined | false | true"

@@ -247,3 +247,3 @@ }

"name": "AvatarCountProps",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/master/src/avatar/index.tsx#L137",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/master/src/avatar/index.tsx#L139",
"methods": [],

@@ -272,3 +272,3 @@ "properties": [

"name": "interactive",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/master/src/avatar/index.tsx#L147",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/master/src/avatar/index.tsx#L149",
"type": "undefined | false | true"

@@ -297,3 +297,3 @@ },

"name": "overflow",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/master/src/avatar/index.tsx#L141",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/master/src/avatar/index.tsx#L143",
"type": "undefined | false | true"

@@ -322,3 +322,3 @@ },

"name": "size",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/master/src/avatar/index.tsx#L143",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/master/src/avatar/index.tsx#L145",
"type": "RMWC.IconSizeT"

@@ -347,3 +347,3 @@ },

"name": "square",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/master/src/avatar/index.tsx#L145",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/master/src/avatar/index.tsx#L147",
"type": "undefined | false | true"

@@ -372,3 +372,3 @@ },

"name": "value",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/master/src/avatar/index.tsx#L139",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/master/src/avatar/index.tsx#L141",
"type": "number"

@@ -375,0 +375,0 @@ }

@@ -195,3 +195,3 @@ {

"name": "AvatarGroupProps",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/master/src/avatar/index.tsx#L77",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/master/src/avatar/index.tsx#L79",
"methods": [],

@@ -220,3 +220,3 @@ "properties": [

"name": "dense",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/master/src/avatar/index.tsx#L79",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/master/src/avatar/index.tsx#L81",
"type": "undefined | false | true"

@@ -247,3 +247,3 @@ }

"name": "AvatarCountProps",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/master/src/avatar/index.tsx#L137",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/master/src/avatar/index.tsx#L139",
"methods": [],

@@ -272,3 +272,3 @@ "properties": [

"name": "interactive",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/master/src/avatar/index.tsx#L147",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/master/src/avatar/index.tsx#L149",
"type": "undefined | false | true"

@@ -297,3 +297,3 @@ },

"name": "overflow",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/master/src/avatar/index.tsx#L141",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/master/src/avatar/index.tsx#L143",
"type": "undefined | false | true"

@@ -322,3 +322,3 @@ },

"name": "size",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/master/src/avatar/index.tsx#L143",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/master/src/avatar/index.tsx#L145",
"type": "RMWC.IconSizeT"

@@ -347,3 +347,3 @@ },

"name": "square",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/master/src/avatar/index.tsx#L145",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/master/src/avatar/index.tsx#L147",
"type": "undefined | false | true"

@@ -372,3 +372,3 @@ },

"name": "value",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/master/src/avatar/index.tsx#L139",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/master/src/avatar/index.tsx#L141",
"type": "number"

@@ -375,0 +375,0 @@ }

@@ -17,4 +17,6 @@ var __assign = (this && this.__assign) || function () {

if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)
t[p[i]] = s[p[i]];
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
t[p[i]] = s[p[i]];
}
return t;

@@ -27,8 +29,9 @@ };

var getInitialsForName = function (name) {
if (name === void 0) { name = ''; }
if (name) {
var parts = name.split(' ');
/* istanbul ignore next */
var letters = (parts[0] || '')[0];
if (parts.length > 1) {
var part = parts.pop();
/* istanbul ignore next */
if (part) {

@@ -35,0 +38,0 @@ letters += part[0];

{
"name": "@rmwc/avatar",
"version": "5.6.0",
"version": "5.7.0",
"description": "RMWC avatar component",

@@ -35,8 +35,8 @@ "main": "dist/index.js",

"dependencies": {
"@rmwc/base": "^5.6.0",
"@rmwc/icon": "^5.6.0",
"@rmwc/ripple": "^5.6.0",
"@rmwc/base": "^5.7.0",
"@rmwc/icon": "^5.7.0",
"@rmwc/ripple": "^5.7.0",
"@rmwc/types": "^5.6.0"
},
"gitHead": "8a060096d8c21beb1e711d268fca878170d8773b"
"gitHead": "cac77905430cfdcd487effe81a9b1d505a2525ef"
}

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