Socket
Socket
Sign inDemoInstall

rc-util

Package Overview
Dependencies
Maintainers
5
Versions
211
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-util - npm Package Compare versions

Comparing version 4.8.4 to 4.8.5

13

es/Portal.js

@@ -12,6 +12,11 @@ import _classCallCheck from 'babel-runtime/helpers/classCallCheck';

function Portal() {
function Portal(props) {
_classCallCheck(this, Portal);
return _possibleConstructorReturn(this, (Portal.__proto__ || Object.getPrototypeOf(Portal)).apply(this, arguments));
var _this = _possibleConstructorReturn(this, (Portal.__proto__ || Object.getPrototypeOf(Portal)).call(this, props));
if (props.getContainer) {
_this._container = props.getContainer();
}
return _this;
}

@@ -22,3 +27,5 @@

value: function componentDidMount() {
this.createContainer();
if (!this._container) {
this.createContainer();
}
}

@@ -25,0 +32,0 @@ }, {

@@ -40,5 +40,11 @@ 'use strict';

function Portal() {
function Portal(props) {
(0, _classCallCheck3['default'])(this, Portal);
return (0, _possibleConstructorReturn3['default'])(this, (Portal.__proto__ || Object.getPrototypeOf(Portal)).apply(this, arguments));
var _this = (0, _possibleConstructorReturn3['default'])(this, (Portal.__proto__ || Object.getPrototypeOf(Portal)).call(this, props));
if (props.getContainer) {
_this._container = props.getContainer();
}
return _this;
}

@@ -49,3 +55,5 @@

value: function componentDidMount() {
this.createContainer();
if (!this._container) {
this.createContainer();
}
}

@@ -52,0 +60,0 @@ }, {

{
"name": "rc-util",
"version": "4.8.4",
"version": "4.8.5",
"description": "Common Utils For React Component",

@@ -5,0 +5,0 @@ "keywords": [

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