cron-expression-validator
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -69,2 +69,4 @@ const MONTH_LIST = ['jan', 'feb', 'mar', 'apr', 'may', 'jun', 'jul', 'aug', 'sep', 'oct', 'nov', 'dec']; | ||
return isValidateMonthNo(multiDayOfMonthArr, 1, 12); | ||
} else if(typeof dayOfMonth === 'string' && dayOfWeek === '?' && (dayOfMonth.toLowerCase() === 'l' || dayOfMonth.toLowerCase() === 'lw')) { | ||
return true; | ||
} else if(typeof dayOfMonth === 'string' && dayOfWeek === '?') { | ||
@@ -163,2 +165,5 @@ return parseInt(dayOfMonth) >=1 && parseInt(dayOfMonth) <= 31; | ||
}) | ||
} | ||
} | ||
console.log(module.exports.isValidCronExpression('4/5 8-4 8/2 LW 1 ? 2015')); |
{ | ||
"name": "cron-expression-validator", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Validate cron expressions", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
8754
3
148
0
36
0