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 11.0.0 to 13.0.0

esm2020/lib/gravatar-config.mjs

4

CHANGELOG.md

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

# v13.0.0
- Upgrade to Angular 13
# v11.0.0

@@ -2,0 +6,0 @@

import { ModuleWithProviders } from '@angular/core';
import { GravatarConfig } from './gravatar-config';
import * as i0 from "@angular/core";
import * as i1 from "./ngx-gravatar.directive";
export declare class GravatarModule {
static forRoot(gravatarConfig: GravatarConfig): ModuleWithProviders<GravatarModule>;
static ɵfac: i0.ɵɵFactoryDeclaration<GravatarModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<GravatarModule, [typeof i1.NgxGravatarDirective], never, [typeof i1.NgxGravatarDirective]>;
static ɵinj: i0.ɵɵInjectorDeclaration<GravatarModule>;
}

5

lib/ngx-gravatar.directive.d.ts
import { ElementRef, OnChanges, OnInit, Renderer2 } from '@angular/core';
import { NgxGravatarService } from './ngx-gravatar.service';
import { GravatarConfig } from './gravatar-config';
import * as i0 from "@angular/core";
export declare class NgxGravatarDirective implements OnChanges, OnInit {

@@ -20,3 +21,3 @@ private elementRef;

preferGravatar: boolean;
backgroundColor: boolean;
backgroundColor: string;
ratio: number;

@@ -58,2 +59,4 @@ initialized: boolean;

private setStyle;
static ɵfac: i0.ɵɵFactoryDeclaration<NgxGravatarDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<NgxGravatarDirective, "[ngx-gravatar], [ngxGravatar]", never, { "src": "src"; "email": "email"; "md5Hash": "md5Hash"; "size": "size"; "fallback": "fallback"; "rating": "rating"; "round": "round"; "cornerRadius": "cornerRadius"; "borderColor": "borderColor"; "borderWidth": "borderWidth"; "style": "style"; "preferGravatar": "preferGravatar"; "backgroundColor": "backgroundColor"; "ratio": "ratio"; }, {}, never>;
}
import { GravatarConfig } from './gravatar-config';
import * as i0 from "@angular/core";
export declare class NgxGravatarService {

@@ -21,2 +22,4 @@ private gravatarConfig;

generateGravatarUrl(email: string, md5Hash?: string, size?: number, rating?: string, fallback?: string): string;
static ɵfac: i0.ɵɵFactoryDeclaration<NgxGravatarService, [{ optional: true; }]>;
static ɵprov: i0.ɵɵInjectableDeclaration<NgxGravatarService>;
}
/**
* Generated bundle index. Do not edit.
*/
/// <amd-module name="ngx-gravatar" />
export * from './public-api';
export { GRAVATAR_CONFIG_TOKEN as ɵb } from './lib/gravatar-config.token';
export { NgxGravatarDirective as ɵa } from './lib/ngx-gravatar.directive';
{
"name": "ngx-gravatar",
"description": "A customizable Gravatar for Angular applications.",
"version": "11.0.0",
"version": "13.0.0",
"repository": {

@@ -14,8 +14,8 @@ "type": "git",

"peerDependencies": {
"@angular/core": ">=11.0.0",
"@angular/common": ">=11.0.0"
"@angular/core": ">=13.0.0",
"@angular/common": ">=13.0.0"
},
"dependencies": {
"ts-md5": "^1.2.7",
"tslib": "^2.0.0"
"ts-md5": "^1.2.11",
"tslib": "^2.3.0"
},

@@ -35,10 +35,22 @@ "keywords": [

],
"main": "bundles/ngx-gravatar.umd.js",
"module": "fesm2015/ngx-gravatar.js",
"es2015": "fesm2015/ngx-gravatar.js",
"esm2015": "esm2015/ngx-gravatar.js",
"fesm2015": "fesm2015/ngx-gravatar.js",
"module": "fesm2015/ngx-gravatar.mjs",
"es2020": "fesm2020/ngx-gravatar.mjs",
"esm2020": "esm2020/ngx-gravatar.mjs",
"fesm2020": "fesm2020/ngx-gravatar.mjs",
"fesm2015": "fesm2015/ngx-gravatar.mjs",
"typings": "ngx-gravatar.d.ts",
"metadata": "ngx-gravatar.metadata.json",
"exports": {
"./package.json": {
"default": "./package.json"
},
".": {
"types": "./ngx-gravatar.d.ts",
"esm2020": "./esm2020/ngx-gravatar.mjs",
"es2020": "./fesm2020/ngx-gravatar.mjs",
"es2015": "./fesm2015/ngx-gravatar.mjs",
"node": "./fesm2015/ngx-gravatar.mjs",
"default": "./fesm2020/ngx-gravatar.mjs"
}
},
"sideEffects": false
}
export { GravatarModule } from './lib/gravatar.module';
export { GravatarConfig } from './lib/gravatar-config';
export { NgxGravatarService } from './lib/ngx-gravatar.service';
export { NgxGravatarDirective } from './lib/ngx-gravatar.directive';
export { FALLBACK, RATING } from './lib/ngx-gravatar.enums';

@@ -43,3 +43,4 @@ [![npm version](https://img.shields.io/npm/v/ngx-gravatar)](https://www.npmjs.com/package/ngx-gravatar)

| ------------- | ---------------------------------- |
| Angular 11 | `npm i --save ngx-gravatar` |
| Angular 13 | `npm i --save ngx-gravatar` |
| Angular 11 | `npm i --save ngx-gravatar@11.0.0` |
| Angular 10 | `npm i --save ngx-gravatar@10.0.0` |

@@ -46,0 +47,0 @@ | Angular 9 | `npm i --save ngx-gravatar@9.1.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