effect
4.1.4 · 11 Nov 2026MIT66.6M / weekRepositoryHomepagenpmAtom feed
3.22.5 is the newest release of 3.x.
In short
1 new3 fixed
Security
1 advisory affects 3.21.5; 3.22.1 fixes them
- HighEffect: ReDoS in Schema.TemplateLiteral compiled regexGHSA-7589-6fvf-x4pw · 19 Nov 2026Fixed in 3.22.1
Release note
Patch Changes
Allow cron fields like
5/15to expand from the starting value through the field maximum.Fix
Schedule.cronwhen the test clock is adjusted to infinity.Fix
Cron.nextskipping earlier matching days when the upcoming day-of-month does not exist in the current month. For an expression like0 0 1,16,31 * *, advancing from a date past the 16th selected day 31; in a month without 31 days this overflowed into the following month and landed on a later matching day (e.g. the 16th), silently skipping the 1st.Cron.nextnow wraps to the first matching day of the next month in that case, matching the behaviour ofCron.prevand other cron implementations.Fix cron parsing and scheduling edge cases for whitespace, Sunday
7, strict numeric tokens, explicit full day ranges, and month-constrained day-of-month / weekday matching.
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.