@types/react-cropper
Advanced tools
Comparing version 0.10.7 to 1.3.0
@@ -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). |
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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
3947
18
1
Updatedcropperjs@^1.5.5