Huge News!Announcing our $40M Series B led by Abstract Ventures.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 8.0.0 to 8.1.0

246

bundles/ngx-gravatar.umd.js

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

(global = global || self, factory(global['ngx-gravatar'] = {}, global.ng.core, global.md5));
}(this, function (exports, core, md5) { 'use strict';
}(this, (function (exports, core, md5) { 'use strict';

@@ -22,3 +22,17 @@ /*! *****************************************************************************

***************************************************************************** */
/* global Reflect, Promise */
var extendStatics = function(d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
function __extends(d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
}
var __assign = function() {

@@ -35,2 +49,159 @@ __assign = Object.assign || function __assign(t) {

function __rest(s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
t[p[i]] = s[p[i]];
}
return t;
}
function __decorate(decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
}
function __param(paramIndex, decorator) {
return function (target, key) { decorator(target, key, paramIndex); }
}
function __metadata(metadataKey, metadataValue) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
}
function __awaiter(thisArg, _arguments, P, generator) {
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
}
function __generator(thisArg, body) {
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
function verb(n) { return function (v) { return step([n, v]); }; }
function step(op) {
if (f) throw new TypeError("Generator is already executing.");
while (_) try {
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
if (y = 0, t) op = [op[0] & 2, t.value];
switch (op[0]) {
case 0: case 1: t = op; break;
case 4: _.label++; return { value: op[1], done: false };
case 5: _.label++; y = op[1]; op = [0]; continue;
case 7: op = _.ops.pop(); _.trys.pop(); continue;
default:
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
if (t[2]) _.ops.pop();
_.trys.pop(); continue;
}
op = body.call(thisArg, _);
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
}
}
function __exportStar(m, exports) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
function __values(o) {
var m = typeof Symbol === "function" && o[Symbol.iterator], i = 0;
if (m) return m.call(o);
return {
next: function () {
if (o && i >= o.length) o = void 0;
return { value: o && o[i++], done: !o };
}
};
}
function __read(o, n) {
var m = typeof Symbol === "function" && o[Symbol.iterator];
if (!m) return o;
var i = m.call(o), r, ar = [], e;
try {
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
}
catch (error) { e = { error: error }; }
finally {
try {
if (r && !r.done && (m = i["return"])) m.call(i);
}
finally { if (e) throw e.error; }
}
return ar;
}
function __spread() {
for (var ar = [], i = 0; i < arguments.length; i++)
ar = ar.concat(__read(arguments[i]));
return ar;
}
function __spreadArrays() {
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
for (var r = Array(s), k = 0, i = 0; i < il; i++)
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
r[k] = a[j];
return r;
};
function __await(v) {
return this instanceof __await ? (this.v = v, this) : new __await(v);
}
function __asyncGenerator(thisArg, _arguments, generator) {
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
var g = generator.apply(thisArg, _arguments || []), i, q = [];
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
function fulfill(value) { resume("next", value); }
function reject(value) { resume("throw", value); }
function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
}
function __asyncDelegator(o) {
var i, p;
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
}
function __asyncValues(o) {
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
var m = o[Symbol.asyncIterator], i;
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
}
function __makeTemplateObject(cooked, raw) {
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
return cooked;
};
function __importStar(mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
result.default = mod;
return result;
}
function __importDefault(mod) {
return (mod && mod.__esModule) ? mod : { default: mod };
}
/**

@@ -164,3 +335,3 @@ * @fileoverview added by tsickle

fallback = this.determineFallback(fallback, this.defaultConfig.fallback);
return "//www.gravatar.com/avatar/" + emailHash + "?s=" + size + "&r=" + rating + "&d=" + fallback;
return "https://www.gravatar.com/avatar/" + emailHash + "?s=" + size + "&r=" + rating + "&d=" + fallback;
};

@@ -242,2 +413,14 @@ /**

}());
if (false) {
/**
* @type {?}
* @private
*/
NgxGravatarService.prototype.defaultConfig;
/**
* @type {?}
* @private
*/
NgxGravatarService.prototype.gravatarConfig;
}

@@ -468,2 +651,55 @@ /**

}());
if (false) {
/** @type {?} */
NgxGravatarDirective.prototype.src;
/** @type {?} */
NgxGravatarDirective.prototype.email;
/** @type {?} */
NgxGravatarDirective.prototype.md5Hash;
/** @type {?} */
NgxGravatarDirective.prototype.size;
/** @type {?} */
NgxGravatarDirective.prototype.fallback;
/** @type {?} */
NgxGravatarDirective.prototype.rating;
/** @type {?} */
NgxGravatarDirective.prototype.round;
/** @type {?} */
NgxGravatarDirective.prototype.cornerRadius;
/** @type {?} */
NgxGravatarDirective.prototype.borderColor;
/** @type {?} */
NgxGravatarDirective.prototype.borderWidth;
/** @type {?} */
NgxGravatarDirective.prototype.style;
/** @type {?} */
NgxGravatarDirective.prototype.preferGravatar;
/** @type {?} */
NgxGravatarDirective.prototype.backgroundColor;
/** @type {?} */
NgxGravatarDirective.prototype.ratio;
/** @type {?} */
NgxGravatarDirective.prototype.initialized;
/** @type {?} */
NgxGravatarDirective.prototype.defaultConfig;
/** @type {?} */
NgxGravatarDirective.prototype.requestedSize;
/** @type {?} */
NgxGravatarDirective.prototype.isGravatarUsed;
/**
* @type {?}
* @private
*/
NgxGravatarDirective.prototype.elementRef;
/**
* @type {?}
* @private
*/
NgxGravatarDirective.prototype.renderer;
/**
* @type {?}
* @private
*/
NgxGravatarDirective.prototype.gravatarService;
}

@@ -507,10 +743,10 @@ /**

exports.GravatarModule = GravatarModule;
exports.NgxGravatarService = NgxGravatarService;
exports.RATING = RATING;
exports.ɵa = NgxGravatarDirective;
exports.ɵb = NgxGravatarService;
exports.ɵc = GRAVATAR_CONFIG_TOKEN;
exports.ɵb = GRAVATAR_CONFIG_TOKEN;
Object.defineProperty(exports, '__esModule', { value: true });
}));
})));
//# sourceMappingURL=ngx-gravatar.umd.js.map

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

!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("ts-md5/dist/md5")):"function"==typeof define&&define.amd?define("ngx-gravatar",["exports","@angular/core","ts-md5/dist/md5"],e):e((t=t||self)["ngx-gravatar"]={},t.ng.core,t.md5)}(this,function(t,e,r){"use strict";var i=function(){return(i=Object.assign||function(t){for(var e,r=1,i=arguments.length;r<i;r++)for(var a in e=arguments[r])Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t}).apply(this,arguments)},a=new e.InjectionToken("gravatarCustom.config"),n={blank:"blank",identicon:"identicon",mm:"mm",mp:"mp",monsterid:"monsterid",retro:"retro",robohash:"robohash",wavatar:"wavatar"},o={g:"g",pg:"pg",r:"r",x:"x"},s={fallback:n.retro,size:40,cornerRadius:0,preferGravatar:!1,hasBorder:!1,borderColor:"#000000",borderRadius:"50%",borderStyle:"solid",borderWidth:1,round:!0,backgroundColor:"transparent",rating:o.g,ratio:2},d=function(){function t(t){this.gravatarConfig=t,this.defaultConfig=i({},s),this.gravatarConfig&&(this.gravatarConfig.rating=this.determineRating(this.gravatarConfig.rating),this.gravatarConfig.fallback=this.determineFallback(this.gravatarConfig.fallback),this.defaultConfig=i({},this.defaultConfig,this.gravatarConfig))}return t.prototype.getDefaultConfig=function(){return this.defaultConfig},t.prototype.generateGravatarUrl=function(t,e,i,a,n){var o;if(e)o=e;else{try{t=t.trim().toLowerCase()}catch(s){console.error("[ngx-gravatar] - Email ("+t+") is not a string. Empty string is used as a default email."),t=""}o=r.Md5.hashStr(t)}return"//www.gravatar.com/avatar/"+o+"?s="+(i=i||this.defaultConfig.size)+"&r="+(a=this.determineRating(a,this.defaultConfig.rating))+"&d="+(n=this.determineFallback(n,this.defaultConfig.fallback))},t.prototype.determineFallback=function(t,e){return void 0===e&&(e=s.fallback),t===undefined?e:n[t]===undefined?(console.error('[ngx-gravatar] - "'+t+'" is invalid gravatar fallback type. Default fallback "'+e+'" is used.'),e):t},t.prototype.determineRating=function(t,e){return void 0===e&&(e=s.rating),t===undefined?e:o[t]===undefined?(console.error('[ngx-gravatar] - "'+t+'" is invalid gravatar rating type. Default rating "'+e+'" is used.'),e):t},t.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:undefined,decorators:[{type:e.Optional},{type:e.Inject,args:[a]}]}]},t.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new t(e.ɵɵinject(a,8))},token:t,providedIn:"root"}),t}(),u=function(){function t(t,e,r){var i=this;this.elementRef=t,this.renderer=e,this.gravatarService=r,this.style={},this.initialized=!1,this.defaultConfig=this.gravatarService.getDefaultConfig(),this.renderer.listen(this.elementRef.nativeElement,"error",function(t){i.isGravatarUsed||i.initializeAvatar(!0)})}return t.prototype.ngOnInit=function(){this.initializeAvatar(),this.initialized=!0,this.isGravatarUsed=!1},t.prototype.ngOnChanges=function(){this.initialized&&this.initializeAvatar()},t.prototype.setDefaultValues=function(){this.size=this.computeSize(),this.ratio=this.ratio===undefined?this.defaultConfig.ratio:this.ratio,this.requestedSize=this.size*this.ratio,this.round=this.round===undefined?this.defaultConfig.round:this.round,this.cornerRadius=this.cornerRadius===undefined?this.defaultConfig.cornerRadius:this.cornerRadius,this.preferGravatar=this.preferGravatar===undefined?this.defaultConfig.preferGravatar:this.preferGravatar},t.prototype.initializeAvatar=function(t){this.setDefaultValues();var e="";this.preferGravatar||t?(e=this.gravatarService.generateGravatarUrl(this.email,this.md5Hash,this.requestedSize,this.rating,this.fallback),this.isGravatarUsed=!0):this.src?e=this.src:(e=this.gravatarService.generateGravatarUrl(this.email,this.md5Hash,this.requestedSize,this.rating,this.fallback),this.isGravatarUsed=!0),this.renderer.setProperty(this.elementRef.nativeElement,"src",e),this.setStyle(this.avatarStyle())},t.prototype.computeSize=function(){var t=this.size===undefined?this.defaultConfig.size:this.size;if(this.style&&this.style.width)try{var e=this.style.width.trim();e.match(/^\d+px$/)&&(t=e.replace("px",""))}catch(r){return t}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",backgroundColor:this.backgroundColor?this.backgroundColor:this.defaultConfig.backgroundColor};return i({},t,this.style)},t.prototype.setStyle=function(t){var e=this;Object.keys(t).forEach(function(r){e.renderer.setStyle(e.elementRef.nativeElement,r,t[r])})},t.decorators=[{type:e.Directive,args:[{selector:"[ngx-gravatar], [ngxGravatar]"}]}],t.ctorParameters=function(){return[{type:e.ElementRef},{type:e.Renderer2},{type:d}]},t.propDecorators={src:[{type:e.Input}],email:[{type:e.Input}],md5Hash:[{type:e.Input}],size:[{type:e.Input}],fallback:[{type:e.Input}],rating:[{type:e.Input}],round:[{type:e.Input}],cornerRadius:[{type:e.Input}],borderColor:[{type:e.Input}],borderWidth:[{type:e.Input}],style:[{type:e.Input}],preferGravatar:[{type:e.Input}],backgroundColor:[{type:e.Input}],ratio:[{type:e.Input}]},t}(),l=function(){function t(){}return t.forRoot=function(e){return{ngModule:t,providers:[{provide:a,useValue:e}]}},t.decorators=[{type:e.NgModule,args:[{declarations:[u],exports:[u]}]}],t}();t.FALLBACK=n,t.GravatarModule=l,t.RATING=o,t.ɵa=u,t.ɵb=d,t.ɵc=a,Object.defineProperty(t,"__esModule",{value:!0})});
!function(t,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/core"),require("ts-md5/dist/md5")):"function"==typeof define&&define.amd?define("ngx-gravatar",["exports","@angular/core","ts-md5/dist/md5"],r):r((t=t||self)["ngx-gravatar"]={},t.ng.core,t.md5)}(this,(function(t,r,e){"use strict";
/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */var i=function(){return(i=Object.assign||function(t){for(var r,e=1,i=arguments.length;e<i;e++)for(var a in r=arguments[e])Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a]);return t}).apply(this,arguments)};var a=new r.InjectionToken("gravatarCustom.config"),o={blank:"blank",identicon:"identicon",mm:"mm",mp:"mp",monsterid:"monsterid",retro:"retro",robohash:"robohash",wavatar:"wavatar"},n={g:"g",pg:"pg",r:"r",x:"x"},s={fallback:o.retro,size:40,cornerRadius:0,preferGravatar:!1,hasBorder:!1,borderColor:"#000000",borderRadius:"50%",borderStyle:"solid",borderWidth:1,round:!0,backgroundColor:"transparent",rating:n.g,ratio:2},d=function(){function t(t){this.gravatarConfig=t,this.defaultConfig=i({},s),this.gravatarConfig&&(this.gravatarConfig.rating=this.determineRating(this.gravatarConfig.rating),this.gravatarConfig.fallback=this.determineFallback(this.gravatarConfig.fallback),this.defaultConfig=i({},this.defaultConfig,this.gravatarConfig))}return t.prototype.getDefaultConfig=function(){return this.defaultConfig},t.prototype.generateGravatarUrl=function(t,r,i,a,o){var n;if(r)n=r;else{try{t=t.trim().toLowerCase()}catch(r){console.error("[ngx-gravatar] - Email ("+t+") is not a string. Empty string is used as a default email."),t=""}n=e.Md5.hashStr(t)}return"https://www.gravatar.com/avatar/"+n+"?s="+(i=i||this.defaultConfig.size)+"&r="+(a=this.determineRating(a,this.defaultConfig.rating))+"&d="+(o=this.determineFallback(o,this.defaultConfig.fallback))},t.prototype.determineFallback=function(t,r){return void 0===r&&(r=s.fallback),void 0===t?r:void 0===o[t]?(console.error('[ngx-gravatar] - "'+t+'" is invalid gravatar fallback type. Default fallback "'+r+'" is used.'),r):t},t.prototype.determineRating=function(t,r){return void 0===r&&(r=s.rating),void 0===t?r:void 0===n[t]?(console.error('[ngx-gravatar] - "'+t+'" is invalid gravatar rating type. Default rating "'+r+'" is used.'),r):t},t.decorators=[{type:r.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[a]}]}]},t.ngInjectableDef=r.ɵɵdefineInjectable({factory:function(){return new t(r.ɵɵinject(a,8))},token:t,providedIn:"root"}),t}();var h=function(){function t(t,r,e){var i=this;this.elementRef=t,this.renderer=r,this.gravatarService=e,this.style={},this.initialized=!1,this.defaultConfig=this.gravatarService.getDefaultConfig(),this.renderer.listen(this.elementRef.nativeElement,"error",(function(t){i.isGravatarUsed||i.initializeAvatar(!0)}))}return t.prototype.ngOnInit=function(){this.initializeAvatar(),this.initialized=!0,this.isGravatarUsed=!1},t.prototype.ngOnChanges=function(){this.initialized&&this.initializeAvatar()},t.prototype.setDefaultValues=function(){this.size=this.computeSize(),this.ratio=void 0===this.ratio?this.defaultConfig.ratio:this.ratio,this.requestedSize=this.size*this.ratio,this.round=void 0===this.round?this.defaultConfig.round:this.round,this.cornerRadius=void 0===this.cornerRadius?this.defaultConfig.cornerRadius:this.cornerRadius,this.preferGravatar=void 0===this.preferGravatar?this.defaultConfig.preferGravatar:this.preferGravatar},t.prototype.initializeAvatar=function(t){this.setDefaultValues();var r="";this.preferGravatar||t?(r=this.gravatarService.generateGravatarUrl(this.email,this.md5Hash,this.requestedSize,this.rating,this.fallback),this.isGravatarUsed=!0):this.src?r=this.src:(r=this.gravatarService.generateGravatarUrl(this.email,this.md5Hash,this.requestedSize,this.rating,this.fallback),this.isGravatarUsed=!0),this.renderer.setProperty(this.elementRef.nativeElement,"src",r),this.setStyle(this.avatarStyle())},t.prototype.computeSize=function(){var t=void 0===this.size?this.defaultConfig.size:this.size;if(this.style&&this.style.width)try{var r=this.style.width.trim();r.match(/^\d+px$/)&&(t=r.replace("px",""))}catch(r){return t}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",backgroundColor:this.backgroundColor?this.backgroundColor:this.defaultConfig.backgroundColor};return i({},t,this.style)},t.prototype.setStyle=function(t){var r=this;Object.keys(t).forEach((function(e){r.renderer.setStyle(r.elementRef.nativeElement,e,t[e])}))},t.decorators=[{type:r.Directive,args:[{selector:"[ngx-gravatar], [ngxGravatar]"}]}],t.ctorParameters=function(){return[{type:r.ElementRef},{type:r.Renderer2},{type:d}]},t.propDecorators={src:[{type:r.Input}],email:[{type:r.Input}],md5Hash:[{type:r.Input}],size:[{type:r.Input}],fallback:[{type:r.Input}],rating:[{type:r.Input}],round:[{type:r.Input}],cornerRadius:[{type:r.Input}],borderColor:[{type:r.Input}],borderWidth:[{type:r.Input}],style:[{type:r.Input}],preferGravatar:[{type:r.Input}],backgroundColor:[{type:r.Input}],ratio:[{type:r.Input}]},t}();var l=function(){function t(){}return t.forRoot=function(r){return{ngModule:t,providers:[{provide:a,useValue:r}]}},t.decorators=[{type:r.NgModule,args:[{declarations:[h],exports:[h]}]}],t}();t.FALLBACK=o,t.GravatarModule=l,t.NgxGravatarService=d,t.RATING=n,t.ɵa=h,t.ɵb=a,Object.defineProperty(t,"__esModule",{value:!0})}));
//# sourceMappingURL=ngx-gravatar.umd.min.js.map

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

# v8.1.0
* BugFix: Electron issue [#9](https://github.com/t-ho/ngx-gravatar/issues/9)
* Export NgxGravatarService
# v8.0.0

@@ -2,0 +6,0 @@ * Support Angular 8

4

esm2015/lib/ngx-gravatar.service.js

@@ -60,3 +60,3 @@ /**

fallback = this.determineFallback(fallback, this.defaultConfig.fallback);
return `//www.gravatar.com/avatar/${emailHash}?s=${size}&r=${rating}&d=${fallback}`;
return `https://www.gravatar.com/avatar/${emailHash}?s=${size}&r=${rating}&d=${fallback}`;
}

@@ -121,2 +121,2 @@ /**

}
//# source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OiBzdHJpbmcgPSBERUZBVUxUX0NPTkZJRy5yYXRpbmcpOiBzdHJpbmcge1xuICAgIGlmIChyYXRpbmcgPT09IHVuZGVmaW5lZCkge1xuICAgICAgcmV0dXJuIGRlZmF1bHRSYXRpbmc7XG4gICAgfVxuXG4gICAgaWYgKFJBVElOR1tyYXRpbmddID09PSB1bmRlZmluZWQpIHtcbiAgICAgIGNvbnNvbGUuZXJyb3IoYFtuZ3gtZ3JhdmF0YXJdIC0gXCIke3JhdGluZ31cIiBpcyBpbnZhbGlkIGdyYXZhdGFyIHJhdGluZyB0eXBlLiBgICsgYERlZmF1bHQgcmF0aW5nIFwiJHtkZWZhdWx0UmF0aW5nfVwiIGlzIHVzZWQuYCk7XG4gICAgICByZXR1cm4gZGVmYXVsdFJhdGluZztcbiAgICB9XG5cbiAgICByZXR1cm4gcmF0aW5nO1xuICB9XG59XG4iXX0=

@@ -8,6 +8,5 @@ /**

*/
export { GravatarModule, FALLBACK, RATING } from './public-api';
export { GRAVATAR_CONFIG_TOKEN as ɵc } from './lib/gravatar-config.token';
export { GravatarModule, NgxGravatarService, FALLBACK, RATING } from './public-api';
export { GRAVATAR_CONFIG_TOKEN as ɵb } from './lib/gravatar-config.token';
export { NgxGravatarDirective as ɵa } from './lib/ngx-gravatar.directive';
export { NgxGravatarService as ɵb } from './lib/ngx-gravatar.service';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWdyYXZhdGFyLmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LWdyYXZhdGFyLyIsInNvdXJjZXMiOlsibmd4LWdyYXZhdGFyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFJQSxpREFBYyxjQUFjLENBQUM7QUFFN0IsT0FBTyxFQUFDLHFCQUFxQixJQUFJLEVBQUUsRUFBQyxNQUFNLDZCQUE2QixDQUFDO0FBQ3hFLE9BQU8sRUFBQyxvQkFBb0IsSUFBS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BpJztcblxuZXhwb3J0IHtHUkFWQVRBUl9DT05GSUdfVE9LRU4gYXMgybVifSBmcm9tICcuL2xpYi9ncmF2YXRhci1jb25maWcudG9rZW4nO1xuZXhwb3J0IHtOZ3hHcmF2YXRhckRpcmVjdGl2ZSBhcyDJtWF9IGZyb20gJy4vbGliL25neC1ncmF2YXRhci5kaXJlY3RpdmUnOyJdfQ==

@@ -9,3 +9,4 @@ /**

export { GravatarModule } from './lib/gravatar.module';
export { NgxGravatarService } from './lib/ngx-gravatar.service';
export { FALLBACK, RATING } from './lib/ngx-gravatar.enums';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1ncmF2YXRhci8iLCJzb3VyY2VzIjpbInB1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUlBLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztBQUV2RCxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sRUFBRSxNQUFNLDBCQUEwQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLypcbiAqIFB1YmxpYyBBUEkgU3VyZmFjZSBvZiBuZ3gtZ3JhdmF0YXJcbiAqL1xuXG5leHBvcnQgeyBHcmF2YXRhck1vZHVsZSB9IGZyb20gJy4vbGliL2dyYXZhdGFyLm1vZHVsZSc7XG5leHBvcnQgeyBHcmF2YXRhckNvbmZpZyB9IGZyb20gJy4vbGliL2dyYXZhdGFyLWNvbmZpZyc7XG5leHBvcnQgeyBGQUxMQkFDSywgUkFUSU5HIH0gZnJvbSAnLi9saWIvbmd4LWdyYXZhdGFyLmVudW1zJztcbiJdfQ==
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1ncmF2YXRhci8iLCJzb3VyY2VzIjpbInB1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUlBLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztBQUV2RCxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQztBQUNoRSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sRUFBRSxNQUFNLDBCQUEwQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLypcbiAqIFB1YmxpYyBBUEkgU3VyZmFjZSBvZiBuZ3gtZ3JhdmF0YXJcbiAqL1xuXG5leHBvcnQgeyBHcmF2YXRhck1vZHVsZSB9IGZyb20gJy4vbGliL2dyYXZhdGFyLm1vZHVsZSc7XG5leHBvcnQgeyBHcmF2YXRhckNvbmZpZyB9IGZyb20gJy4vbGliL2dyYXZhdGFyLWNvbmZpZyc7XG5leHBvcnQgeyBOZ3hHcmF2YXRhclNlcnZpY2UgfSBmcm9tICcuL2xpYi9uZ3gtZ3JhdmF0YXIuc2VydmljZSc7XG5leHBvcnQgeyBGQUxMQkFDSywgUkFUSU5HIH0gZnJvbSAnLi9saWIvbmd4LWdyYXZhdGFyLmVudW1zJztcbiJdfQ==

@@ -83,3 +83,3 @@ /**

fallback = this.determineFallback(fallback, this.defaultConfig.fallback);
return "//www.gravatar.com/avatar/" + emailHash + "?s=" + size + "&r=" + rating + "&d=" + fallback;
return "https://www.gravatar.com/avatar/" + emailHash + "?s=" + size + "&r=" + rating + "&d=" + fallback;
};

@@ -174,2 +174,2 @@ /**

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWdyYXZhdGFyLnNlcnZpY2UuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtZ3JhdmF0YXIvIiwic291cmNlcyI6WyJsaWIvbmd4LWdyYXZhdGFyLnNlcnZpY2U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cIiBpcyB1c2VkLmBcbiAgICAgICk7XG4gICAgICByZXR1cm4gZGVmYXVsdEZhbGxiYWNrO1xuICAgIH1cblxuICAgIHJldHVybiBmYWxsYmFjaztcbiAgfVxuXG4gIC8qKlxuICAgKiBEZXRlcm1pbmUgZ3JhdmF0YXIgcmF0aW5nIHN0cmluZ1xuICAgKiBAcGFyYW0gcmF0aW5nIHN0cmluZ1xuICAgKiBAcGFyYW0gZGVmYXVsdFJhdGluZyBzdHJpbmdcbiAgICogQHJldHVybiBzdHJpbmdcbiAgICovXG4gIHByaXZhdGUgZGV0ZXJtaW5lUmF0aW5nKHJhdGluZzogc3RyaW5nLCBkZWZhdWx0UmF0aW5nOiBzdHJpbmcgPSBERUZBVUxUX0NPTkZJRy5yYXRpbmcpOiBzdHJpbmcge1xuICAgIGlmIChyYXRpbmcgPT09IHVuZGVmaW5lZCkge1xuICAgICAgcmV0dXJuIGRlZmF1bHRSYXRpbmc7XG4gICAgfVxuXG4gICAgaWYgKFJBVElOR1tyYXRpbmddID09PSB1bmRlZmluZWQpIHtcbiAgICAgIGNvbnNvbGUuZXJyb3IoYFtuZ3gtZ3JhdmF0YXJdIC0gXCIke3JhdGluZ31cIiBpcyBpbnZhbGlkIGdyYXZhdGFyIHJhdGluZyB0eXBlLiBgICsgYERlZmF1bHQgcmF0aW5nIFwiJHtkZWZhdWx0UmF0aW5nfVwiIGlzIHVzZWQuYCk7XG4gICAgICByZXR1cm4gZGVmYXVsdFJhdGluZztcbiAgICB9XG5cbiAgICByZXR1cm4gcmF0aW5nO1xuICB9XG59XG4iXX0=

@@ -8,6 +8,5 @@ /**

*/
export { GravatarModule, FALLBACK, RATING } from './public-api';
export { GRAVATAR_CONFIG_TOKEN as ɵc } from './lib/gravatar-config.token';
export { GravatarModule, NgxGravatarService, FALLBACK, RATING } from './public-api';
export { GRAVATAR_CONFIG_TOKEN as ɵb } from './lib/gravatar-config.token';
export { NgxGravatarDirective as ɵa } from './lib/ngx-gravatar.directive';
export { NgxGravatarService as ɵb } from './lib/ngx-gravatar.service';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWdyYXZhdGFyLmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LWdyYXZhdGFyLyIsInNvdXJjZXMiOlsibmd4LWdyYXZhdGFyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFJQSxpREFBYyxjQUFjLENBQUM7QUFFN0IsT0FBTyxFQUFDLHFCQUFxQixJQUFJLEVBQUUsRUFBQyxNQUFNLDZCQUE2QixDQUFDO0FBQ3hFLE9BQU8sRUFBQyxvQkFBb0IsSUFBSSxFQUFFLEVBQUMsTUFBTSw4QkFBOEIsQ0FBQztBQUN4RSxPQUFPLEVBQUMsa0JBQWtCLElBQUksRUFBRSxFQUFDLE1BQU0sNEJBQTRCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljLWFwaSc7XG5cbmV4cG9ydCB7R1JBVkFUQVJfQ09ORklHX1RPS0VOIGFzIMm1Y30gZnJvbSAnLi9saWIvZ3JhdmF0YXItY29uZmlnLnRva2VuJztcbmV4cG9ydCB7Tmd4R3JhdmF0YXJEaXJlY3RpdmUgYXMgybVhfSBmcm9tICcuL2xpYi9uZ3gtZ3JhdmF0YXIuZGlyZWN0aXZlJztcbmV4cG9ydCB7Tmd4R3JhdmF0YXJTZXJ2aWNlIGFzIMm1Yn0gZnJvbSAnLi9saWIvbmd4LWdyYXZhdGFyLnNlcnZpY2UnOyJdfQ==
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWdyYXZhdGFyLmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LWdyYXZhdGFyLyIsInNvdXJjZXMiOlsibmd4LWdyYXZhdGFyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFJQSxxRUFBYyxjQUFjLENBQUM7QUFFN0IsT0FBTyxFQUFDLHFCQUFxQixJQUFJLEVBQUUsRUFBQyxNQUFNLDZCQUE2QixDQUFDO0FBQ3hFLE9BQU8sRUFBQyxvQkFBb0IsSUFBSSxFQUFFLEVBQUMsTUFBTSw4QkFBOEIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcblxuZXhwb3J0IHtHUkFWQVRBUl9DT05GSUdfVE9LRU4gYXMgybVifSBmcm9tICcuL2xpYi9ncmF2YXRhci1jb25maWcudG9rZW4nO1xuZXhwb3J0IHtOZ3hHcmF2YXRhckRpcmVjdGl2ZSBhcyDJtWF9IGZyb20gJy4vbGliL25neC1ncmF2YXRhci5kaXJlY3RpdmUnOyJdfQ==

@@ -9,3 +9,4 @@ /**

export { GravatarModule } from './lib/gravatar.module';
export { NgxGravatarService } from './lib/ngx-gravatar.service';
export { FALLBACK, RATING } from './lib/ngx-gravatar.enums';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1ncmF2YXRhci8iLCJzb3VyY2VzIjpbInB1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUlBLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztBQUV2RCxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sRUFBRSxNQUFNLDBCQUEwQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLypcbiAqIFB1YmxpYyBBUEkgU3VyZmFjZSBvZiB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iJdfQ==

@@ -110,3 +110,3 @@ import { InjectionToken, Injectable, Optional, Inject, ɵɵdefineInjectable, ɵɵinject, Directive, ElementRef, Renderer2, Input, NgModule } from '@angular/core';

fallback = this.determineFallback(fallback, this.defaultConfig.fallback);
return `//www.gravatar.com/avatar/${emailHash}?s=${size}&r=${rating}&d=${fallback}`;
return `https://www.gravatar.com/avatar/${emailHash}?s=${size}&r=${rating}&d=${fallback}`;
}

@@ -159,2 +159,14 @@ /**

/** @nocollapse */ NgxGravatarService.ngInjectableDef = ɵɵdefineInjectable({ factory: function NgxGravatarService_Factory() { return new NgxGravatarService(ɵɵinject(GRAVATAR_CONFIG_TOKEN, 8)); }, token: NgxGravatarService, providedIn: "root" });
if (false) {
/**
* @type {?}
* @private
*/
NgxGravatarService.prototype.defaultConfig;
/**
* @type {?}
* @private
*/
NgxGravatarService.prototype.gravatarConfig;
}

@@ -332,2 +344,55 @@ /**

};
if (false) {
/** @type {?} */
NgxGravatarDirective.prototype.src;
/** @type {?} */
NgxGravatarDirective.prototype.email;
/** @type {?} */
NgxGravatarDirective.prototype.md5Hash;
/** @type {?} */
NgxGravatarDirective.prototype.size;
/** @type {?} */
NgxGravatarDirective.prototype.fallback;
/** @type {?} */
NgxGravatarDirective.prototype.rating;
/** @type {?} */
NgxGravatarDirective.prototype.round;
/** @type {?} */
NgxGravatarDirective.prototype.cornerRadius;
/** @type {?} */
NgxGravatarDirective.prototype.borderColor;
/** @type {?} */
NgxGravatarDirective.prototype.borderWidth;
/** @type {?} */
NgxGravatarDirective.prototype.style;
/** @type {?} */
NgxGravatarDirective.prototype.preferGravatar;
/** @type {?} */
NgxGravatarDirective.prototype.backgroundColor;
/** @type {?} */
NgxGravatarDirective.prototype.ratio;
/** @type {?} */
NgxGravatarDirective.prototype.initialized;
/** @type {?} */
NgxGravatarDirective.prototype.defaultConfig;
/** @type {?} */
NgxGravatarDirective.prototype.requestedSize;
/** @type {?} */
NgxGravatarDirective.prototype.isGravatarUsed;
/**
* @type {?}
* @private
*/
NgxGravatarDirective.prototype.elementRef;
/**
* @type {?}
* @private
*/
NgxGravatarDirective.prototype.renderer;
/**
* @type {?}
* @private
*/
NgxGravatarDirective.prototype.gravatarService;
}

@@ -372,3 +437,3 @@ /**

export { FALLBACK, GravatarModule, RATING, NgxGravatarDirective as ɵa, NgxGravatarService as ɵb, GRAVATAR_CONFIG_TOKEN as ɵc };
export { FALLBACK, GravatarModule, NgxGravatarService, RATING, NgxGravatarDirective as ɵa, GRAVATAR_CONFIG_TOKEN as ɵb };
//# sourceMappingURL=ngx-gravatar.js.map

@@ -133,3 +133,3 @@ import { InjectionToken, Injectable, Optional, Inject, ɵɵdefineInjectable, ɵɵinject, Directive, ElementRef, Renderer2, Input, NgModule } from '@angular/core';

fallback = this.determineFallback(fallback, this.defaultConfig.fallback);
return "//www.gravatar.com/avatar/" + emailHash + "?s=" + size + "&r=" + rating + "&d=" + fallback;
return "https://www.gravatar.com/avatar/" + emailHash + "?s=" + size + "&r=" + rating + "&d=" + fallback;
};

@@ -211,2 +211,14 @@ /**

}());
if (false) {
/**
* @type {?}
* @private
*/
NgxGravatarService.prototype.defaultConfig;
/**
* @type {?}
* @private
*/
NgxGravatarService.prototype.gravatarConfig;
}

@@ -437,2 +449,55 @@ /**

}());
if (false) {
/** @type {?} */
NgxGravatarDirective.prototype.src;
/** @type {?} */
NgxGravatarDirective.prototype.email;
/** @type {?} */
NgxGravatarDirective.prototype.md5Hash;
/** @type {?} */
NgxGravatarDirective.prototype.size;
/** @type {?} */
NgxGravatarDirective.prototype.fallback;
/** @type {?} */
NgxGravatarDirective.prototype.rating;
/** @type {?} */
NgxGravatarDirective.prototype.round;
/** @type {?} */
NgxGravatarDirective.prototype.cornerRadius;
/** @type {?} */
NgxGravatarDirective.prototype.borderColor;
/** @type {?} */
NgxGravatarDirective.prototype.borderWidth;
/** @type {?} */
NgxGravatarDirective.prototype.style;
/** @type {?} */
NgxGravatarDirective.prototype.preferGravatar;
/** @type {?} */
NgxGravatarDirective.prototype.backgroundColor;
/** @type {?} */
NgxGravatarDirective.prototype.ratio;
/** @type {?} */
NgxGravatarDirective.prototype.initialized;
/** @type {?} */
NgxGravatarDirective.prototype.defaultConfig;
/** @type {?} */
NgxGravatarDirective.prototype.requestedSize;
/** @type {?} */
NgxGravatarDirective.prototype.isGravatarUsed;
/**
* @type {?}
* @private
*/
NgxGravatarDirective.prototype.elementRef;
/**
* @type {?}
* @private
*/
NgxGravatarDirective.prototype.renderer;
/**
* @type {?}
* @private
*/
NgxGravatarDirective.prototype.gravatarService;
}

@@ -484,3 +549,3 @@ /**

export { FALLBACK, GravatarModule, RATING, NgxGravatarDirective as ɵa, NgxGravatarService as ɵb, GRAVATAR_CONFIG_TOKEN as ɵc };
export { FALLBACK, GravatarModule, NgxGravatarService, RATING, NgxGravatarDirective as ɵa, GRAVATAR_CONFIG_TOKEN as ɵb };
//# sourceMappingURL=ngx-gravatar.js.map

@@ -5,4 +5,3 @@ /**

export * from './public-api';
export { GRAVATAR_CONFIG_TOKEN as ɵc } from './lib/gravatar-config.token';
export { GRAVATAR_CONFIG_TOKEN as ɵb } from './lib/gravatar-config.token';
export { NgxGravatarDirective as ɵa } from './lib/ngx-gravatar.directive';
export { NgxGravatarService as ɵb } from './lib/ngx-gravatar.service';

@@ -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"}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":["gravatarConfig"],"value":{"ngModule":{"__symbolic":"reference","name":"GravatarModule"},"providers":[{"provide":{"__symbolic":"reference","name":"ɵc"},"useValue":{"__symbolic":"reference","name":"gravatarConfig"}}]}}}},"GravatarConfig":{"__symbolic":"interface"},"FALLBACK":{"blank":"blank","identicon":"identicon","mm":"mm","mp":"mp","monsterid":"monsterid","retro":"retro","robohash":"robohash","wavatar":"wavatar"},"RATING":{"g":"g","pg":"pg","r":"r","x":"x"},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":4,"character":1},"arguments":[{"selector":"[ngx-gravatar], [ngxGravatar]"}]}],"members":{"src":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":8,"character":3}}]}],"email":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":9,"character":3}}]}],"md5Hash":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":10,"character":3}}]}],"size":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":3}}]}],"fallback":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3}}]}],"rating":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":13,"character":3}}]}],"round":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":14,"character":3}}]}],"cornerRadius":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":15,"character":3}}]}],"borderColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":16,"character":3}}]}],"borderWidth":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":17,"character":3}}]}],"style":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":18,"character":3}}]}],"preferGravatar":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":19,"character":3}}]}],"backgroundColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":20,"character":3}}]}],"ratio":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":21,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":28,"character":34},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":28,"character":64},{"__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":7,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":13,"character":15}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":13,"character":27},"arguments":[{"__symbolic":"reference","name":"ɵc"}]}]],"parameters":[{"__symbolic":"reference","name":"GravatarConfig"}]}],"getDefaultConfig":[{"__symbolic":"method"}],"generateGravatarUrl":[{"__symbolic":"method"}],"determineFallback":[{"__symbolic":"method"}],"determineRating":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"ɵc":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":6,"character":41},"arguments":["gravatarCustom.config"]}},"origins":{"GravatarModule":"./lib/gravatar.module","GravatarConfig":"./lib/gravatar-config","FALLBACK":"./lib/ngx-gravatar.enums","RATING":"./lib/ngx-gravatar.enums","ɵa":"./lib/ngx-gravatar.directive","ɵb":"./lib/ngx-gravatar.service","ɵc":"./lib/gravatar-config.token"},"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"}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":["gravatarConfig"],"value":{"ngModule":{"__symbolic":"reference","name":"GravatarModule"},"providers":[{"provide":{"__symbolic":"reference","name":"ɵb"},"useValue":{"__symbolic":"reference","name":"gravatarConfig"}}]}}}},"GravatarConfig":{"__symbolic":"interface"},"NgxGravatarService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":7,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":13,"character":15}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":13,"character":27},"arguments":[{"__symbolic":"reference","name":"ɵb"}]}]],"parameters":[{"__symbolic":"reference","name":"GravatarConfig"}]}],"getDefaultConfig":[{"__symbolic":"method"}],"generateGravatarUrl":[{"__symbolic":"method"}],"determineFallback":[{"__symbolic":"method"}],"determineRating":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"FALLBACK":{"blank":"blank","identicon":"identicon","mm":"mm","mp":"mp","monsterid":"monsterid","retro":"retro","robohash":"robohash","wavatar":"wavatar"},"RATING":{"g":"g","pg":"pg","r":"r","x":"x"},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":4,"character":1},"arguments":[{"selector":"[ngx-gravatar], [ngxGravatar]"}]}],"members":{"src":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":8,"character":3}}]}],"email":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":9,"character":3}}]}],"md5Hash":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":10,"character":3}}]}],"size":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":3}}]}],"fallback":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3}}]}],"rating":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":13,"character":3}}]}],"round":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":14,"character":3}}]}],"cornerRadius":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":15,"character":3}}]}],"borderColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":16,"character":3}}]}],"borderWidth":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":17,"character":3}}]}],"style":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":18,"character":3}}]}],"preferGravatar":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":19,"character":3}}]}],"backgroundColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":20,"character":3}}]}],"ratio":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":21,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":28,"character":34},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":28,"character":64},{"__symbolic":"reference","name":"NgxGravatarService"}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"setDefaultValues":[{"__symbolic":"method"}],"initializeAvatar":[{"__symbolic":"method"}],"computeSize":[{"__symbolic":"method"}],"avatarStyle":[{"__symbolic":"method"}],"setStyle":[{"__symbolic":"method"}]}},"ɵb":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":6,"character":41},"arguments":["gravatarCustom.config"]}},"origins":{"GravatarModule":"./lib/gravatar.module","GravatarConfig":"./lib/gravatar-config","NgxGravatarService":"./lib/ngx-gravatar.service","FALLBACK":"./lib/ngx-gravatar.enums","RATING":"./lib/ngx-gravatar.enums","ɵa":"./lib/ngx-gravatar.directive","ɵb":"./lib/gravatar-config.token"},"importAs":"ngx-gravatar"}
{
"name": "ngx-gravatar",
"description": "A customizable Gravatar for Angular 4, 5, 6, 7 and 8+ applications - AoT compatible. It supports custom image and Gravatar sources",
"version": "8.0.0",
"version": "8.1.0",
"repository": {

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

export { GravatarModule } from './lib/gravatar.module';
export { GravatarConfig } from './lib/gravatar-config';
export { NgxGravatarService } from './lib/ngx-gravatar.service';
export { FALLBACK, RATING } from './lib/ngx-gravatar.enums';

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

[![npm version](https://badge.fury.io/js/ngx-gravatar.svg)](https://badge.fury.io/js/ngx-gravatar)
[![npm version](https://img.shields.io/npm/v/ngx-gravatar)](https://www.npmjs.com/package/ngx-gravatar)
[![Build Status](https://travis-ci.org/t-ho/ngx-gravatar.svg?branch=master)](https://travis-ci.org/t-ho/ngx-gravatar)

@@ -3,0 +3,0 @@ [![codecov](https://codecov.io/gh/t-ho/ngx-gravatar/branch/master/graph/badge.svg)](https://codecov.io/gh/t-ho/ngx-gravatar)

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