rc-animate
Advanced tools
Comparing version 3.1.0 to 3.1.1
@@ -182,3 +182,3 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; | ||
if (motionDeadline > 0) { | ||
setTimeout(function () { | ||
_this.timer = setTimeout(function () { | ||
_this.onMotionEnd({ | ||
@@ -232,2 +232,3 @@ deadline: true | ||
this.cancelNextFrame(); | ||
clearTimeout(this.timer); | ||
} | ||
@@ -234,0 +235,0 @@ }, { |
@@ -204,3 +204,3 @@ 'use strict'; | ||
if (motionDeadline > 0) { | ||
setTimeout(function () { | ||
_this.timer = setTimeout(function () { | ||
_this.onMotionEnd({ | ||
@@ -254,2 +254,3 @@ deadline: true | ||
this.cancelNextFrame(); | ||
clearTimeout(this.timer); | ||
} | ||
@@ -256,0 +257,0 @@ }, { |
{ | ||
"name": "rc-animate", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"description": "css-transition ui component for react", | ||
@@ -62,4 +62,4 @@ "keywords": [ | ||
"raf": "^3.4.0", | ||
"rc-util": "^5.0.1" | ||
"rc-util": "^4.15.3" | ||
} | ||
} |
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
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
102156
2220
+ Addedadd-dom-event-listener@1.1.0(transitive)
+ Addedobject-assign@4.1.1(transitive)
+ Addedprop-types@15.8.1(transitive)
+ Addedrc-util@4.21.1(transitive)
+ Addedreact-is@16.13.1(transitive)
+ Addedreact-lifecycles-compat@3.0.4(transitive)
+ Addedshallowequal@1.1.0(transitive)
- Removed@babel/runtime@7.26.0(transitive)
- Removedrc-util@5.43.0(transitive)
- Removedreact@18.3.1(transitive)
- Removedreact-dom@18.3.1(transitive)
- Removedreact-is@18.3.1(transitive)
- Removedregenerator-runtime@0.14.1(transitive)
- Removedscheduler@0.23.2(transitive)
Updatedrc-util@^4.15.3