cron-parser
Advanced tools
Comparing version 0.4.1 to 0.4.2
{ | ||
"name": "cron-parser", | ||
"version": "0.4.1", | ||
"version": "0.4.2", | ||
"description": "Node.js library for parsing crontab instructions", | ||
@@ -27,3 +27,4 @@ "main": "lib/parser.js", | ||
"Mike Kusold <hello@mikekusold.com>", | ||
"Alex Kit <alex.kit@atmajs.com>" | ||
"Alex Kit <alex.kit@atmajs.com>", | ||
"Santiago Gimeno <santiago.gimeno@gmail.com>" | ||
], | ||
@@ -30,0 +31,0 @@ "license": "MIT", |
@@ -143,3 +143,3 @@ var util = require('util'); | ||
t.equal(next.getMonth(), 7, 'Month matches'); | ||
t.equal(next.getDate(), 3, 'Day of month matches'); | ||
t.equal(next.getDate(), 2, 'Day of month matches'); | ||
t.equal(next.getHours(), 2, 'Hour matches'); | ||
@@ -220,3 +220,3 @@ t.equal(next.getMinutes(), 10, 'Minute matches'); | ||
t.equal(next.getMonth(), 7, 'Month matches'); | ||
t.equal(next.getDate(), 3, 'Day of month matches'); | ||
t.equal(next.getDate(), 2, 'Day of month matches'); | ||
t.equal(next.getHours(), 2, 'Hour matches'); | ||
@@ -244,3 +244,3 @@ t.equal(next.getMinutes(), 10 + i, 'Minute matches'); | ||
t.equal(next.getMonth(), 7, 'Month matches'); | ||
t.equal(next.getDate(), 3, 'Day of month matches'); | ||
t.equal(next.getDate(), 2, 'Day of month matches'); | ||
t.equal(next.getHours(), 2, 'Hour matches'); | ||
@@ -381,3 +381,3 @@ t.equal(next.getMinutes(), 10 + (i * 2), 'Minute matches'); | ||
t.equal(next.getMonth(), 7, 'Month matches'); | ||
t.equal(next.getDate(), 3, 'Day of month matches'); | ||
t.equal(next.getDate(), 2, 'Day of month matches'); | ||
@@ -389,3 +389,3 @@ next = interval.next(); | ||
t.equal(next.getMonth(), 7, 'Month matches'); | ||
t.equal(next.getDate(), 10, 'Day of month matches'); | ||
t.equal(next.getDate(), 9, 'Day of month matches'); | ||
@@ -395,3 +395,3 @@ next = interval.next(); | ||
t.ok(next, 'Found next scheduled interval'); | ||
t.equal(next.getDay(), 2, 'Day matches'); | ||
t.equal(next.getDay(), 3, 'Day matches'); | ||
t.equal(next.getMonth(), 7, 'Month matches'); | ||
@@ -405,6 +405,6 @@ t.equal(next.getDate(), 12, 'Day of month matches'); | ||
t.equal(next.getMonth(), 7, 'Month matches'); | ||
t.equal(next.getDate(), 17, 'Day of month matches'); | ||
t.equal(next.getDate(), 16, 'Day of month matches'); | ||
t.end(); | ||
}); | ||
}); | ||
}); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1007
33872
11