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

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.0 to 4.8.1

5

es/PortalWrapper.js

@@ -96,2 +96,3 @@ import _extends from 'babel-runtime/helpers/extends';

this._component = null;
// 离开时不会 render, 导到离开时数值不变,改用 func 。。
openCount = visible && openCount ? openCount - 1 : openCount;

@@ -123,3 +124,5 @@ if (!IS_REACT_16) {

var childProps = {
openCount: openCount,
getOpenCount: function getOpenCount() {
return openCount;
},
getContainer: this.getContainer

@@ -126,0 +129,0 @@ };

@@ -137,2 +137,3 @@ 'use strict';

this._component = null;
// 离开时不会 render, 导到离开时数值不变,改用 func 。。
openCount = visible && openCount ? openCount - 1 : openCount;

@@ -164,3 +165,5 @@ if (!IS_REACT_16) {

var childProps = {
openCount: openCount,
getOpenCount: function getOpenCount() {
return openCount;
},
getContainer: this.getContainer

@@ -167,0 +170,0 @@ };

2

package.json
{
"name": "rc-util",
"version": "4.8.0",
"version": "4.8.1",
"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