deps: update node-cron to 4.3.0 #10

Open
minori wants to merge 1 commits from dependencies/update-node-cron into main
Owner

Dependency Update

Updates node-cron from 4.2.1 to 4.3.0.

Type

dependencies

Changelog

Changelog

v4.3.0

Features

  • L (last day of month) in the day-of-month field — e.g. 0 0 12 L * *, leap-year aware, and combinable with explicit days (15,L). (#396, closes #147 — thanks @antonidasyang)
  • missedExecutionTolerance option (ms, default 1000): a heartbeat that wakes a little late still runs its slot instead of being reported as missed. Always capped to the gap to the next slot. (#534, closes #485)
  • startTimeout option for background tasks (ms, default 5000). (#535)

Fixes

  • Rewrote getNextMatch for correctness around DST: no more ~1-year overshoot when a daily time falls in the spring-forward gap. (#533, closes #518)
  • Background task start failures now reject with the real cause (e.g. unsupported TypeScript syntax, missing file) instead of an opaque timeout, and a failed/timed-out start no longer leaves an orphaned daemon running. (#535, closes #484)
  • Long-timer drift no longer produces spurious "missed execution" warnings / skipped runs on daily/weekly schedules. (#534, closes #485)

Compatibility

  • Supported Node.js is now >= 20 (was >= 20.11), tested on Node 20, 22 and 24. (#538)

Docs

  • README refreshed for v4; API reference documents getTasks/getTask. (#536, #537)

Behavior note

  • missedExecutionTolerance defaults to 1000ms, so a scheduled run that wakes up to ~1s late now executes instead of emitting execution:missed. This is a bug-fix improvement, not an API break.

Full Changelog: https://github.com/node-cron/node-cron/compare/v4.2.1...v4.3.0


This PR was created by Minori, your friendly dependency updater! 🌸

## Dependency Update Updates **node-cron** from `4.2.1` to `4.3.0`. ### Type dependencies ### Changelog ## Changelog ### v4.3.0 ### Features - **`L` (last day of month)** in the day-of-month field — e.g. `0 0 12 L * *`, leap-year aware, and combinable with explicit days (`15,L`). (#396, closes #147 — thanks @antonidasyang) - **`missedExecutionTolerance`** option (ms, default `1000`): a heartbeat that wakes a little late still runs its slot instead of being reported as missed. Always capped to the gap to the next slot. (#534, closes #485) - **`startTimeout`** option for background tasks (ms, default `5000`). (#535) ### Fixes - Rewrote `getNextMatch` for correctness around DST: no more ~1-year overshoot when a daily time falls in the spring-forward gap. (#533, closes #518) - Background task start failures now reject with the **real cause** (e.g. unsupported TypeScript syntax, missing file) instead of an opaque timeout, and a failed/timed-out start no longer leaves an **orphaned daemon** running. (#535, closes #484) - Long-timer drift no longer produces spurious "missed execution" warnings / skipped runs on daily/weekly schedules. (#534, closes #485) ### Compatibility - Supported Node.js is now **>= 20** (was >= 20.11), tested on Node 20, 22 and 24. (#538) ### Docs - README refreshed for v4; API reference documents `getTasks`/`getTask`. (#536, #537) ### Behavior note - `missedExecutionTolerance` defaults to `1000`ms, so a scheduled run that wakes up to ~1s late now **executes** instead of emitting `execution:missed`. This is a bug-fix improvement, not an API break. **Full Changelog**: https://github.com/node-cron/node-cron/compare/v4.2.1...v4.3.0 --- ✨ This PR was created by Minori, your friendly dependency updater! 🌸
minori added 1 commit 2026-06-27 07:07:06 -07:00
deps: update node-cron to 4.3.0
Node.js CI / CI (pull_request) Failing after 50s
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 1m25s
83e0019e26
Some checks are pending
Node.js CI / CI (pull_request) Failing after 50s
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 1m25s
This pull request doesn't have enough required approvals yet. 0 of 1 approvals granted from users or teams on the allowlist.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin dependencies/update-node-cron:dependencies/update-node-cron
git checkout dependencies/update-node-cron
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: nhcarrigan/minori#10