Update dependency cron to v3
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
cron | dependencies | major | ^2.4.3 -> ^3.0.0 |
⚠ Dependency Lookup Warnings ⚠
Warnings were logged while processing this repo. Please check the logs for more information.
Release Notes
kelektiv/node-cron
v3.0.0
⚠ Breaking changes
-
utcOffset
parameter no longer accepts a string -
utcOffset
values between -60 and 60 are no longer treated as hours - providing both
timeZone
andutcOffset
parameters now throws an error - removed
cron.job()
method in favor ofnew CronJob(...args)
/CronJob.from(argsObject)
- removed
cron.time()
method in favor ofnew CronTime()
-
CronJob
: constructor no longer accepts an object as its first and only params. UseCronJob.from(argsObject)
instead. -
CronJob
: callbacks are now called in the order they were registered - return empty array from nextDates when called without argument (#519)
- UNIX standard alignments (#667)
✨ Features
- expose useful types (737b344)
- rework utcOffset parameter (#699) (671e933)
- UNIX standard alignments (#667) (ff615f1)
🐛 Bug Fixes
📦 Code Refactoring
📚 Documentation
🚨 Tests
- update new test for cron standard alignments (4a406c1)
♻ ️ Chores
💎 Styles
- fix linting issues (47e665f)
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.