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.8.1 to 2.8.2

6

es/CSSMotionList.js

@@ -10,9 +10,11 @@ import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties';

import PropTypes from 'prop-types';
import CSSMotion from './CSSMotion';
import OriginCSSMotion from './CSSMotion';
import { supportTransition } from './util/motion';
import { STATUS_ADD, STATUS_KEEP, STATUS_REMOVE, STATUS_REMOVED, diffKeys, parseKeys } from './util/diff';
var MOTION_PROP_NAMES = Object.keys(CSSMotion.propTypes);
var MOTION_PROP_NAMES = Object.keys(OriginCSSMotion.propTypes);
export function genCSSMotionList(transitionSupport) {
var CSSMotion = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : OriginCSSMotion;
var CSSMotionList = function (_React$Component) {

@@ -19,0 +21,0 @@ _inherits(CSSMotionList, _React$Component);

@@ -56,2 +56,4 @@ 'use strict';

function genCSSMotionList(transitionSupport) {
var CSSMotion = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _CSSMotion2['default'];
var CSSMotionList = function (_React$Component) {

@@ -116,3 +118,3 @@ (0, _inherits3['default'])(CSSMotionList, _React$Component);

return _react2['default'].createElement(
_CSSMotion2['default'],
CSSMotion,
(0, _extends3['default'])({}, motionProps, {

@@ -178,3 +180,3 @@ key: eventProps.key,

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

@@ -181,0 +183,0 @@ keys: _propTypes2['default'].array

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