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

node-schedule

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-schedule - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

35

lib/increment.js

@@ -53,7 +53,12 @@ /*

{
m = 0;
this.setMonth(0);
this.addYear();
}
this.setMonth(m);
else
{
var spec = daySpec(this.getFullYear());
if (this.getDate() > spec[m])
this.setDate(spec[m]);
this.setMonth(m);
}
};

@@ -66,7 +71,7 @@

{
d = 1;
this.setDate(1)
this.addMonth();
}
this.setDate(d);
else
this.setDate(d);
};

@@ -78,7 +83,7 @@

{
h = 0;
this.setHours(0);
this.addDay();
}
this.setHours(h);
else
this.setHours(h);
};

@@ -90,7 +95,7 @@

{
m = 0;
this.setMinutes(0);
this.addHour();
}
this.setMinutes(m);
else
this.setMinutes(m);
};

@@ -102,7 +107,7 @@

{
s = 0;
this.setSeconds(0);
this.addMinute();
}
this.setSeconds(s);
else
this.setSeconds(s);
};
{
"name": "node-schedule",
"version": "0.1.5",
"version": "0.1.6",
"description": "A cron-like and not-cron-like job scheduler for Node.",

@@ -5,0 +5,0 @@ "keywords": ["schedule", "task", "job", "cron"],

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