Socket
Socket
Sign inDemoInstall

react-onclickoutside

Package Overview
Dependencies
Maintainers
1
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-onclickoutside - npm Package Compare versions

Comparing version 4.1.0 to 4.1.1

12

index.js

@@ -108,4 +108,6 @@ /**

var fn = this.__outsideClickHandler;
document.addEventListener("mousedown", fn);
document.addEventListener("touchstart", fn);
if (global.document != null) {
document.addEventListener("mousedown", fn);
document.addEventListener("touchstart", fn);
}
},

@@ -119,4 +121,6 @@

var fn = this.__outsideClickHandler;
document.removeEventListener("mousedown", fn);
document.removeEventListener("touchstart", fn);
if (global.document != null) {
document.removeEventListener("mousedown", fn);
document.removeEventListener("touchstart", fn);
}
}

@@ -123,0 +127,0 @@ };

{
"name": "react-onclickoutside",
"version": "4.1.0",
"version": "4.1.1",
"description": "An onClickOutside mixin for React components",

@@ -5,0 +5,0 @@ "main": "index.js",

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