Socket
Socket
Sign inDemoInstall

react-avatar

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-avatar - npm Package Compare versions

Comparing version 0.7.1 to 0.7.2

2

avatar.jsx

@@ -9,2 +9,3 @@

var PureRenderMixin = require('react-addons-pure-render-mixin');
var isRetina = require('is-retina')();

@@ -37,2 +38,3 @@ var Avatar = React.createClass({

var prefix = this.getProtocol() === 'https:' ? 'https://secure.' : 'http://';
size = isRetina ? size * 2 : size;
cb(prefix + this.parse(base, {id: email, size: size}));

@@ -39,0 +41,0 @@ },

3

package.json
{
"name": "react-avatar",
"version": "0.7.1",
"version": "0.7.2",
"description": "Universal avatar makes it possible to fetch/generate an avatar based on the information you have about that user.",

@@ -43,2 +43,3 @@ "main": "avatar.js",

"is-array": "^1.0.1",
"is-retina": "^1.0.3",
"react": "^0.14.0",

@@ -45,0 +46,0 @@ "react-addons-pure-render-mixin": "^0.14.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