react-dropzone
Advanced tools
Comparing version
@@ -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
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
566717
0.03%52
1.96%