react-dropzone
Advanced tools
Comparing version 12.0.3 to 12.0.4
@@ -469,3 +469,3 @@ var _excluded = ["children"], | ||
draggedFiles = state.draggedFiles; | ||
var fsAccessApiWorksRef = useRef(window.isSecureContext && useFsAccessApi && canUseFileSystemAccessAPI()); // Update file dialog active state when the window is focused on | ||
var fsAccessApiWorksRef = useRef(typeof window !== "undefined" && window.isSecureContext && useFsAccessApi && canUseFileSystemAccessAPI()); // Update file dialog active state when the window is focused on | ||
@@ -472,0 +472,0 @@ var onWindowFocus = function onWindowFocus() { |
@@ -174,3 +174,3 @@ { | ||
"typings": "typings/react-dropzone.d.ts", | ||
"version": "12.0.3", | ||
"version": "12.0.4", | ||
"engines": { | ||
@@ -177,0 +177,0 @@ "node": ">= 10.13" |
@@ -457,3 +457,6 @@ /* eslint prefer-template: 0 */ | ||
const fsAccessApiWorksRef = useRef( | ||
window.isSecureContext && useFsAccessApi && canUseFileSystemAccessAPI() | ||
typeof window !== "undefined" && | ||
window.isSecureContext && | ||
useFsAccessApi && | ||
canUseFileSystemAccessAPI() | ||
); | ||
@@ -460,0 +463,0 @@ |
Sorry, the diff of this file is too big to display
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
414730
6605