interval-jitter
Advanced tools
Comparing version 1.8.0 to 1.8.1
{ | ||
"name": "interval-jitter", | ||
"version": "1.8.0", | ||
"version": "1.8.1", | ||
"description": "An interval jitter which executes a callback at random time intervals between a minimum and a maximum delay.", | ||
@@ -37,3 +37,3 @@ "keywords": [ | ||
"minimist": ">=1.2.2", | ||
"serialize-javascript": "^2.1.2", | ||
"serialize-javascript": "^3.1.0", | ||
"terser-webpack-plugin": "^3.0.8", | ||
@@ -40,0 +40,0 @@ "typescript": "^3.9.7", |
@@ -49,7 +49,7 @@ /* | ||
* @param {undefined|number} [obj.minInterval] Minimum delay in milliseconds between the executions of the given callback. | ||
* Defaults to 0. | ||
* Defaults to 0. | ||
* @param {undefined|number} [obj.maxInterval] Maximum delay in milliseconds between the executions of the given callback. | ||
* Defaults to 1000 milliseconds (1 second). | ||
* Defaults to 1000 milliseconds (1 second). | ||
* @param {undefined|number} [obj.interval] Delay in milliseconds between the executions of the given callback | ||
* (if set, "minInterval" and "maxInterval" will not be considered). | ||
* (if set, "minInterval" and "maxInterval" will not be considered). | ||
*/ | ||
@@ -66,3 +66,3 @@ function IntervalJitter( | ||
typeof maxInterval === "undefined" && | ||
(maxInterval = INTERVAL_JITTER_MAX_INTERVAL); | ||
(maxInterval = INTERVAL_JITTER_DEFAULT_MAX_INTERVAL); | ||
} | ||
@@ -69,0 +69,0 @@ |
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
12084