Socket
Socket
Sign inDemoInstall

react-useportal

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-useportal - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

4

dist/usePortal.js

@@ -103,6 +103,6 @@ "use strict";

document && document.addEventListener('keydown', handleKeydown);
document && document.addEventListener('click', handleOutsideMouseClick);
document && document.addEventListener('mousedown', handleOutsideMouseClick);
return () => {
document && document.removeEventListener('keydown', handleKeydown);
document && document.removeEventListener('click', handleOutsideMouseClick);
document && document.removeEventListener('mousedown', handleOutsideMouseClick);
elToMountTo.removeChild(node);

@@ -109,0 +109,0 @@ };

{
"name": "react-useportal",
"version": "1.0.1",
"version": "1.0.2",
"homepage": "https://codesandbox.io/s/w6jp7z4pkk",

@@ -5,0 +5,0 @@ "main": "dist/usePortal.js",

Sorry, the diff of this file is not supported yet

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