Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

interval-jitter

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

interval-jitter - npm Package Compare versions

Comparing version 1.8.0 to 1.8.1

4

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc