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.0.3 to 1.0.4

7

lib/AnimateChild.js

@@ -17,2 +17,7 @@ 'use strict';

var transitionMap = {
enter: 'transitionEnter',
leave: 'transitionLeave'
};
var AnimateChild = _react2['default'].createClass({

@@ -32,3 +37,3 @@ displayName: 'AnimateChild',

};
if ((_cssAnimation.isCssAnimationSupported || !props.animation[animationType]) && transitionName && props.transitionEnter) {
if ((_cssAnimation.isCssAnimationSupported || !props.animation[animationType]) && transitionName && props[transitionMap[animationType]]) {
this.stopper = (0, _cssAnimation2['default'])(node, transitionName + '-' + animationType, end);

@@ -35,0 +40,0 @@ } else {

2

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