@douyinfe/semi-animation-react
Advanced tools
Comparing version 2.10.1 to 2.10.2-alpha.0
@@ -147,2 +147,8 @@ "use strict"; | ||
if (this.animation === null) { | ||
// didmount/willUnmount may be called twice when React.StrictMode is true in React 18, we need to ensure that this.animation is correct | ||
this.initAnimation(); | ||
this.bindEvents(); | ||
} | ||
if (typeof forwardInstance === 'function') { | ||
@@ -149,0 +155,0 @@ forwardInstance(this.animation); |
@@ -131,2 +131,8 @@ import _Object$assign from "@babel/runtime-corejs3/core-js-stable/object/assign"; | ||
if (this.animation === null) { | ||
// didmount/willUnmount may be called twice when React.StrictMode is true in React 18, we need to ensure that this.animation is correct | ||
this.initAnimation(); | ||
this.bindEvents(); | ||
} | ||
if (typeof forwardInstance === 'function') { | ||
@@ -133,0 +139,0 @@ forwardInstance(this.animation); |
{ | ||
"name": "@douyinfe/semi-animation-react", | ||
"version": "2.10.1", | ||
"version": "2.10.2-alpha.0", | ||
"description": "motion library for semi-ui-react", | ||
@@ -54,3 +54,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "1c84b585ff43db35b286e8c24f8333e4170d015c" | ||
"gitHead": "0af26368c88d1654b57ca177c18ed1d92b1b8b61" | ||
} |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
90590
2157
2
1