New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ngx-gravatar

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-gravatar - npm Package Compare versions

Comparing version 1.0.3 to 2.0.0

12

bundles/ngx-gravatar.umd.js

@@ -82,3 +82,3 @@ (function (global, factory) {

NgxGravatarDirective.prototype._setDefaultValues = function () {
this.size = lodash.isUndefined(this.size) ? this.defaultConfig.size : this.size;
this.size = this._computeSize();
this.round = lodash.isUndefined(this.round) ? this.defaultConfig.round : this.round;

@@ -106,2 +106,12 @@ this.fallback = lodash.isUndefined(this.fallback) ? this.defaultConfig.fallback : this.gravatarService.validateFallback(this.fallback) ? this.fallback : this.defaultConfig.fallback;

};
NgxGravatarDirective.prototype._computeSize = function () {
var size = lodash.isUndefined(this.size) ? this.defaultConfig.size : this.size;
if (this.style && lodash.isString(this.style.width)) {
var width = this.style.width.trim();
if (width.match(/^\d+px$/)) {
size = width.replace('px', '');
}
}
return size;
};
NgxGravatarDirective.prototype._avatarStyle = function () {

@@ -108,0 +118,0 @@ var style = {

2

bundles/ngx-gravatar.umd.min.js

@@ -1,2 +0,2 @@

!function(t,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/core"),require("ts-md5/dist/md5"),require("lodash")):"function"==typeof define&&define.amd?define("ngx-gravatar",["exports","@angular/core","ts-md5/dist/md5","lodash"],r):r(t["ngx-gravatar"]={},t.ng.core,t.md5,t.lodash)}(this,function(t,r,a,i){"use strict";var e={blank:"blank",indenticon:"identicon",mm:"mm",monsterid:"monsterid",retro:"retro",robohash:"robohash",wavatar:"wavatar"},o={fallback:"retro",size:40,cornerRadius:0,preferGravatar:!1,hasBorder:!1,borderColor:"#000000",borderRadius:"50%",borderStyle:"solid",borderWidth:1,round:!0},n=function(){function t(t){this.gravatarConfig=t,this.defaultConfig=o,this.gravatarConfig&&(this.defaultConfig=i.merge(this.defaultConfig,this.gravatarConfig))}return t.prototype.getDefaultConfig=function(){return this.defaultConfig},t.prototype.generateGravatarUrl=function(t,r,e){return i.isString(t)||(t="",console.error("[ngx-gravatar] - Email is not a string")),t=t.trim().toLowerCase(),"//www.gravatar.com/avatar/"+a.Md5.hashStr(t)+"?s="+r+"&d="+e},t.prototype.validateFallback=function(r){return i.findKey(e,function(t){return r==t})!=undefined||(console.error('[ngx-gravatar] - "'+r+'" is invalid gravatar fallback.'),!1)},t}();n.decorators=[{type:r.Injectable}],n.ctorParameters=function(){return[{type:undefined,decorators:[{type:r.Optional},{type:r.Inject,args:["gravatarDefault.config"]}]}]};var s=function(){function t(t,r,e){var a=this;this.elementRef=t,this.renderer=r,this.gravatarService=e,this.style={},this.defaultConfig=this.gravatarService.getDefaultConfig(),this.renderer.listen(this.elementRef.nativeElement,"error",function(t){a._initializeAvatar(!0)})}return t.prototype.ngOnInit=function(){this._initializeAvatar()},t.prototype.ngOnChanges=function(){this._initializeAvatar()},t.prototype._setDefaultValues=function(){this.size=i.isUndefined(this.size)?this.defaultConfig.size:this.size,this.round=i.isUndefined(this.round)?this.defaultConfig.round:this.round,this.fallback=i.isUndefined(this.fallback)?this.defaultConfig.fallback:this.gravatarService.validateFallback(this.fallback)?this.fallback:this.defaultConfig.fallback,this.cornerRadius=i.isUndefined(this.cornerRadius)?this.defaultConfig.cornerRadius:this.cornerRadius,this.preferGravatar=i.isUndefined(this.preferGravatar)?this.defaultConfig.preferGravatar:this.preferGravatar},t.prototype._initializeAvatar=function(t){this._setDefaultValues();var r="";r=this.preferGravatar||t?this.gravatarService.generateGravatarUrl(this.email,this.size,this.fallback):this.custom?this.custom:this.gravatarService.generateGravatarUrl(this.email,this.size,this.fallback),this.renderer.setProperty(this.elementRef.nativeElement,"src",r),this._setStyle(this._avatarStyle())},t.prototype._avatarStyle=function(){var t={width:this.size+"px",height:this.size+"px",borderRadius:this.round?this.defaultConfig.borderRadius:this.cornerRadius+"px",borderStyle:this.defaultConfig.hasBorder||this.borderColor||this.borderWidth?this.defaultConfig.borderStyle:"none",borderColor:this.borderColor?this.borderColor:this.defaultConfig.borderColor,borderWidth:this.borderWidth?this.borderWidth+"px":this.defaultConfig.borderWidth+"px"};return i.merge(t,this.style)},t.prototype._setStyle=function(t){var e=this;i.forEach(t,function(t,r){e.renderer.setStyle(e.elementRef.nativeElement,r,t)})},t}();s.decorators=[{type:r.Directive,args:[{selector:"[ngx-gravatar]"}]}],s.ctorParameters=function(){return[{type:r.ElementRef},{type:r.Renderer2},{type:n}]},s.propDecorators={custom:[{type:r.Input,args:["src"]}],email:[{type:r.Input,args:["email"]}],size:[{type:r.Input,args:["size"]}],fallback:[{type:r.Input,args:["fallback"]}],round:[{type:r.Input,args:["round"]}],cornerRadius:[{type:r.Input,args:["cornerRadius"]}],borderColor:[{type:r.Input,args:["borderColor"]}],borderWidth:[{type:r.Input,args:["borderWidth"]}],style:[{type:r.Input,args:["style"]}],preferGravatar:[{type:r.Input,args:["preferGravatar"]}]};var d=function(){function r(){}return r.forRoot=function(t){return{ngModule:r,providers:[{provide:"gravatarDefault.config",useValue:t}]}},r}();d.decorators=[{type:r.NgModule,args:[{declarations:[s],exports:[s],providers:[n]}]}],t.GravatarModule=d,t.FALLBACK_TYPES=e,t.ɵa=s,t.ɵb=n,Object.defineProperty(t,"__esModule",{value:!0})});
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("ts-md5/dist/md5"),require("lodash")):"function"==typeof define&&define.amd?define("ngx-gravatar",["exports","@angular/core","ts-md5/dist/md5","lodash"],e):e(t["ngx-gravatar"]={},t.ng.core,t.md5,t.lodash)}(this,function(t,e,a,i){"use strict";var r={blank:"blank",indenticon:"identicon",mm:"mm",monsterid:"monsterid",retro:"retro",robohash:"robohash",wavatar:"wavatar"},o={fallback:"retro",size:40,cornerRadius:0,preferGravatar:!1,hasBorder:!1,borderColor:"#000000",borderRadius:"50%",borderStyle:"solid",borderWidth:1,round:!0},n=function(){function t(t){this.gravatarConfig=t,this.defaultConfig=o,this.gravatarConfig&&(this.defaultConfig=i.merge(this.defaultConfig,this.gravatarConfig))}return t.prototype.getDefaultConfig=function(){return this.defaultConfig},t.prototype.generateGravatarUrl=function(t,e,r){return i.isString(t)||(t="",console.error("[ngx-gravatar] - Email is not a string")),t=t.trim().toLowerCase(),"//www.gravatar.com/avatar/"+a.Md5.hashStr(t)+"?s="+e+"&d="+r},t.prototype.validateFallback=function(e){return i.findKey(r,function(t){return e==t})!=undefined||(console.error('[ngx-gravatar] - "'+e+'" is invalid gravatar fallback.'),!1)},t}();n.decorators=[{type:e.Injectable}],n.ctorParameters=function(){return[{type:undefined,decorators:[{type:e.Optional},{type:e.Inject,args:["gravatarDefault.config"]}]}]};var s=function(){function t(t,e,r){var a=this;this.elementRef=t,this.renderer=e,this.gravatarService=r,this.style={},this.defaultConfig=this.gravatarService.getDefaultConfig(),this.renderer.listen(this.elementRef.nativeElement,"error",function(t){a._initializeAvatar(!0)})}return t.prototype.ngOnInit=function(){this._initializeAvatar()},t.prototype.ngOnChanges=function(){this._initializeAvatar()},t.prototype._setDefaultValues=function(){this.size=this._computeSize(),this.round=i.isUndefined(this.round)?this.defaultConfig.round:this.round,this.fallback=i.isUndefined(this.fallback)?this.defaultConfig.fallback:this.gravatarService.validateFallback(this.fallback)?this.fallback:this.defaultConfig.fallback,this.cornerRadius=i.isUndefined(this.cornerRadius)?this.defaultConfig.cornerRadius:this.cornerRadius,this.preferGravatar=i.isUndefined(this.preferGravatar)?this.defaultConfig.preferGravatar:this.preferGravatar},t.prototype._initializeAvatar=function(t){this._setDefaultValues();var e="";e=this.preferGravatar||t?this.gravatarService.generateGravatarUrl(this.email,this.size,this.fallback):this.custom?this.custom:this.gravatarService.generateGravatarUrl(this.email,this.size,this.fallback),this.renderer.setProperty(this.elementRef.nativeElement,"src",e),this._setStyle(this._avatarStyle())},t.prototype._computeSize=function(){var t=i.isUndefined(this.size)?this.defaultConfig.size:this.size;if(this.style&&i.isString(this.style.width)){var e=this.style.width.trim();e.match(/^\d+px$/)&&(t=e.replace("px",""))}return t},t.prototype._avatarStyle=function(){var t={width:this.size+"px",height:this.size+"px",borderRadius:this.round?this.defaultConfig.borderRadius:this.cornerRadius+"px",borderStyle:this.defaultConfig.hasBorder||this.borderColor||this.borderWidth?this.defaultConfig.borderStyle:"none",borderColor:this.borderColor?this.borderColor:this.defaultConfig.borderColor,borderWidth:this.borderWidth?this.borderWidth+"px":this.defaultConfig.borderWidth+"px"};return i.merge(t,this.style)},t.prototype._setStyle=function(t){var r=this;i.forEach(t,function(t,e){r.renderer.setStyle(r.elementRef.nativeElement,e,t)})},t}();s.decorators=[{type:e.Directive,args:[{selector:"[ngx-gravatar]"}]}],s.ctorParameters=function(){return[{type:e.ElementRef},{type:e.Renderer2},{type:n}]},s.propDecorators={custom:[{type:e.Input,args:["src"]}],email:[{type:e.Input,args:["email"]}],size:[{type:e.Input,args:["size"]}],fallback:[{type:e.Input,args:["fallback"]}],round:[{type:e.Input,args:["round"]}],cornerRadius:[{type:e.Input,args:["cornerRadius"]}],borderColor:[{type:e.Input,args:["borderColor"]}],borderWidth:[{type:e.Input,args:["borderWidth"]}],style:[{type:e.Input,args:["style"]}],preferGravatar:[{type:e.Input,args:["preferGravatar"]}]};var d=function(){function e(){}return e.forRoot=function(t){return{ngModule:e,providers:[{provide:"gravatarDefault.config",useValue:t}]}},e}();d.decorators=[{type:e.NgModule,args:[{declarations:[s],exports:[s],providers:[n]}]}],t.GravatarModule=d,t.FALLBACK_TYPES=r,t.ɵa=s,t.ɵb=n,Object.defineProperty(t,"__esModule",{value:!0})});
//# sourceMappingURL=ngx-gravatar.umd.min.js.map

@@ -130,3 +130,3 @@ import { Inject, Injectable, Optional, Directive, ElementRef, Input, Renderer2, NgModule } from '@angular/core';

_setDefaultValues() {
this.size = isUndefined(this.size) ? this.defaultConfig.size : this.size;
this.size = this._computeSize();
this.round = isUndefined(this.round) ? this.defaultConfig.round : this.round;

@@ -164,4 +164,19 @@ this.fallback = isUndefined(this.fallback) ? this.defaultConfig.fallback : this.gravatarService.validateFallback(this.fallback) ? this.fallback : this.defaultConfig.fallback;

/**
* Compute the size of the avatar
* @return {?} size
*/
_computeSize() {
let /** @type {?} */ size = isUndefined(this.size) ? this.defaultConfig.size : this.size;
if (this.style && isString(this.style.width)) {
let /** @type {?} */ width = this.style.width.trim();
if (width.match(/^\d+px$/)) {
// width with px unit
size = width.replace('px', '');
}
}
return size;
}
/**
* Compute style object
* @return {?}
* @return {?} style object
*/

@@ -168,0 +183,0 @@ _avatarStyle() {

@@ -80,3 +80,3 @@ import { Inject, Injectable, Optional, Directive, ElementRef, Input, Renderer2, NgModule } from '@angular/core';

NgxGravatarDirective.prototype._setDefaultValues = function () {
this.size = isUndefined(this.size) ? this.defaultConfig.size : this.size;
this.size = this._computeSize();
this.round = isUndefined(this.round) ? this.defaultConfig.round : this.round;

@@ -104,2 +104,12 @@ this.fallback = isUndefined(this.fallback) ? this.defaultConfig.fallback : this.gravatarService.validateFallback(this.fallback) ? this.fallback : this.defaultConfig.fallback;

};
NgxGravatarDirective.prototype._computeSize = function () {
var size = isUndefined(this.size) ? this.defaultConfig.size : this.size;
if (this.style && isString(this.style.width)) {
var width = this.style.width.trim();
if (width.match(/^\d+px$/)) {
size = width.replace('px', '');
}
}
return size;
};
NgxGravatarDirective.prototype._avatarStyle = function () {

@@ -106,0 +116,0 @@ var style = {

@@ -32,3 +32,9 @@ import { ElementRef, OnChanges, OnInit, Renderer2 } from '@angular/core';

/**
* Compute the size of the avatar
* @return size
*/
private _computeSize();
/**
* Compute style object
* @return style object
*/

@@ -35,0 +41,0 @@ private _avatarStyle();

@@ -1,1 +0,1 @@

{"__symbolic":"module","version":4,"metadata":{"GravatarModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":6,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ɵa"}],"exports":[{"__symbolic":"reference","name":"ɵa"}],"providers":[{"__symbolic":"reference","name":"ɵb"}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":["gravatarDefaultConfig"],"value":{"ngModule":{"__symbolic":"reference","name":"GravatarModule"},"providers":[{"provide":"gravatarDefault.config","useValue":{"__symbolic":"reference","name":"gravatarDefaultConfig"}}]}}}},"GravatarDefaultConfig":{"__symbolic":"interface"},"FALLBACK_TYPES":{"blank":"blank","indenticon":"identicon","mm":"mm","monsterid":"monsterid","retro":"retro","robohash":"robohash","wavatar":"wavatar"},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":4,"character":1},"arguments":[{"selector":"[ngx-gravatar]"}]}],"members":{"custom":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":8,"character":2},"arguments":["src"]}]}],"email":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":9,"character":2},"arguments":["email"]}]}],"size":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":10,"character":2},"arguments":["size"]}]}],"fallback":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":2},"arguments":["fallback"]}]}],"round":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":2},"arguments":["round"]}]}],"cornerRadius":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":13,"character":2},"arguments":["cornerRadius"]}]}],"borderColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":14,"character":2},"arguments":["borderColor"]}]}],"borderWidth":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":15,"character":2},"arguments":["borderWidth"]}]}],"style":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":16,"character":2},"arguments":["style"]}]}],"preferGravatar":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":17,"character":2},"arguments":["preferGravatar"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":22,"character":22},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":23,"character":20},{"__symbolic":"reference","name":"ɵb"}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"_setDefaultValues":[{"__symbolic":"method"}],"_initializeAvatar":[{"__symbolic":"method"}],"_avatarStyle":[{"__symbolic":"method"}],"_setStyle":[{"__symbolic":"method"}]}},"ɵb":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":6,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":11,"character":14}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":11,"character":26},"arguments":["gravatarDefault.config"]}]],"parameters":[{"__symbolic":"reference","name":"GravatarDefaultConfig"}]}],"getDefaultConfig":[{"__symbolic":"method"}],"generateGravatarUrl":[{"__symbolic":"method"}],"validateFallback":[{"__symbolic":"method"}]}}},"origins":{"GravatarModule":"./gravatar/gravatar.module","GravatarDefaultConfig":"./gravatar/gravatar-default-config","FALLBACK_TYPES":"./gravatar/constants","ɵa":"./gravatar/ngx-gravatar.directive","ɵb":"./gravatar/ngx-gravatar.service"},"importAs":"ngx-gravatar"}
{"__symbolic":"module","version":4,"metadata":{"GravatarModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":6,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ɵa"}],"exports":[{"__symbolic":"reference","name":"ɵa"}],"providers":[{"__symbolic":"reference","name":"ɵb"}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":["gravatarDefaultConfig"],"value":{"ngModule":{"__symbolic":"reference","name":"GravatarModule"},"providers":[{"provide":"gravatarDefault.config","useValue":{"__symbolic":"reference","name":"gravatarDefaultConfig"}}]}}}},"GravatarDefaultConfig":{"__symbolic":"interface"},"FALLBACK_TYPES":{"blank":"blank","indenticon":"identicon","mm":"mm","monsterid":"monsterid","retro":"retro","robohash":"robohash","wavatar":"wavatar"},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":4,"character":1},"arguments":[{"selector":"[ngx-gravatar]"}]}],"members":{"custom":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":8,"character":2},"arguments":["src"]}]}],"email":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":9,"character":2},"arguments":["email"]}]}],"size":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":10,"character":2},"arguments":["size"]}]}],"fallback":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":2},"arguments":["fallback"]}]}],"round":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":2},"arguments":["round"]}]}],"cornerRadius":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":13,"character":2},"arguments":["cornerRadius"]}]}],"borderColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":14,"character":2},"arguments":["borderColor"]}]}],"borderWidth":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":15,"character":2},"arguments":["borderWidth"]}]}],"style":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":16,"character":2},"arguments":["style"]}]}],"preferGravatar":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":17,"character":2},"arguments":["preferGravatar"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":22,"character":22},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":23,"character":20},{"__symbolic":"reference","name":"ɵb"}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"_setDefaultValues":[{"__symbolic":"method"}],"_initializeAvatar":[{"__symbolic":"method"}],"_computeSize":[{"__symbolic":"method"}],"_avatarStyle":[{"__symbolic":"method"}],"_setStyle":[{"__symbolic":"method"}]}},"ɵb":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":6,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":11,"character":14}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":11,"character":26},"arguments":["gravatarDefault.config"]}]],"parameters":[{"__symbolic":"reference","name":"GravatarDefaultConfig"}]}],"getDefaultConfig":[{"__symbolic":"method"}],"generateGravatarUrl":[{"__symbolic":"method"}],"validateFallback":[{"__symbolic":"method"}]}}},"origins":{"GravatarModule":"./gravatar/gravatar.module","GravatarDefaultConfig":"./gravatar/gravatar-default-config","FALLBACK_TYPES":"./gravatar/constants","ɵa":"./gravatar/ngx-gravatar.directive","ɵb":"./gravatar/ngx-gravatar.service"},"importAs":"ngx-gravatar"}
{
"name": "ngx-gravatar",
"version": "1.0.3",
"version": "2.0.0",
"repository": {

@@ -5,0 +5,0 @@ "type": "git",

@@ -5,3 +5,3 @@ [![npm version](https://badge.fury.io/js/ngx-gravatar.svg)](https://badge.fury.io/js/ngx-gravatar)

The gravatar directive for angular 4+. It is AoT compatible.
The gravatar directive for angular 4 & 5+. It is AoT compatible.

@@ -8,0 +8,0 @@ ![Angular Gravatar Directive](src/demo.png)

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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