cron-parser
Advanced tools
Comparing version 2.17.0 to 2.18.0
@@ -256,2 +256,8 @@ 'use strict'; | ||
var atoms = val.split(','); | ||
if (!atoms.every(function (atom) { | ||
return atom.length > 0; | ||
})) { | ||
throw new Error('Invalid list value format'); | ||
} | ||
if (atoms.length > 1) { | ||
@@ -258,0 +264,0 @@ for (var i = 0, c = atoms.length; i < c; i++) { |
{ | ||
"name": "cron-parser", | ||
"version": "2.17.0", | ||
"version": "2.18.0", | ||
"description": "Node.js library for parsing crontab instructions", | ||
@@ -5,0 +5,0 @@ "main": "lib/parser.js", |
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
96981
19
2729