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

react-relative-portal

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-relative-portal - npm Package Compare versions

Comparing version 1.5.0 to 1.5.1

8

dist/Portal.js

@@ -27,2 +27,4 @@ 'use strict';

function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

@@ -85,3 +87,7 @@

value: function render() {
return _reactDom2.default.createPortal(_react2.default.createElement('div', _extends({}, this.props, { ref: this.handleRootRef })), this.node);
var _props = this.props,
onOutClick = _props.onOutClick,
props = _objectWithoutProperties(_props, ['onOutClick']);
return _reactDom2.default.createPortal(_react2.default.createElement('div', _extends({}, props, { ref: this.handleRootRef })), this.node);
}

@@ -88,0 +94,0 @@ }]);

2

package.json
{
"name": "react-relative-portal",
"version": "1.5.0",
"version": "1.5.1",
"description": "React component for place dropdowns outside overflow: hidden; elements",

@@ -5,0 +5,0 @@ "main": "dist/RelativePortal.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