Comparing version 1.0.1 to 1.0.2
@@ -109,2 +109,9 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; | ||
_this.onMotionEnd = function (event) { | ||
if (event && !event.deadline && event.target !== _this.getElement()) { | ||
// event exists | ||
// not initiated by deadline | ||
// transitionend not fired by inner elements | ||
return; | ||
} | ||
var _this$state2 = _this.state, | ||
@@ -111,0 +118,0 @@ status = _this$state2.status, |
@@ -131,2 +131,9 @@ "use strict"; | ||
_this.onMotionEnd = function (event) { | ||
if (event && !event.deadline && event.target !== _this.getElement()) { | ||
// event exists | ||
// not initiated by deadline | ||
// transitionend not fired by inner elements | ||
return; | ||
} | ||
var _this$state2 = _this.state, | ||
@@ -133,0 +140,0 @@ status = _this$state2.status, |
{ | ||
"name": "rc-motion", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "React lifecycle controlled motion library", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
64142
1416
1