Socket
Socket
Sign inDemoInstall

react-dropzone

Package Overview
Dependencies
Maintainers
3
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 12.0.3 to 12.0.4

2

dist/es/index.js

@@ -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

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