react-useravatar
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -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 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10662
317