Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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.3.0 to 4.5.0

6

index.js

@@ -25,3 +25,3 @@ /**

// that support module.exports
module.exports = factory(require(root, 'react-dom'));
module.exports = factory(root, require('react-dom'));
} else {

@@ -111,3 +111,3 @@ // Browser globals (root is window)

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

@@ -124,3 +124,3 @@ document.addEventListener("touchstart", fn);

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

@@ -127,0 +127,0 @@ document.removeEventListener("touchstart", fn);

{
"name": "react-onclickoutside",
"version": "4.3.0",
"version": "4.5.0",
"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