cron-parser
5.10.6 · 14 Nov 2026MIT34.2M / weekRepositoryHomepagenpmAtom feed
Upgrading cron-parser From 5.0.3 to 5.10.6
24 releases in betweenevery note read
Reading releases, release notes and advisories…
- 2
- changes to make
- 0
- advisories fixed
- 2
- new
- 43
- fixes
Before you upgrade
Tick each one off as you go- Breaking5.2.0
- Deprecated5.6.2
Release by release
- Fixed
Allow only whitelisted characters around an H token
- Fixed
- New
Skip luxon set when a setter value does not change
- Fixed
Only allow 0L-7L in day of week and a bare L in day of month
- Fixed
Reject an L inside a range or step, or combined with #
- Fixed
Reject a day of month that none of the listed months have
- Fixed
Do not skip a day when a DST change removes its midnight hour
- Fixed
Reject a wildcard that is part of a larger value
- New
- Fixed
Stop treating crontab entries that contain = as variables
- Fixed
Parse crontab entries that start with a nickname
- Fixed
Restore initial date on reset
- Fixed
Only remove the quotes around a crontab variable value
- Fixed
Treat a timestamp of 0 as the Unix epoch, not as a missing date
- Fixed
Only resolve month names in the month field and weekday names in the day of week field
- Fixed
Reject a range with more than two parts
- Fixed
- Fixed
Accept the RFC 850 and asctime HTTP date formats as string dates
- Fixed
Skip non-scheduled months when day-of-month is unrestricted
- Fixed
Use own keys for crontab entries and predefined expressions
- Fixed
- Fixed
Preserve crontab fields separated by whitespace
- Fixed
Bound expression length and hashed step expansion at parse time
- Fixed
- Fixed
Reject duplicate zero values in field validation
- Fixed
Bound field value expansion at parse time
- Fixed
- Fixed
Pad short expressions from the leading field slot
- Fixed
- Fixed
Keep explicit range bounds when stringifying stepped fields
- Fixed
Compensate DST transitions wider than one hour
- Fixed
Keep a hashed step wider than its range from emptying the field
- Fixed
12 other lines we could not sort, mostly version bumps
- 5.4.0
Clamp currentDate value when startDate or endDate are provided
- 5.3.1
CronFieldCollection.from should allow passing in special chars
- 5.3.1
Update luxon to the latest version 1c32a8498cd71a8eaa8bc114754a6470f08b6305
- 5.3.0
Hashed values (H) ranges and steps support
- 5.2.0
Adding support for the H syntax, allowing to add jitter to a cron expression
- 5.2.0
Extended serialization for cron fields
- 5.1.1
Update
luxonto the latest (3.6.1) version - 5.1.1
Update development dependencies to the latest versions
- 5.1.0
#374 - Improve handling and support for special characters (L, #) in the
includesDatemethod - 5.0.6
Simplify strict mode flag usage in getRawFields
7 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.