Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

angular-cropperjs

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-cropperjs - npm Package Compare versions

Comparing version 1.0.2 to 8.0.0

esm2020/angular-cropperjs.mjs

6

lib/angular-cropperjs.module.d.ts

@@ -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>;
}

3

lib/angular-cropperjs.service.d.ts

@@ -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>;
}

12

lib/cropper/cropper.component.d.ts

@@ -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
}
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