You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

node-cron

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-cron - npm Package Compare versions

Comparing version

to
4.0.5

6

dist/cjs/node-cron.js

@@ -17,3 +17,2 @@ "use strict";

function schedule(expression, func, options) {
options = Object.assign({ scheduled: true }, options);
const taskOptions = {

@@ -31,3 +30,6 @@ name: options?.name,

const taskOptions = {
timezone: options?.timezone
name: options?.name,
timezone: options?.timezone,
noOverlap: options?.noOverlap,
maxExecutions: options?.maxExecutions,
};

@@ -34,0 +36,0 @@ let task;

@@ -17,3 +17,2 @@ "use strict";

function schedule(expression, func, options) {
options = Object.assign({ scheduled: true }, options);
const taskOptions = {

@@ -31,3 +30,6 @@ name: options?.name,

const taskOptions = {
timezone: options?.timezone
name: options?.name,
timezone: options?.timezone,
noOverlap: options?.noOverlap,
maxExecutions: options?.maxExecutions,
};

@@ -34,0 +36,0 @@ let task;

{
"name": "node-cron",
"version": "4.0.4",
"version": "4.0.5",
"description": "A Lightweight Task Scheduler for Node.js",

@@ -5,0 +5,0 @@ "author": "Lucas Merencia",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet