Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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 1.1.0 to 1.1.1

2

lib/demo.js

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

),
_react2.default.createElement(_index2.default, { size: 150, facebookId: 'invalidfacebookusername', src: 'https://thumbs.dreamstime.com/m/cute-monster-avatar-smiling-face-yellow-color-52010608.jpg' })
_react2.default.createElement(_index2.default, { size: 150, facebookId: 'invalidfacebookusername', src: 'https://thumbs.dreamstime.com/m/cute-monster-avatar-smiling-face-yellow-color-52010608.jpg', name: 'Foo Bar' })
),

@@ -188,0 +188,0 @@ _react2.default.createElement(

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

var SOURCES = [_Gravatar2.default, _Facebook2.default, _Twitter2.default, _Google2.default, _Skype2.default, _Value2.default, _Src2.default, _Icon2.default];
var SOURCES = [_Gravatar2.default, _Facebook2.default, _Twitter2.default, _Google2.default, _Skype2.default, _Src2.default, _Value2.default, _Icon2.default];

@@ -56,0 +56,0 @@ var Avatar = function (_React$Component) {

{
"name": "react-avatar",
"version": "1.1.0",
"version": "1.1.1",
"description": "Universal React avatar component makes it possible to generate avatars based on user information.",

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

@@ -13,5 +13,5 @@ # <Avatar>[![Build Status](https://travis-ci.org/Sitebase/react-avatar.svg?branch=master)](https://travis-ci.org/Sitebase/react-avatar)

* Gravatar
* Custom image
* Name initials
* Custom text
* Custom image

@@ -18,0 +18,0 @@ The fallbacks are in the same order as the list above were Facebook has the highest priority.

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

<h2>Fallback to static src</h2>
<Avatar size={150} facebookId="invalidfacebookusername" src="https://thumbs.dreamstime.com/m/cute-monster-avatar-smiling-face-yellow-color-52010608.jpg" />
<Avatar size={150} facebookId="invalidfacebookusername" src="https://thumbs.dreamstime.com/m/cute-monster-avatar-smiling-face-yellow-color-52010608.jpg" name="Foo Bar" />
</section>

@@ -97,0 +97,0 @@

@@ -20,4 +20,4 @@ 'use strict';

skypeSource,
srcSource,
valueSource,
srcSource,
iconSource

@@ -24,0 +24,0 @@ ];

Sorry, the diff of this file is too big to display

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