Socket
Socket
Sign inDemoInstall

uuid-cron

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uuid-cron - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"name": "uuid-cron",
"version": "1.0.0",
"version": "1.0.1",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -12,5 +12,12 @@ const { v4: uuidv4 } = require('uuid');

let job;
const initialized = false;
let initialized = false;
/**
* Starting cron job according your configuration
* @param humanCron - e.g. each 20 seconds, more details here:
* https://www.npmjs.com/package/human-to-cron
* @param numOfRandomsInTime - amount of random uuids for each cron job
*/
function init(humanCron, numOfRandomsInTime) {
initialized = true;
const cronTime = humanToCron(humanCron);

@@ -17,0 +24,0 @@ uuidv4Value = uuidv4();

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