ngx-img-fallback
Advanced tools
Comparing version 1.3.4 to 2.0.0
/** | ||
* Generated bundle index. Do not edit. | ||
*/ | ||
/// <amd-module name="ngx-img-fallback" /> | ||
export * from './public_api'; |
{ | ||
"name": "ngx-img-fallback", | ||
"version": "1.3.4", | ||
"version": "2.0.0", | ||
"description": "Angular5+ directive for image fallback", | ||
@@ -26,53 +26,25 @@ "private": false, | ||
"homepage": "https://github.com/VadimDez/ngx-img-fallback#readme", | ||
"peerDependencies": { | ||
"@angular/core": ">=5.0.0" | ||
"module": "fesm2015/ngx-img-fallback.mjs", | ||
"es2020": "fesm2020/ngx-img-fallback.mjs", | ||
"esm2020": "esm2020/ngx-img-fallback.mjs", | ||
"fesm2020": "fesm2020/ngx-img-fallback.mjs", | ||
"fesm2015": "fesm2015/ngx-img-fallback.mjs", | ||
"typings": "ngx-img-fallback.d.ts", | ||
"exports": { | ||
"./package.json": { | ||
"default": "./package.json" | ||
}, | ||
".": { | ||
"types": "./ngx-img-fallback.d.ts", | ||
"esm2020": "./esm2020/ngx-img-fallback.mjs", | ||
"es2020": "./fesm2020/ngx-img-fallback.mjs", | ||
"es2015": "./fesm2015/ngx-img-fallback.mjs", | ||
"node": "./fesm2015/ngx-img-fallback.mjs", | ||
"default": "./fesm2020/ngx-img-fallback.mjs" | ||
} | ||
}, | ||
"sideEffects": false, | ||
"dependencies": { | ||
"tslib": "^1.9.0" | ||
}, | ||
"devDependencies": { | ||
"@angular/animations": "~8.0.0", | ||
"@angular/common": "~8.0.0", | ||
"@angular/compiler": "~8.0.0", | ||
"@angular/core": "~8.0.0", | ||
"@angular/forms": "~8.0.0", | ||
"@angular/platform-browser": "~8.0.0", | ||
"@angular/platform-browser-dynamic": "~8.0.0", | ||
"@angular/router": "~8.0.0", | ||
"rxjs": "~6.4.0", | ||
"tslib": "^1.9.0", | ||
"zone.js": "~0.9.1", | ||
"@angular-devkit/build-angular": "~0.800.0", | ||
"@angular/cli": "~8.0.1", | ||
"@angular/compiler-cli": "~8.0.0", | ||
"@angular/language-service": "~8.0.0", | ||
"@types/node": "~8.9.4", | ||
"@types/jasmine": "~3.3.8", | ||
"@types/jasminewd2": "~2.0.3", | ||
"codelyzer": "^5.0.0", | ||
"jasmine-core": "~3.4.0", | ||
"jasmine-spec-reporter": "~4.2.1", | ||
"karma": "~4.1.0", | ||
"karma-chrome-launcher": "~2.2.0", | ||
"karma-coverage-istanbul-reporter": "~2.0.1", | ||
"karma-jasmine": "~2.0.1", | ||
"karma-jasmine-html-reporter": "^1.4.0", | ||
"protractor": "~5.4.0", | ||
"ts-node": "~7.0.0", | ||
"tslint": "~5.15.0", | ||
"typescript": "~3.4.3", | ||
"core-js": "^2.4.1", | ||
"ng-packagr": "^5.3.0" | ||
}, | ||
"$schema": "./node_modules/ng-packagr/package.schema.json", | ||
"main": "bundles/ngx-img-fallback.umd.js", | ||
"module": "fesm5/ngx-img-fallback.js", | ||
"es2015": "fesm2015/ngx-img-fallback.js", | ||
"esm5": "esm5/ngx-img-fallback.js", | ||
"esm2015": "esm2015/ngx-img-fallback.js", | ||
"fesm5": "fesm5/ngx-img-fallback.js", | ||
"fesm2015": "fesm2015/ngx-img-fallback.js", | ||
"typings": "ngx-img-fallback.d.ts", | ||
"metadata": "ngx-img-fallback.metadata.json", | ||
"sideEffects": false | ||
} | ||
"tslib": "^2.3.0" | ||
} | ||
} |
@@ -1,4 +0,17 @@ | ||
# Angular 5+ Image Fallback | ||
![https://www.npmjs.com/package/ngx-img-fallback](https://img.shields.io/npm/dm/ngx-img-fallback.svg?style=flat) ![https://www.npmjs.com/package/ng2-img-fallback](https://img.shields.io/npm/dm/ng2-img-fallback.svg?style=flat) [![npm version](https://badge.fury.io/js/ng2-img-fallback.svg)](https://badge.fury.io/js/ngx-img-fallback) ![Dependencies](https://david-dm.org/vadimdez/ngx-img-fallback.svg) ![https://www.paypal.me/vadimdez](https://img.shields.io/badge/paypal-donate-yellow.svg) | ||
<h1 align="center">Angular 5+ Image Fallback</h1> | ||
<p align="center"> | ||
<a href="https://www.npmjs.com/package/ngx-img-fallback"> | ||
<img src="https://img.shields.io/npm/dm/ngx-img-fallback.svg?style=flat" alt="downloads"> | ||
</a> | ||
<a href="https://www.npmjs.com/package/ng2-img-fallback"> | ||
<img src="https://badge.fury.io/js/ng2-img-fallback.svg" alt="downloads"> | ||
</a> | ||
<a href="https://www.paypal.me/vadimdez"> | ||
<img src="https://img.shields.io/badge/paypal-donate-yellow.svg" alt="downloads"> | ||
</a> | ||
</p> | ||
> Load placeholder image on image error | ||
@@ -8,11 +21,11 @@ | ||
### Demo | ||
### Demo page | ||
[Demo page](https://vadimdez.github.io/ngx-img-fallback/) | ||
or code demo | ||
### Stackblitz Example | ||
[https://stackblitz.com/edit/ngx-img-fallback](https://stackblitz.com/edit/ngx-img-fallback) | ||
### Install | ||
## Install | ||
@@ -25,3 +38,3 @@ ``` | ||
### Usage | ||
## Usage | ||
@@ -69,3 +82,3 @@ *In case you're using ```SystemJS``` see configuration [here](https://github.com/VadimDez/ngx-img-fallback/blob/master/SYSTEMJS.md)* | ||
### Events | ||
## Events | ||
@@ -92,4 +105,4 @@ #### `(loaded)` | ||
### License | ||
## License | ||
[MIT](https://tldrlegal.com/license/mit-license) © [Vadym Yatsyuk](https://github.com/vadimdez) |
@@ -5,2 +5,3 @@ /** | ||
import { ElementRef, EventEmitter, OnDestroy, Renderer2 } from '@angular/core'; | ||
import * as i0 from "@angular/core"; | ||
export declare class ImgFallbackDirective implements OnDestroy { | ||
@@ -24,2 +25,4 @@ private el; | ||
private addEvents; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<ImgFallbackDirective, never>; | ||
static ɵdir: i0.ɵɵDirectiveDeclaration<ImgFallbackDirective, "[src-fallback]", never, { "imgSrc": "src-fallback"; }, { "loaded": "loaded"; }, never>; | ||
} |
@@ -0,2 +1,7 @@ | ||
import * as i0 from "@angular/core"; | ||
import * as i1 from "./ngx-img-fallback.directive"; | ||
export declare class ImgFallbackModule { | ||
static ɵfac: i0.ɵɵFactoryDeclaration<ImgFallbackModule, never>; | ||
static ɵmod: i0.ɵɵNgModuleDeclaration<ImgFallbackModule, [typeof i1.ImgFallbackDirective], never, [typeof i1.ImgFallbackDirective]>; | ||
static ɵinj: i0.ɵɵInjectorDeclaration<ImgFallbackModule>; | ||
} |
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
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
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
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
1
0
0
0
105
34467
16
319
- Removed@angular/core@19.0.1(transitive)
- Removedrxjs@7.8.1(transitive)
- Removedtslib@1.14.1(transitive)
- Removedzone.js@0.15.0(transitive)
Updatedtslib@^2.3.0