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.7 to 1.3.0

9

react-cropper/index.d.ts

@@ -1,7 +0,8 @@

// Type definitions for react-cropper 0.10
// Type definitions for react-cropper 1.3
// 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>
// Harald Friessnegger <https://github.com/frisi>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
// Minimum TypeScript Version: 3.7

@@ -13,4 +14,4 @@ import Cropper from 'cropperjs';

export interface ReactCropperProps extends Cropper.Options, Omit<React.HTMLProps<HTMLImageElement>, 'data' | 'ref'> {
ref?: string | ((cropper: null | ReactCropper) => any);
interface ReactCropperProps extends Cropper.Options, Omit<React.HTMLProps<HTMLImageElement>, 'data' | 'ref'> {
ref?: React.LegacyRef<ReactCropper>;
}

@@ -17,0 +18,0 @@

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

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

"githubUsername": "bwlt"
},
{
"name": "Harald Friessnegger",
"url": "https://github.com/frisi",
"githubUsername": "frisi"
}

@@ -29,6 +34,6 @@ ],

"@types/react": "*",
"cropperjs": "^1.3.0"
"cropperjs": "^1.5.5"
},
"typesPublisherContentHash": "6bef33b19e23a4a03d9211b25381e477edf1361d12c4cb504d8977a33ae64a75",
"typeScriptVersion": "2.8"
"typesPublisherContentHash": "4648323593238227b929b398645354bd55a13268f8386e3c5edd24fba419c677",
"typeScriptVersion": "3.7"
}

@@ -8,10 +8,10 @@ # Installation

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-cropper
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-cropper.
Additional Details
* Last updated: Thu, 07 Nov 2019 18:11:42 GMT
* Dependencies: @types/cropperjs, @types/react
### Additional Details
* Last updated: Fri, 27 Mar 2020 17:15:41 GMT
* Dependencies: [@types/cropperjs](https://npmjs.com/package/@types/cropperjs), [@types/react](https://npmjs.com/package/@types/react)
* Global values: none
# Credits
These definitions were written by Stepan Mikhaylyuk <https://github.com/stepancar>, and Walter Barbagallo <https://github.com/bwlt>.
These definitions were written by [Stepan Mikhaylyuk](https://github.com/stepancar), [Walter Barbagallo](https://github.com/bwlt), and [Harald Friessnegger](https://github.com/frisi).
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