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
0
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.67.2-alpha.0 to 2.67.2

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.67.2-alpha.0",
"version": "2.67.2",
"description": "motion library for semi-ui-react",

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

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

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

},
"gitHead": "9ad910e9b057e33d05d7194786dfeb76519f89cb"
"gitHead": "2ff1f1c65aa51266782304dfd1dea055d20ee028"
}
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