Packages

cron-parser

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

Upgrading cron-parser From 4.9.0 to 5.0.0

1 release 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.0target

Before you upgrade

Tick each one off as you go
  • Breaking5.0.0
  • Breaking5.0.0
  • Breaking5.0.0
  • Breaking5.0.0

Release by release

  1. 5.0.0

    Migration needed13 Feb 20252 new · 2 fixes
    • Breaking

      Bumped the minimum Node.js version to >= 18 and TypeScript to >= 5.

    • Breaking

      interval.fields (CronExpression.interval) now returns a readonly instance of CronFieldsCollection instead of a regular array. See CronFieldsCollection.from for how to modify the underlying data structure.

    • Breaking

      Moved crontab file parsing from CronParser to a standalone CronFileParser class (fixes #112).

    • Breaking

      Removal of utc flag from the options. Pass in UTC timezone instead.

3 other lines we could not sort, mostly version bumps
  • Refactored the codebase to TypeScript (fixes #190).

    5.0.0
  • Improved documentation and introduced documentation generated by typedoc (fixes #309, #322, #269).

    5.0.0
  • Improved repeat serialization for stringification (fixes #236).

    5.0.0

1 internal line (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.