Socket
Socket
Sign inDemoInstall

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.11.0 to 2.11.1

10

es/CSSMotion.js

@@ -144,3 +144,11 @@ import _defineProperty from 'babel-runtime/helpers/defineProperty';

_this.getElement = function () {
return findDOMNode(_this.node || _this);
try {
return findDOMNode(_this.node || _this);
} catch (e) {
/**
* Fallback to cache element.
* This is only happen when `motionDeadline` trigger but element removed.
*/
return _this.$cacheEle;
}
};

@@ -147,0 +155,0 @@

@@ -189,3 +189,11 @@ 'use strict';

_this.getElement = function () {
return (0, _findDOMNode2['default'])(_this.node || _this);
try {
return (0, _findDOMNode2['default'])(_this.node || _this);
} catch (e) {
/**
* Fallback to cache element.
* This is only happen when `motionDeadline` trigger but element removed.
*/
return _this.$cacheEle;
}
};

@@ -192,0 +200,0 @@

2

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