🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

react-dropzone

Package Overview
Dependencies
Maintainers
3
Versions
192
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

to
14.3.7

dist/es/package.json

4

dist/es/index.js

@@ -40,3 +40,3 @@ var _excluded = ["children"],

import { fromEvent } from "file-selector";
import { acceptPropAsAcceptAttr, allFilesAccepted, composeEventHandlers, fileAccepted, fileMatchSize, canUseFileSystemAccessAPI, isAbort, isEvtWithFiles, isIeOrEdge, isPropagationStopped, isSecurityError, onDocumentDragOver, pickerOptionsFromAccept, TOO_MANY_FILES_REJECTION } from "./utils/index";
import { acceptPropAsAcceptAttr, allFilesAccepted, composeEventHandlers, fileAccepted, fileMatchSize, canUseFileSystemAccessAPI, isAbort, isEvtWithFiles, isIeOrEdge, isPropagationStopped, isSecurityError, onDocumentDragOver, pickerOptionsFromAccept, TOO_MANY_FILES_REJECTION } from "./utils/index.js";
/**

@@ -984,2 +984,2 @@ * Convenience wrapper component for the `useDropzone` hook

export { ErrorCode } from "./utils";
export { ErrorCode } from "./utils/index.js";

@@ -29,5 +29,6 @@ {

"clean": "rimraf ./dist",
"build": "yarn clean && yarn build:umd && yarn build:es",
"build": "yarn clean && yarn build:umd && yarn build:es && yarn build:es-package",
"build:umd": "cross-env NODE_ENV=es rollup -c",
"build:es": "cross-env BABEL_ENV=es babel ./src --out-dir ./dist/es --ignore '**/*.spec.js'",
"build:es-package": "echo '{\"type\":\"module\"}' > dist/es/package.json",
"start": "styleguidist server",

@@ -194,3 +195,3 @@ "styleguide": "styleguidist build",

"typings": "typings/react-dropzone.d.ts",
"version": "14.3.6",
"version": "14.3.7",
"engines": {

@@ -197,0 +198,0 @@ "node": ">= 10.13"

@@ -29,3 +29,3 @@ /* eslint prefer-template: 0 */

TOO_MANY_FILES_REJECTION,
} from "./utils/index";
} from "./utils/index.js";

@@ -1043,2 +1043,2 @@ /**

export { ErrorCode } from "./utils";
export { ErrorCode } from "./utils/index.js";

Sorry, the diff of this file is too big to display