Socket
Socket
Sign inDemoInstall

react-useravatar

Package Overview
Dependencies
17
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.8 to 1.0.9

5

lib/UserAvatar.js

@@ -27,3 +27,3 @@ 'use strict';

* @url https://github.com/bltnico/react-user-avatar
* @version 1.0.8
* @version 1.0.9
*

@@ -119,3 +119,2 @@ * @example

var hash = this.hashCode(this.props.username);
console.log("color : ", this.intToRGB(hash));
return this.intToRGB(hash);

@@ -161,3 +160,3 @@ }

container: {
backgroundColor: this.state.color,
backgroundColor: "#" + this.state.color,
borderRadius: this.props.size / 2,

@@ -164,0 +163,0 @@ width: this.props.size,

2

package.json
{
"name": "react-useravatar",
"version": "1.0.8",
"version": "1.0.9",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -11,3 +11,3 @@ 'use strict';

* @url https://github.com/bltnico/react-user-avatar
* @version 1.0.8
* @version 1.0.9
*

@@ -89,3 +89,2 @@ * @example

let hash = this.hashCode(this.props.username);
console.log("color : ",this.intToRGB(hash));
return this.intToRGB(hash);

@@ -121,3 +120,3 @@ }

container : {
backgroundColor : this.state.color,
backgroundColor : "#" + this.state.color,
borderRadius : this.props.size / 2,

@@ -124,0 +123,0 @@ width : this.props.size,

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc