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

use-click-outside-close

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

use-click-outside-close - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

2

package.json
{
"name": "use-click-outside-close",
"version": "1.0.4",
"version": "1.0.5",
"description": "",

@@ -5,0 +5,0 @@ "main": "use-click-outside.js",

@@ -23,3 +23,3 @@ import { useEffect } from 'react';

document.removeEventListener('touchstart', listener);
document.addEventListener(eventType, listener);
document.removeEventListener(eventType, listener);
};

@@ -29,2 +29,2 @@ }, [ref, handler]);

export default useOnClickOutside;
export default useOnClickOutside;
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