Socket
Socket
Sign inDemoInstall

rc-animate

Package Overview
Dependencies
6
Maintainers
2
Versions
68
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.2.0 to 2.2.1

14

lib/Animate.js

@@ -247,2 +247,8 @@ 'use strict';

} else {
var end = function end() {
if (_util2["default"].allowLeaveCallback(props)) {
props.onLeave(key);
props.onEnd(key, false);
}
};
/* eslint react/no-is-mounted:0 */

@@ -252,8 +258,6 @@ if (this.isMounted() && !(0, _ChildrenUtils.isSameChildren)(this.state.children, currentChildren, props.showProp)) {

children: currentChildren
});
}, end);
} else {
end();
}
if (_util2["default"].allowLeaveCallback(props)) {
props.onLeave(key);
props.onEnd(key, false);
}
}

@@ -260,0 +264,0 @@ },

@@ -47,3 +47,3 @@ 'use strict';

} else {
setTimeout(done, 0);
done();
}

@@ -55,3 +55,3 @@ },

} else {
setTimeout(done, 0);
done();
}

@@ -66,3 +66,3 @@ },

// didUpdate -> animate leave -> unmount (if animate is none)
setTimeout(done, 0);
done();
}

@@ -69,0 +69,0 @@ },

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

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc