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

rc-animate

Package Overview
Dependencies
Maintainers
4
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 2.10.3 to 2.11.0

12

es/CSSMotion.js

@@ -30,2 +30,3 @@ import _defineProperty from 'babel-runtime/helpers/defineProperty';

motionLeaveImmediately: PropTypes.bool, // Trigger leave motion immediately
motionDeadline: PropTypes.number,
removeOnLeave: PropTypes.bool,

@@ -187,3 +188,14 @@ leavedClassName: PropTypes.string,

var motionDeadline = _this.props.motionDeadline;
_this.updateStatus(styleFunc, { statusActive: true });
if (motionDeadline > 0) {
setTimeout(function () {
_this.onMotionEnd({
deadline: true
});
}, motionDeadline);
}
});

@@ -190,0 +202,0 @@ };

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

motionLeaveImmediately: _propTypes2['default'].bool, // Trigger leave motion immediately
motionDeadline: _propTypes2['default'].number,
removeOnLeave: _propTypes2['default'].bool,

@@ -232,3 +233,14 @@ leavedClassName: _propTypes2['default'].string,

var motionDeadline = _this.props.motionDeadline;
_this.updateStatus(styleFunc, { statusActive: true });
if (motionDeadline > 0) {
setTimeout(function () {
_this.onMotionEnd({
deadline: true
});
}, motionDeadline);
}
});

@@ -235,0 +247,0 @@ };

2

package.json
{
"name": "rc-animate",
"version": "2.10.3",
"version": "2.11.0",
"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