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

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.10.0 to 2.10.1

10

es/CSSMotion.js

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

value: function getDerivedStateFromProps(props, _ref) {
var prevProps = _ref.prevProps;
var prevProps = _ref.prevProps,
prevStatus = _ref.status;

@@ -284,2 +285,9 @@ if (!isSupportTransition(props)) return {};

// Clean up status if prop set to false
if (prevStatus === STATUS_APPEAR && !motionAppear || prevStatus === STATUS_ENTER && !motionEnter || prevStatus === STATUS_LEAVE && !motionLeave) {
newState.status = STATUS_NONE;
newState.statusActive = false;
newState.newStatus = false;
}
// Appear

@@ -286,0 +294,0 @@ if (!prevProps && visible && motionAppear) {

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

value: function getDerivedStateFromProps(props, _ref) {
var prevProps = _ref.prevProps;
var prevProps = _ref.prevProps,
prevStatus = _ref.status;

@@ -329,2 +330,9 @@ if (!isSupportTransition(props)) return {};

// Clean up status if prop set to false
if (prevStatus === STATUS_APPEAR && !motionAppear || prevStatus === STATUS_ENTER && !motionEnter || prevStatus === STATUS_LEAVE && !motionLeave) {
newState.status = STATUS_NONE;
newState.statusActive = false;
newState.newStatus = false;
}
// Appear

@@ -331,0 +339,0 @@ if (!prevProps && visible && motionAppear) {

2

package.json
{
"name": "rc-animate",
"version": "2.10.0",
"version": "2.10.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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc