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

@uiw/react-overlay

Package Overview
Dependencies
Maintainers
1
Versions
172
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uiw/react-overlay - npm Package Compare versions

Comparing version 4.18.1 to 4.19.0

5

cjs/index.js

@@ -70,7 +70,8 @@ "use strict";

var _useState = (0, _react.useState)(props.isOpen || false),
var _useState = (0, _react.useState)(),
_useState2 = (0, _slicedToArray2["default"])(_useState, 2),
isOpen = _useState2[0],
setIsOpen = _useState2[1];
setIsOpen = _useState2[1]; // const [isOpen, setIsOpen] = useState(props.isOpen || false);
var _useState3 = (0, _react.useState)(false),

@@ -77,0 +78,0 @@ _useState4 = (0, _slicedToArray2["default"])(_useState3, 2),

3

esm/index.js

@@ -49,3 +49,4 @@ import _extends from "@babel/runtime/helpers/extends";

var [isOpen, setIsOpen] = useState(props.isOpen || false);
var [isOpen, setIsOpen] = useState(); // const [isOpen, setIsOpen] = useState(props.isOpen || false);
var [visible, setVisible] = useState(false);

@@ -52,0 +53,0 @@ var container = useRef(null);

{
"name": "@uiw/react-overlay",
"version": "4.18.1",
"version": "4.19.0",
"description": "Overlay component",

@@ -47,6 +47,6 @@ "author": "Kenny Wong <wowohoo@qq.com>",

"dependencies": {
"@uiw/react-portal": "^4.18.1",
"@uiw/utils": "^4.18.1",
"@uiw/react-portal": "^4.19.0",
"@uiw/utils": "^4.19.0",
"react-transition-group": "~4.4.2"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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