debounce-fn
Advanced tools
Comparing version 5.1.0 to 5.1.1
@@ -56,3 +56,3 @@ import mimicFn from 'mimic-fn'; | ||
if (maxWait > 0 && maxWait !== Number.Infinity && !maxTimeout) { | ||
if (maxWait > 0 && maxWait !== Number.POSITIVE_INFINITY && !maxTimeout) { | ||
maxTimeout = setTimeout(maxLater, maxWait); | ||
@@ -59,0 +59,0 @@ } |
{ | ||
"name": "debounce-fn", | ||
"version": "5.1.0", | ||
"version": "5.1.1", | ||
"description": "Debounce a function", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
7480