Packages

cron-parser

5.10.6 · 14 Nov 2026MIT34.2M / weekRepositoryHomepagenpmAtom feed

Upgrading cron-parser From 4.9.0 to 5.10.4

26 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 4.9.0Latest5.10.6
  1. 4.9.0yours
  2. 5.0.0major
  3. 8 releases
  4. 5.2.0breaking
  5. 15 releases
  6. 5.10.4target

Before you upgrade

Tick each one off as you go
  • Breaking5.2.0
  • Breaking5.0.0
  • Breaking5.0.0
  • Breaking5.0.0
  • Breaking5.0.0
  • Deprecated5.6.2

Release by release

  1. 5.10.4

    6 Nov 20267 fixes
    • 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

  2. 5.10.3

    31 Oct 20263 fixes
    • 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

  3. 5.10.2

    9 Oct 20262 fixes
    • Fixed

      Preserve crontab fields separated by whitespace

    • Fixed

      Bound expression length and hashed step expansion at parse time

  4. 5.10.1

    12 Sep 20262 fixes
    • Fixed

      Reject duplicate zero values in field validation

    • Fixed

      Bound field value expansion at parse time

  5. 5.10.0

    14 Aug 20261 fix
    • Fixed

      Pad short expressions from the leading field slot

  6. 5.9.0

    13 Aug 20263 fixes
    • 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

  7. 5.8.1nothing new or fixed in the note

  8. 5.8.0

    9 Aug 20264 fixes
    • Fixed

      Drop day of month values the month does not have

    • Fixed

      Keep day fields that cover their whole range out of the wildcard form

    • Fixed

      Round the current date to whole seconds so occurrences on the end date are returned

    • Fixed

      Keep a day-of-week step from adding Sunday when it never reaches 7

20 other lines we could not sort, mostly version bumps
  • Clamp currentDate value when startDate or endDate are provided

    5.4.0
  • CronFieldCollection.from should allow passing in special chars

    5.3.1
  • Update luxon to the latest version 1c32a8498cd71a8eaa8bc114754a6470f08b6305

    5.3.1
  • Hashed values (H) ranges and steps support

    5.3.0
  • Adding support for the H syntax, allowing to add jitter to a cron expression

    5.2.0
  • Extended serialization for cron fields

    5.2.0
  • Update luxon to the latest (3.6.1) version

    5.1.1
  • Update development dependencies to the latest versions

    5.1.1
  • #374 - Improve handling and support for special characters (L, #) in the includesDate method

    5.1.0
  • Simplify strict mode flag usage in getRawFields

    5.0.6

8 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.