Socket
Socket
Sign inDemoInstall

react-useravatar

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-useravatar - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

7

lib/UserAvatar.js

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

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

@@ -104,4 +104,5 @@ * @example

key: 'intToRGB',
value: function intToRGB(int) {
var c = (int & 0x00FFFFFF).toString(16).toUpperCase();
value: function intToRGB(i) {
var c = (i & 0x00FFFFFF).toString(16).toUpperCase();
return "00000".substring(0, 6 - c.length) + c;

@@ -108,0 +109,0 @@ }

{
"name": "react-useravatar",
"version": "1.0.4",
"version": "1.0.5",
"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.4
* @version 1.0.5
*

@@ -75,4 +75,7 @@ * @example

*/
intToRGB(int) {
let c = (int & 0x00FFFFFF).toString(16).toUpperCase();
intToRGB(i) {
let c = (i & 0x00FFFFFF)
.toString(16)
.toUpperCase();
return "00000".substring(0, 6 - c.length) + c;

@@ -79,0 +82,0 @@ }

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