v4.0.0
4.0.0 (2023-03-30)
Bug Fixes
- correctly parse weekday ranges that include sunday (#283) (2fb78b5)
- specify types for legacy support (7288c13)
chore
- drop support for node14 (d47ac6a)
Features
- esm only build (58cbdd7)
BREAKING CHANGES
- If your environment does not support conditional exports, you have to import the schedulers from cron-schedule/dist/schedulers instead of cron-schedule/schedulers.
Signed-off-by: Pascal Sthamer [email protected]
- Support for node14 is dropped,
due to its EOL in the next month and missing ESM module support
Signed-off-by: Pascal Sthamer [email protected]
- The package is now ESM only. A CommonJS or IIFE build is no longer provided.
- The minimum required version of Node.js is now 14
- utils are no longer exposed
- schedulers are no longer exposed in the default entry point.
Import them fromcron-schedule/schedulers/interval-based.js
and
cron-schedule/schedulers/timer-based.js
instead.
Signed-off-by: Pascal Sthamer [email protected]