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.5 to 1.0.6

5

lib/UserAvatar.js

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

* @url https://github.com/bltnico/react-user-avatar
* @version 1.0.5
* @version 1.0.6
*

@@ -118,3 +118,4 @@ * @example

value: function getColor() {
return this.intToRGB(this.hashCode(this.props.username));
var hash = this.hashCode(this.props.username);
return this.intToRGB(hash);
}

@@ -121,0 +122,0 @@

2

package.json
{
"name": "react-useravatar",
"version": "1.0.5",
"version": "1.0.6",
"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.5
* @version 1.0.6
*

@@ -88,3 +88,4 @@ * @example

getColor() {
return this.intToRGB(this.hashCode(this.props.username));
let hash = this.hashCode(this.props.username);
return this.intToRGB(hash);
}

@@ -91,0 +92,0 @@

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