core icon indicating copy to clipboard operation
core copied to clipboard

Replace node-cron with a supported/maintained version

Open zoe-codez opened this issue 9 months ago • 2 comments

🪤 Context

The currently installed node-cron package appears to be unmaintained, this should be replaced with a fork that is being properly maintained

📬 Caveats

🩻 Additional details

zoe-codez avatar Feb 27 '25 15:02 zoe-codez

actually a new version was released: https://www.npmjs.com/package/node-cron

I checked the code, I think the migration to v4 looks simple, since this project is using the default options on scheduling.

merencia avatar May 23 '25 01:05 merencia

I saw! Seems worth sticking with it for simplicity since it's being maintained again For the most part it's pretty drop in with the upgrade, the unit tests were giving some headaches tho when trying to mock timers. I'll probably get it merged in soon tho

https://github.com/Digital-Alchemy-TS/core/pull/198

zoe-codez avatar May 23 '25 15:05 zoe-codez