Socket
Socket
Sign inDemoInstall

rc-animate

Package Overview
Dependencies
Maintainers
2
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-animate - npm Package Compare versions

Comparing version 1.2.7 to 1.2.8

11

lib/Animate.js

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

var newChildren = undefined;
var needSetState = true;
if (showProp) {

@@ -127,3 +126,2 @@ newChildren = currentChildren.map(function (currentChild) {

Object.keys(currentlyAnimatingKeys).forEach(function (key) {
needSetState = false;
_this2.stop(key);

@@ -134,7 +132,6 @@ });

if (needSetState) {
this.setState({
children: newChildren
});
}
// need render to avoid update
this.setState({
children: newChildren
});

@@ -141,0 +138,0 @@ nextChildren.forEach(function (c) {

{
"name": "rc-animate",
"version": "1.2.7",
"version": "1.2.8",
"description": "css-transition ui component for react",

@@ -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