ngx-gravatar
Advanced tools
Comparing version 11.0.0 to 13.0.0
@@ -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>; | ||
} |
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` | |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
1046
0
52
108769
26
1
Updatedts-md5@^1.2.11
Updatedtslib@^2.3.0