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 0.3.4 to 0.4.0

10

index.js

@@ -18,3 +18,3 @@ /**

// AMD. Register as an anonymous module.
define(['react'], factory);
define(['react-dom'], factory);
} else if (typeof exports === 'object') {

@@ -24,8 +24,8 @@ // Node. Note that this does not work with strict

// that support module.exports
module.exports = factory(require('react'));
module.exports = factory(require('react-dom'));
} else {
// Browser globals (root is window)
root.OnClickOutside = factory(React);
root.OnClickOutside = factory(ReactDOM);
}
}(this, function (React) {
}(this, function (ReactDOM) {
"use strict";

@@ -78,3 +78,3 @@

}
}(React.findDOMNode(this), this.handleClickOutside));
}(ReactDOM.findDOMNode(this), this.handleClickOutside));

@@ -81,0 +81,0 @@ var pos = registeredComponents.length;

{
"name": "react-onclickoutside",
"version": "0.3.4",
"version": "0.4.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