Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cron

Package Overview
Dependencies
Maintainers
3
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cron - npm Package Versions

13
7

3.1.1

Diff

Changelog

Source

3.1.1 (2023-10-12)

🐛 Bug Fixes

  • fix lastDate() value for intervals > 25 days (#711) (141aa00)
  • fix object constructor typings & make OC generic type optional (#712) (6536084)

📚 Documentation

  • readme: update nextDates documentation (#702) (1ad2e22)
intcreator
published 3.1.0 •

Changelog

Source

3.1.0 (2023-10-09)

✨ Features

  • improve context, onTick & onComplete typings (#705) (82c78d7)

🚨 Tests

  • check at runtime that all tests call expect (#706) [skip ci] (cc4e62f)

♻️ Chores

  • deps: update semantic-release related packages (#709) [skip ci] (b94a48a)
  • reflect repository label changes (#708) (85c9e18)
intcreator
published 3.0.0 •

Changelog

Source

3.0.0 (2023-09-30)

⚠ Breaking changes

  • utcOffset parameter no longer accepts a string
  • utcOffset values between -60 and 60 are no longer treated as hours
  • providing both timeZone and utcOffset parameters now throws an error
  • removed cron.job() method in favor of new CronJob(...args) / CronJob.from(argsObject)
  • removed cron.time() method in favor of new CronTime()
  • CronJob: constructor no longer accepts an object as its first and only params. Use CronJob.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

🐛 Bug Fixes

  • return empty array from nextDates when called without argument (#519) (c2891ba)

📦 Code Refactoring

📚 Documentation

🚨 Tests

  • update new test for cron standard alignments (4a406c1)

♻️ Chores

💎 Styles

intcreator
published 3.0.0-beta.9 •

intcreator
published 3.0.0-beta.8 •

intcreator
published 3.0.0-beta.7 •

intcreator
published 3.0.0-beta.6 •

intcreator
published 3.0.0-beta.5 •

intcreator
published 2.4.4 •

Changelog

Source

2.4.4 (2023-09-25)

🐛 Bug Fixes

intcreator
published 3.0.0-beta.4 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc