Socket
Socket
Sign inDemoInstall

rc-animate

Package Overview
Dependencies
Maintainers
3
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.5.1 to 2.5.2

9

es/CSSMotion.js

@@ -191,3 +191,4 @@ import _defineProperty from 'babel-runtime/helpers/defineProperty';

motionName = _props.motionName,
visible = _props.visible;
visible = _props.visible,
removeOnLeave = _props.removeOnLeave;

@@ -198,3 +199,3 @@

if (status === STATUS_NONE || !transitionSupport) {
return visible ? children({}) : null;
return visible || !removeOnLeave ? children({}) : null;
}

@@ -260,2 +261,3 @@

motionLeaveImmediately: PropTypes.bool, // Trigger leave motion immediately
removeOnLeave: PropTypes.bool,
onAppearStart: PropTypes.func,

@@ -275,3 +277,4 @@ onAppearActive: PropTypes.func,

motionAppear: true,
motionLeave: true
motionLeave: true,
removeOnLeave: true
};

@@ -278,0 +281,0 @@

@@ -235,3 +235,4 @@ 'use strict';

motionName = _props.motionName,
visible = _props.visible;
visible = _props.visible,
removeOnLeave = _props.removeOnLeave;

@@ -242,3 +243,3 @@

if (status === STATUS_NONE || !transitionSupport) {
return visible ? children({}) : null;
return visible || !removeOnLeave ? children({}) : null;
}

@@ -303,2 +304,3 @@

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

@@ -318,3 +320,4 @@ onAppearActive: _propTypes2['default'].func,

motionAppear: true,
motionLeave: true
motionLeave: true,
removeOnLeave: true
};

@@ -321,0 +324,0 @@

{
"name": "rc-animate",
"version": "2.5.1",
"version": "2.5.2",
"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