Socket
Socket
Sign inDemoInstall

rc-animate

Package Overview
Dependencies
18
Maintainers
3
Versions
68
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.9.2 to 2.10.0

6

es/CSSMotionList.js

@@ -58,6 +58,8 @@ import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties';

var _props = this.props,
Component = _props.component,
component = _props.component,
children = _props.children,
restProps = _objectWithoutProperties(_props, ['component', 'children']);
var Component = component || React.Fragment;
var motionProps = {};

@@ -142,3 +144,3 @@ MOTION_PROP_NAMES.forEach(function (prop) {

CSSMotionList.propTypes = _extends({}, CSSMotion.propTypes, {
component: PropTypes.string,
component: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
keys: PropTypes.array

@@ -145,0 +147,0 @@ });

# History
----
## 2.10.0 / 2019-08-27
- CSSMotionList support `component` to be `false` to render nothing
## 2.9.0 / 2019-07-09

@@ -5,0 +9,0 @@

@@ -96,3 +96,3 @@ 'use strict';

var _props = this.props,
Component = _props.component,
component = _props.component,
children = _props.children,

@@ -102,2 +102,4 @@ restProps = (0, _objectWithoutProperties3['default'])(_props, ['component', 'children']);

var Component = component || _react2['default'].Fragment;
var motionProps = {};

@@ -181,3 +183,3 @@ MOTION_PROP_NAMES.forEach(function (prop) {

CSSMotionList.propTypes = (0, _extends3['default'])({}, CSSMotion.propTypes, {
component: _propTypes2['default'].string,
component: _propTypes2['default'].oneOfType([_propTypes2['default'].string, _propTypes2['default'].bool]),
keys: _propTypes2['default'].array

@@ -184,0 +186,0 @@ });

{
"name": "rc-animate",
"version": "2.9.2",
"version": "2.10.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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc