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

croner

Package Overview
Dependencies
Maintainers
1
Versions
228
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

croner - npm Package Compare versions

Comparing version 1.0.9 to 1.0.10

10

lib/croner.js

@@ -326,10 +326,10 @@

// Count up to minute and hour
dayChanged = false;
var upMinHour = function (collection) {
goUp(secs, collection, 'cSecs','cMins', 0);
goUp(mins, collection, 'cMins','cHour', 0);
goUp(hours, collection, 'cHour','cDate', 0);
return !(goUp(hours, collection, 'cHour','cDate', 0));
};
upMinHour(collection);
dayChanged = false;
dayChanged = upMinHour(collection);

@@ -351,3 +351,3 @@ if (hasDays || hasMonths) {

if (dayChanged) {
collection.cMin = collection.cHour = 0;
collection.cSecs = collection.cMins = collection.cHour = 0;
upMinHour(collection);

@@ -354,0 +354,0 @@ }

{
"name": "croner",
"version": "1.0.9",
"version": "1.0.10",
"description": "Isomorphic JavaScript cron parser and scheduler.",

@@ -5,0 +5,0 @@ "author": "Hexagon <github.com/hexagon>",

Sorry, the diff of this file is not supported yet

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