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

react-dropzone

Package Overview
Dependencies
Maintainers
3
Versions
189
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-dropzone - npm Package Compare versions

Comparing version 11.3.5 to 11.4.0

2

examples/events/README.md

@@ -89,3 +89,3 @@ If you'd like to prevent drag events propagation from the child to parent, you can use the `{noDragEventsBubbling}` property on the child:

Note that you can prevent the default behavior for click and keyboard events if you ommit the input:
Note that you can prevent the default behavior for click and keyboard events if you omit the input:
```jsx harmony

@@ -92,0 +92,0 @@ import React from 'react';

@@ -169,3 +169,3 @@ {

},
"version": "11.3.5",
"version": "11.4.0",
"engines": {

@@ -172,0 +172,0 @@ "node": ">= 10"

@@ -145,3 +145,3 @@ ![react-dropzone logo](https://raw.githubusercontent.com/react-dropzone/react-dropzone/master/logo/logo.png)

*Important*: if you ommit rendering an `<input>` and/or binding the props from `getInputProps()`, opening a file dialog will not be possible.
*Important*: if you omit rendering an `<input>` and/or binding the props from `getInputProps()`, opening a file dialog will not be possible.

@@ -298,6 +298,8 @@ ## Refs

React Dropzone integrates perfectly with [Doka Image Editor](https://pqina.nl/doka/?ref=react-dropzone), creating a modern image editing experience. Doka supports crop aspect ratios, resizing, rotating, cropping, annotating, filtering, and much more.
Checkout the [integration example](https://react-dropzone.js.org/#!/Doka).
React Dropzone integrates perfectly with [Pintura Image Editor](https://pqina.nl/pintura/?ref=react-dropzone), creating a modern image editing experience. Pintura supports crop aspect ratios, resizing, rotating, cropping, annotating, filtering, and much more.
Checkout the [Pintura integration example](https://codesandbox.io/s/react-dropzone-pintura-40xh4?file=/src/App.js).
## Supported Browsers

@@ -304,0 +306,0 @@

@@ -11,5 +11,12 @@ import * as React from "react";

export enum ErrorCode {
FileInvalidType = 'file-invalid-type',
FileTooLarge = 'file-too-large',
FileTooSmall = 'file-too-small',
TooManyFiles = 'too-many-files',
}
export interface FileError {
message: string;
code: "file-too-large" | "file-too-small" | "too-many-files" | "file-invalid-type" | string;
code: ErrorCode | string;
}

@@ -16,0 +23,0 @@

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