angular-cropperjs
Advanced tools
Comparing version 1.0.2 to 8.0.0
@@ -0,2 +1,8 @@ | ||
import * as i0 from "@angular/core"; | ||
import * as i1 from "./cropper/cropper.component"; | ||
import * as i2 from "@angular/common"; | ||
export declare class AngularCropperjsModule { | ||
static ɵfac: i0.ɵɵFactoryDeclaration<AngularCropperjsModule, never>; | ||
static ɵmod: i0.ɵɵNgModuleDeclaration<AngularCropperjsModule, [typeof i1.CropperComponent], [typeof i2.CommonModule], [typeof i1.CropperComponent]>; | ||
static ɵinj: i0.ɵɵInjectorDeclaration<AngularCropperjsModule>; | ||
} |
@@ -0,3 +1,6 @@ | ||
import * as i0 from "@angular/core"; | ||
export declare class AngularCropperjsService { | ||
constructor(); | ||
static ɵfac: i0.ɵɵFactoryDeclaration<AngularCropperjsService, never>; | ||
static ɵprov: i0.ɵɵInjectableDeclaration<AngularCropperjsService>; | ||
} |
@@ -1,3 +0,4 @@ | ||
import { OnInit, ElementRef, EventEmitter } from '@angular/core'; | ||
import Cropper from 'cropperjs'; | ||
import { OnInit, ElementRef, EventEmitter, OnDestroy } from "@angular/core"; | ||
import Cropper from "cropperjs"; | ||
import * as i0 from "@angular/core"; | ||
export interface ImageCropperSetting { | ||
@@ -13,3 +14,3 @@ width: number; | ||
} | ||
export declare class CropperComponent implements OnInit { | ||
export declare class CropperComponent implements OnInit, OnDestroy { | ||
image: ElementRef; | ||
@@ -22,3 +23,3 @@ imageUrl: any; | ||
export: EventEmitter<ImageCropperResult>; | ||
ready: EventEmitter<{}>; | ||
ready: EventEmitter<any>; | ||
isLoading: boolean; | ||
@@ -30,2 +31,3 @@ cropper: Cropper; | ||
ngOnInit(): void; | ||
ngOnDestroy(): void; | ||
/** | ||
@@ -46,2 +48,4 @@ * Image loaded | ||
exportCanvas(base64?: any): void; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<CropperComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<CropperComponent, "angular-cropper", never, { "imageUrl": "imageUrl"; "settings": "settings"; "cropbox": "cropbox"; "loadImageErrorText": "loadImageErrorText"; "cropperOptions": "cropperOptions"; }, { "export": "export"; "ready": "ready"; }, never, never, false>; | ||
} |
{ | ||
"name": "angular-cropperjs", | ||
"description": "CropperJS integration for Angular +6", | ||
"version": "1.0.2", | ||
"version": "8.0.0", | ||
"repository": { | ||
@@ -27,2 +27,5 @@ "type": "git", | ||
}, | ||
"dependencies": { | ||
"tslib": "^2.0.0" | ||
}, | ||
"peerDependencies": { | ||
@@ -33,15 +36,22 @@ "@angular/common": "^6.0.0-rc.0 || ^6.0.0", | ||
}, | ||
"main": "bundles/angular-cropperjs.umd.js", | ||
"module": "fesm5/angular-cropperjs.js", | ||
"es2015": "fesm2015/angular-cropperjs.js", | ||
"esm5": "esm5/angular-cropperjs.js", | ||
"esm2015": "esm2015/angular-cropperjs.js", | ||
"fesm5": "fesm5/angular-cropperjs.js", | ||
"fesm2015": "fesm2015/angular-cropperjs.js", | ||
"typings": "angular-cropperjs.d.ts", | ||
"metadata": "angular-cropperjs.metadata.json", | ||
"sideEffects": false, | ||
"dependencies": { | ||
"tslib": "^1.9.0" | ||
} | ||
} | ||
"module": "fesm2015/angular-cropperjs.mjs", | ||
"es2020": "fesm2020/angular-cropperjs.mjs", | ||
"esm2020": "esm2020/angular-cropperjs.mjs", | ||
"fesm2020": "fesm2020/angular-cropperjs.mjs", | ||
"fesm2015": "fesm2015/angular-cropperjs.mjs", | ||
"typings": "index.d.ts", | ||
"exports": { | ||
"./package.json": { | ||
"default": "./package.json" | ||
}, | ||
".": { | ||
"types": "./index.d.ts", | ||
"esm2020": "./esm2020/angular-cropperjs.mjs", | ||
"es2020": "./fesm2020/angular-cropperjs.mjs", | ||
"es2015": "./fesm2015/angular-cropperjs.mjs", | ||
"node": "./fesm2015/angular-cropperjs.mjs", | ||
"default": "./fesm2020/angular-cropperjs.mjs" | ||
} | ||
}, | ||
"sideEffects": false | ||
} |
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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
1
89777
15
722
1
6
+ Addedtslib@2.8.1(transitive)
Updatedtslib@^2.0.0