Socket
Socket
Sign inDemoInstall

react-dropzone

Package Overview
Dependencies
Maintainers
2
Versions
176
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 3.2.2 to 3.2.3

mocha-environment.js

2

index.js

@@ -93,3 +93,3 @@ import accept from 'attr-accept';

// We might want to disable the preview creation to support big files
if (!this.disablePreview) {
if (!this.props.disablePreview) {
file.preview = window.URL.createObjectURL(file);

@@ -96,0 +96,0 @@ }

@@ -116,3 +116,3 @@ 'use strict';

// We might want to disable the preview creation to support big files
if (!this.disablePreview) {
if (!this.props.disablePreview) {
file.preview = window.URL.createObjectURL(file);

@@ -119,0 +119,0 @@ }

{
"name": "react-dropzone",
"version": "3.2.2",
"version": "3.2.3",
"description": "Simple HTML5 drag-drop zone with React.js",

@@ -8,3 +8,4 @@ "main": "lib/index.js",

"build": "babel index.js --out-dir ./lib",
"prepublish": "npm run build"
"prepublish": "npm test && npm run build",
"test": "./node_modules/.bin/mocha --require ./mocha-environment.js './test.js'"
},

@@ -27,2 +28,9 @@ "keywords": [

"author": "Param Aggarwal",
"contributors": [
{
"name": "Andrey Okonetchnikov",
"email": "andrej.okonetschnikow@gmail.com",
"url": "http://okonet.ru"
}
],
"license": "MIT",

@@ -36,4 +44,10 @@ "peerDependencies": {

"devDependencies": {
"babel": "^5.8.29"
"babel": "^5.8.29",
"chai": "^3.4.1",
"jsdom": "^7.2.0",
"mocha": "^2.3.4",
"react": "^0.14.3",
"react-addons-test-utils": "^0.14.3",
"sinon": "^1.17.2"
}
}

Sorry, the diff of this file is not supported yet

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