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

@types/react-cropper

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/react-cropper - npm Package Compare versions

Comparing version 0.10.4 to 0.10.5

13

react-cropper/index.d.ts
// Type definitions for react-cropper 0.10
// Project: https://github.com/roadmanfong/react-cropper, http://roadmanfong.github.io/react-cropper
// Definitions by: Stepan Mikhaylyuk <https://github.com/stepancar>
// Walter Barbagallo <https://github.com/bwlt>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -10,10 +11,8 @@ // TypeScript Version: 2.8

import Data = cropperjs.Data;
import ContainerData = cropperjs.ContainerData;
import ImageData = cropperjs.ImageData;
import CanvasData = cropperjs.CanvasData;
import CropBoxData = cropperjs.CropBoxData;
import CroppedCanvasOptions = cropperjs.CroppedCanvasOptions;
type ReactCropperProps = cropperjs.CropperOptions & React.HTMLProps<HTMLImageElement>;
type Omit<T, K> = Pick<T, Exclude<keyof T, K>>;
export interface ReactCropperProps extends cropperjs.CropperOptions, Omit<React.HTMLProps<HTMLImageElement>, 'data' | 'ref'> {
ref: string | ((cropper: null | ReactCropper) => any);
}
interface ReactCropper extends cropperjs {} // tslint:disable-line no-empty-interface

@@ -20,0 +19,0 @@ declare class ReactCropper extends React.Component<ReactCropperProps> {

{
"name": "@types/react-cropper",
"version": "0.10.4",
"version": "0.10.5",
"description": "TypeScript definitions for react-cropper",

@@ -11,2 +11,7 @@ "license": "MIT",

"githubUsername": "stepancar"
},
{
"name": "Walter Barbagallo",
"url": "https://github.com/bwlt",
"githubUsername": "bwlt"
}

@@ -18,3 +23,4 @@ ],

"type": "git",
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/react-cropper"
},

@@ -26,4 +32,4 @@ "scripts": {},

},
"typesPublisherContentHash": "6b5dc17acebb4a3a658c4f502fae219db24fe05d511bea00a913890c2e46d5e8",
"typesPublisherContentHash": "b37f4827bcee914adaad991b5ab2f7260805be1f9a3fed158f5515946b4ad2b0",
"typeScriptVersion": "2.8"
}

@@ -11,3 +11,3 @@ # Installation

Additional Details
* Last updated: Wed, 13 Feb 2019 21:04:54 GMT
* Last updated: Wed, 17 Apr 2019 22:27:14 GMT
* Dependencies: @types/cropperjs, @types/react

@@ -17,2 +17,2 @@ * Global values: none

# Credits
These definitions were written by Stepan Mikhaylyuk <https://github.com/stepancar>.
These definitions were written by Stepan Mikhaylyuk <https://github.com/stepancar>, Walter Barbagallo <https://github.com/bwlt>.
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