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

@douyinfe/semi-animation-react

Package Overview
Dependencies
Maintainers
10
Versions
444
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@douyinfe/semi-animation-react - npm Package Compare versions

Comparing version 2.66.0-beta.0 to 2.66.0

2

lib/cjs/src/Animation.js

@@ -149,3 +149,3 @@ "use strict";

return children(this.animation.getCurrentStates());
} else if ( /*#__PURE__*/(0, _react.isValidElement)(children)) {
} else if (/*#__PURE__*/(0, _react.isValidElement)(children)) {
return children;

@@ -152,0 +152,0 @@ } else {

@@ -94,3 +94,3 @@ "use strict";

};
if ( /*#__PURE__*/(0, _react.isValidElement)(children)) {
if (/*#__PURE__*/(0, _react.isValidElement)(children)) {
children = _react.Children.map(children, child => {

@@ -97,0 +97,0 @@ const animateEvents = this._generateAnimateEvents(child, this.props);

@@ -141,3 +141,3 @@ /* eslint-disable @typescript-eslint/ban-types */

return children(this.animation.getCurrentStates());
} else if ( /*#__PURE__*/isValidElement(children)) {
} else if (/*#__PURE__*/isValidElement(children)) {
return children;

@@ -144,0 +144,0 @@ } else {

@@ -87,3 +87,3 @@ import { PureComponent, isValidElement, cloneElement, Children } from 'react';

};
if ( /*#__PURE__*/isValidElement(children)) {
if (/*#__PURE__*/isValidElement(children)) {
children = Children.map(children, child => {

@@ -90,0 +90,0 @@ const animateEvents = this._generateAnimateEvents(child, this.props);

{
"name": "@douyinfe/semi-animation-react",
"version": "2.66.0-beta.0",
"version": "2.66.0",
"description": "motion library for semi-ui-react",

@@ -28,4 +28,4 @@ "keywords": [

"dependencies": {
"@douyinfe/semi-animation": "2.66.0-beta.0",
"@douyinfe/semi-animation-styled": "2.66.0-beta.0",
"@douyinfe/semi-animation": "2.66.0",
"@douyinfe/semi-animation-styled": "2.66.0",
"classnames": "^2.2.6"

@@ -46,3 +46,3 @@ },

},
"gitHead": "a5c0f66ea62f6bd32cd51f71d4bf15c9eb14cc19"
"gitHead": "8c97448e5e993fd00ada557b1419f6141fb52736"
}
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