Socket
Socket
Sign inDemoInstall

react-onclickoutside

Package Overview
Dependencies
5
Maintainers
2
Versions
79
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.12.2 to 6.13.0

LICENSE

6

dist/react-onclickoutside.cjs.js

@@ -130,9 +130,7 @@ 'use strict';Object.defineProperty(exports,'__esModule',{value:true});var react=require('react'),reactDom=require('react-dom');function _inheritsLoose(subClass, superClass) {

function getEventHandlerOptions(instance, eventName) {
var handlerOptions = null;
var handlerOptions = {};
var isTouchEvent = touchEvents.indexOf(eventName) !== -1;
if (isTouchEvent && passiveEventSupport) {
handlerOptions = {
passive: !instance.props.preventDefault
};
handlerOptions.passive = !instance.props.preventDefault;
}

@@ -139,0 +137,0 @@

@@ -130,9 +130,7 @@ import {createElement,Component}from'react';import {findDOMNode}from'react-dom';function _inheritsLoose(subClass, superClass) {

function getEventHandlerOptions(instance, eventName) {
var handlerOptions = null;
var handlerOptions = {};
var isTouchEvent = touchEvents.indexOf(eventName) !== -1;
if (isTouchEvent && passiveEventSupport) {
handlerOptions = {
passive: !instance.props.preventDefault
};
handlerOptions.passive = !instance.props.preventDefault;
}

@@ -139,0 +137,0 @@

@@ -130,9 +130,7 @@ (function(g,f){typeof exports==='object'&&typeof module!=='undefined'?f(exports,require('react'),require('react-dom')):typeof define==='function'&&define.amd?define(['exports','react','react-dom'],f):(g=typeof globalThis!=='undefined'?globalThis:g||self,f(g.onClickOutside={},g.React,g.ReactDOM));}(this,(function(exports, react, reactDom){'use strict';function _inheritsLoose(subClass, superClass) {

function getEventHandlerOptions(instance, eventName) {
var handlerOptions = null;
var handlerOptions = {};
var isTouchEvent = touchEvents.indexOf(eventName) !== -1;
if (isTouchEvent && passiveEventSupport) {
handlerOptions = {
passive: !instance.props.preventDefault
};
handlerOptions.passive = !instance.props.preventDefault;
}

@@ -139,0 +137,0 @@

@@ -130,9 +130,7 @@ (function(g,f){typeof exports==='object'&&typeof module!=='undefined'?f(exports,require('react'),require('react-dom')):typeof define==='function'&&define.amd?define(['exports','react','react-dom'],f):(g=typeof globalThis!=='undefined'?globalThis:g||self,f(g.onClickOutside={},g.React,g.ReactDOM));}(this,(function(exports, react, reactDom){'use strict';function _inheritsLoose(subClass, superClass) {

function getEventHandlerOptions(instance, eventName) {
var handlerOptions = null;
var handlerOptions = {};
var isTouchEvent = touchEvents.indexOf(eventName) !== -1;
if (isTouchEvent && passiveEventSupport) {
handlerOptions = {
passive: !instance.props.preventDefault
};
handlerOptions.passive = !instance.props.preventDefault;
}

@@ -139,0 +137,0 @@

{
"name": "react-onclickoutside",
"version": "6.12.2",
"version": "6.13.0",
"description": "An onClickOutside wrapper for React components",

@@ -5,0 +5,0 @@ "main": "dist/react-onclickoutside.cjs.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc