cron 5.0.0-beta.1 → 5.0.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +418 -14
- package/README.md +84 -57
- package/dist/constants.js +0 -1
- package/dist/errors.d.ts +1 -0
- package/dist/errors.js +7 -2
- package/dist/index.js +0 -1
- package/dist/job.d.ts +2 -2
- package/dist/job.js +31 -23
- package/dist/time.d.ts +5 -2
- package/dist/time.js +45 -16
- package/dist/types/cron.types.d.ts +1 -0
- package/dist/types/cron.types.js +0 -1
- package/dist/types/utils.js +0 -1
- package/dist/utils.js +0 -1
- package/package.json +28 -25
package/CHANGELOG.md
CHANGED
|
@@ -1,24 +1,428 @@
|
|
|
1
|
-
## [5.0.0-beta.
|
|
1
|
+
## [5.0.0-beta.3](https://github.com/kelektiv/node-cron/compare/v5.0.0-beta.2...v5.0.0-beta.3) (2026-11-24)
|
|
2
|
+
|
|
3
|
+
### 🐛 Bug Fixes
|
|
4
|
+
|
|
5
|
+
* stop jobs scheduled after a repeated DST hour from also running in it ([#1092](https://github.com/kelektiv/node-cron/issues/1092)) ([cba5b52](https://github.com/kelektiv/node-cron/commit/cba5b5276cc324035296f7fac45717aefc7d9c66)), closes [#966](https://github.com/kelektiv/node-cron/issues/966) [#881](https://github.com/kelektiv/node-cron/issues/881) [#1087](https://github.com/kelektiv/node-cron/issues/1087) [#1088](https://github.com/kelektiv/node-cron/issues/1088) [#881](https://github.com/kelektiv/node-cron/issues/881) [#1088](https://github.com/kelektiv/node-cron/issues/1088)
|
|
6
|
+
* **time:** stop daily jobs firing twice at southern spring-forward jumps ([#1105](https://github.com/kelektiv/node-cron/issues/1105)) ([2edbb11](https://github.com/kelektiv/node-cron/commit/2edbb118070c0e48540769449e3573942d0c9002)), closes [#1092](https://github.com/kelektiv/node-cron/issues/1092) [#1092](https://github.com/kelektiv/node-cron/issues/1092) [#1099](https://github.com/kelektiv/node-cron/issues/1099) [#1087](https://github.com/kelektiv/node-cron/issues/1087) [#1102](https://github.com/kelektiv/node-cron/issues/1102) [#1103](https://github.com/kelektiv/node-cron/issues/1103)
|
|
7
|
+
|
|
8
|
+
### ♻️ Chores
|
|
9
|
+
|
|
10
|
+
* **action:** update actions/setup-node action to v7.1.0 ([d3a1871](https://github.com/kelektiv/node-cron/commit/d3a187105a5309d67bf486b960039aa27f9c9531))
|
|
11
|
+
* **action:** update amannn/action-semantic-pull-request action to v6.1.2 ([412a1c6](https://github.com/kelektiv/node-cron/commit/412a1c61aac19084031f66e79874dff6c5a13241))
|
|
12
|
+
* **action:** update github/codeql-action action to v4.38.0 ([b75fae8](https://github.com/kelektiv/node-cron/commit/b75fae860baa9ae6178d78aaf900247893f14ded))
|
|
13
|
+
* **action:** update github/codeql-action action to v4.38.2 ([5e6e413](https://github.com/kelektiv/node-cron/commit/5e6e4135668ec377b6281ff235156e9be5046fad))
|
|
14
|
+
* **action:** update github/codeql-action action to v4.38.3 ([6722374](https://github.com/kelektiv/node-cron/commit/672237448ea4bd119fd4380edff38b5cab5cc784))
|
|
15
|
+
* **action:** update github/codeql-action action to v4.39.1 ([#1097](https://github.com/kelektiv/node-cron/issues/1097)) ([82e8dca](https://github.com/kelektiv/node-cron/commit/82e8dcac2ccd92b5be0aa5a87c0c98e36c1fc33e))
|
|
16
|
+
* **action:** update github/codeql-action action to v4.39.3 ([cb85ce0](https://github.com/kelektiv/node-cron/commit/cb85ce0a958523a2e1487b6491a38e0b98560717))
|
|
17
|
+
* **action:** update ossf/scorecard-action action to v2.5.0 ([#1098](https://github.com/kelektiv/node-cron/issues/1098)) ([4d729cf](https://github.com/kelektiv/node-cron/commit/4d729cf1f322ecb05edb6aeb33ecf69e3001d6ed))
|
|
18
|
+
* **action:** update step-security/harden-runner action to v2.21.1 ([80f52ec](https://github.com/kelektiv/node-cron/commit/80f52ece23bdea66941f905ac56079bc46ae5f2f))
|
|
19
|
+
* **action:** update step-security/harden-runner action to v2.22.1 ([74876a6](https://github.com/kelektiv/node-cron/commit/74876a6e27ecb4679c995d699f75ece10f0d306f))
|
|
20
|
+
* **action:** update step-security/harden-runner action to v2.22.2 ([#1094](https://github.com/kelektiv/node-cron/issues/1094)) ([cf2688c](https://github.com/kelektiv/node-cron/commit/cf2688c26c5e585ca1b049ed6f957bf87e73ba71))
|
|
21
|
+
* **action:** update step-security/harden-runner action to v2.22.4 ([92cc93b](https://github.com/kelektiv/node-cron/commit/92cc93b40f962543be17d663f8bae3ac3d078a05))
|
|
22
|
+
* **deps:** lock file maintenance ([56af005](https://github.com/kelektiv/node-cron/commit/56af005cc577556c487524f82175437ddf148ac1))
|
|
23
|
+
* **deps:** lock file maintenance ([a69bc0d](https://github.com/kelektiv/node-cron/commit/a69bc0d2661754be36b4293de72e934684c9592b))
|
|
24
|
+
* **deps:** lock file maintenance ([6dae922](https://github.com/kelektiv/node-cron/commit/6dae922cb569bb952395a461c91d3eb57ecad32e))
|
|
25
|
+
* **deps:** lock file maintenance ([c53af48](https://github.com/kelektiv/node-cron/commit/c53af484c7d9097b50ccc26df129017bfd8e9cf7))
|
|
26
|
+
* **deps:** lock file maintenance ([#1091](https://github.com/kelektiv/node-cron/issues/1091)) ([37a257b](https://github.com/kelektiv/node-cron/commit/37a257b1fa3adf4a54f0e2452d7639861b5d6932))
|
|
27
|
+
* **deps:** update dependency [@fast-check](https://github.com/fast-check)/jest to v2.3.0 ([#1090](https://github.com/kelektiv/node-cron/issues/1090)) ([01c9e99](https://github.com/kelektiv/node-cron/commit/01c9e99058e977ffc4d68dc163472ea0f9db946a))
|
|
28
|
+
* **deps:** update dependency [@swc](https://github.com/swc)/core to v1.16.13 ([bce2235](https://github.com/kelektiv/node-cron/commit/bce2235ed30eaacc0473a300880ae3defcd3a0e8))
|
|
29
|
+
* **deps:** update dependency [@swc](https://github.com/swc)/core to v1.16.2 ([8880046](https://github.com/kelektiv/node-cron/commit/88800462c98fa4d4aadf34d3fa925f20afcffd63))
|
|
30
|
+
* **deps:** update dependency [@swc](https://github.com/swc)/core to v1.16.20 ([#1095](https://github.com/kelektiv/node-cron/issues/1095)) ([2665caa](https://github.com/kelektiv/node-cron/commit/2665caad82606217ff44921aab55b15e7288c9f2))
|
|
31
|
+
* **deps:** update dependency [@swc](https://github.com/swc)/core to v1.16.22 ([1b7a228](https://github.com/kelektiv/node-cron/commit/1b7a228e212f744f350f70612ee108f3d09ac688))
|
|
32
|
+
* **deps:** update dependency [@types](https://github.com/types)/sinon to v22.0.1 ([#1096](https://github.com/kelektiv/node-cron/issues/1096)) ([a6c3956](https://github.com/kelektiv/node-cron/commit/a6c39566f38b80d70ba2c7fb849930e0da5c474d))
|
|
33
|
+
* **deps:** update dependency [@types](https://github.com/types)/sinon to v22.0.2 ([d78efd3](https://github.com/kelektiv/node-cron/commit/d78efd34af3c3efa8edeb74856ef29e31057e8da))
|
|
34
|
+
* **deps:** update dependency jest to v30.5.1 ([440fd01](https://github.com/kelektiv/node-cron/commit/440fd0194921ff1f1cfad6891c32998a98c521d2))
|
|
35
|
+
* **deps:** update dependency jest to v30.5.2 ([1d80980](https://github.com/kelektiv/node-cron/commit/1d809808ca43289171674b6dc2ec703b2d18a5e4))
|
|
36
|
+
* **deps:** update semantic-release related packages ([3b9391e](https://github.com/kelektiv/node-cron/commit/3b9391e283831672eac149a0f660aeb8dac705a7))
|
|
37
|
+
|
|
38
|
+
## [5.0.0-beta.2](https://github.com/kelektiv/node-cron/compare/v5.0.0-beta.1...v5.0.0-beta.2) (2026-08-28)
|
|
2
39
|
|
|
3
40
|
### ⚠ Breaking changes
|
|
4
41
|
|
|
5
|
-
*
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
42
|
+
* drop Node v18, v20, and v23; deprecate the parameterized constructor, and remove child_process
|
|
43
|
+
|
|
44
|
+
### ✨ Features
|
|
45
|
+
|
|
46
|
+
* drop Node v18, v20, and v23; deprecate the parameterized constructor, and remove child_process ([d15f8bf](https://github.com/kelektiv/node-cron/commit/d15f8bf1144b6b5050d0d0e532e5135150aafeb9))
|
|
47
|
+
|
|
48
|
+
## [5.0.0-beta.1](https://github.com/kelektiv/node-cron/compare/v4.4.0...v5.0.0-beta.1) (2026-08-28)
|
|
49
|
+
|
|
50
|
+
* drop support for Node v18, v20, and v23; add support for Node v24 and v26
|
|
51
|
+
|
|
52
|
+
### ✨ Features
|
|
53
|
+
|
|
54
|
+
* add build debug ([8ed54a6](https://github.com/kelektiv/node-cron/commit/8ed54a683100b9c927c7f361c34f44942982dbbc))
|
|
55
|
+
* drop support for Node v18, v20, and v23; add support for Node v24 and v26 ([409774f](https://github.com/kelektiv/node-cron/commit/409774ff3be3b1e624df6f983844c8bf944282f1))
|
|
56
|
+
* fetch-tags true ([0d2ae06](https://github.com/kelektiv/node-cron/commit/0d2ae0638b457f5e32a227d08e37db01bac72df8))
|
|
57
|
+
* release ([160591c](https://github.com/kelektiv/node-cron/commit/160591c764901fa45d1f1110ec18587b2463dd55))
|
|
58
|
+
* release new version ([c0ccf83](https://github.com/kelektiv/node-cron/commit/c0ccf8377eac34cbb1fe2a1bb6e35f6d94231ee6))
|
|
59
|
+
* remove `child_process` dependency for browser compatibility (#… ([#982](https://github.com/kelektiv/node-cron/issues/982)) ([7e177b1](https://github.com/kelektiv/node-cron/commit/7e177b191371b5869b48fe392f81c52d13680d5e))
|
|
60
|
+
* set fetch depth for releases to 0 ([cce6c7d](https://github.com/kelektiv/node-cron/commit/cce6c7dac07ec0180f4105aa6269192f9a75e656))
|
|
61
|
+
|
|
62
|
+
## [4.4.2](https://github.com/kelektiv/node-cron/compare/v4.4.1...v4.4.2) (2026-11-23)
|
|
63
|
+
|
|
64
|
+
### 🐛 Bug Fixes
|
|
65
|
+
|
|
66
|
+
* **time:** stop daily jobs firing twice at southern spring-forward jumps ([#1105](https://github.com/kelektiv/node-cron/issues/1105)) ([2edbb11](https://github.com/kelektiv/node-cron/commit/2edbb118070c0e48540769449e3573942d0c9002)), closes [#1092](https://github.com/kelektiv/node-cron/issues/1092) [#1092](https://github.com/kelektiv/node-cron/issues/1092) [#1099](https://github.com/kelektiv/node-cron/issues/1099) [#1087](https://github.com/kelektiv/node-cron/issues/1087) [#1102](https://github.com/kelektiv/node-cron/issues/1102) [#1103](https://github.com/kelektiv/node-cron/issues/1103)
|
|
67
|
+
|
|
68
|
+
### 🚨 Tests
|
|
69
|
+
|
|
70
|
+
* change fuzz tests to use .from syntax to avoid excessive warning output ([7df0dd5](https://github.com/kelektiv/node-cron/commit/7df0dd538df347f3c0844eeaaba506b83f736757))
|
|
71
|
+
* increase required test coverages ([6ef0d5a](https://github.com/kelektiv/node-cron/commit/6ef0d5a16efb55ffd27fde14e158fb5eaf6f09a9))
|
|
72
|
+
|
|
73
|
+
## [4.4.1](https://github.com/kelektiv/node-cron/compare/v4.4.0...v4.4.1) (2026-11-20)
|
|
11
74
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
75
|
+
### 🐛 Bug Fixes
|
|
76
|
+
|
|
77
|
+
* stop jobs scheduled after a repeated DST hour from also running in it ([#1092](https://github.com/kelektiv/node-cron/issues/1092)) ([cba5b52](https://github.com/kelektiv/node-cron/commit/cba5b5276cc324035296f7fac45717aefc7d9c66)), closes [#966](https://github.com/kelektiv/node-cron/issues/966) [#881](https://github.com/kelektiv/node-cron/issues/881) [#1087](https://github.com/kelektiv/node-cron/issues/1087) [#1088](https://github.com/kelektiv/node-cron/issues/1088) [#881](https://github.com/kelektiv/node-cron/issues/881) [#1088](https://github.com/kelektiv/node-cron/issues/1088)
|
|
78
|
+
|
|
79
|
+
### 📦 Code Refactoring
|
|
80
|
+
|
|
81
|
+
* **errors:** dedupe timeZone/utcOffset exclusivity check ([#1084](https://github.com/kelektiv/node-cron/issues/1084)) ([d0656c3](https://github.com/kelektiv/node-cron/commit/d0656c3f3c4fc512ebfd0c19bee1c3e5be1574e5)), closes [#704](https://github.com/kelektiv/node-cron/issues/704) [#704](https://github.com/kelektiv/node-cron/issues/704)
|
|
82
|
+
* simplify CronJob and CronTime constructor overloads for timeZone/utcOffset exclusivity ([#1065](https://github.com/kelektiv/node-cron/issues/1065)) ([42c924a](https://github.com/kelektiv/node-cron/commit/42c924a3502abc1aff98ddef39b6850343d18eda)), closes [#704](https://github.com/kelektiv/node-cron/issues/704)
|
|
83
|
+
* simplify exclusive timeZone/utcOffset runtime check ([#1067](https://github.com/kelektiv/node-cron/issues/1067)) ([828e870](https://github.com/kelektiv/node-cron/commit/828e870704b3e28c9eb58fbf1fca9e8f09456a78)), closes [#704](https://github.com/kelektiv/node-cron/issues/704) [#704](https://github.com/kelektiv/node-cron/issues/704)
|
|
84
|
+
|
|
85
|
+
### ♻️ Chores
|
|
86
|
+
|
|
87
|
+
* **action:** update actions/checkout action to v6.0.1 ([2153c8e](https://github.com/kelektiv/node-cron/commit/2153c8e156b902e7ac83382055cdc804ef00b807))
|
|
88
|
+
* **action:** update actions/checkout action to v6.0.2 ([#1039](https://github.com/kelektiv/node-cron/issues/1039)) ([8f8adfa](https://github.com/kelektiv/node-cron/commit/8f8adfad4f79400e5c377f986e626b9e6334604e))
|
|
89
|
+
* **action:** update actions/checkout action to v6.0.3 ([03c5afe](https://github.com/kelektiv/node-cron/commit/03c5afe770ce99abfabe57216281dcc6a6aebf10))
|
|
90
|
+
* **action:** update actions/checkout action to v6.1.0 ([#1079](https://github.com/kelektiv/node-cron/issues/1079)) ([6d72e75](https://github.com/kelektiv/node-cron/commit/6d72e758170ef10dfebde8aaee7f6e214f9db96d))
|
|
91
|
+
* **action:** update actions/checkout action to v7 ([#1069](https://github.com/kelektiv/node-cron/issues/1069)) ([6bb1a95](https://github.com/kelektiv/node-cron/commit/6bb1a950357db85a8f0f1f839ab08e8f9e26b45c))
|
|
92
|
+
* **action:** update actions/create-github-app-token action to v2.2.1 ([9c1c59c](https://github.com/kelektiv/node-cron/commit/9c1c59c3ddbc8cdf7b1d1ccaba0f5a5891a45313))
|
|
93
|
+
* **action:** update actions/create-github-app-token action to v2.2.2 ([#1054](https://github.com/kelektiv/node-cron/issues/1054)) ([b4a8962](https://github.com/kelektiv/node-cron/commit/b4a8962a67749c1784d4bd2e905009f8ae48d886))
|
|
94
|
+
* **action:** update actions/setup-node action to v6.1.0 ([8fa54cf](https://github.com/kelektiv/node-cron/commit/8fa54cf35c276f679c5514c55c9ad1026fcda4c5))
|
|
95
|
+
* **action:** update actions/setup-node action to v6.2.0 ([2c74dac](https://github.com/kelektiv/node-cron/commit/2c74dacccadbd0b267d046e0595605ce23e967b2))
|
|
96
|
+
* **action:** update actions/setup-node action to v6.3.0 ([#1051](https://github.com/kelektiv/node-cron/issues/1051)) ([f38b136](https://github.com/kelektiv/node-cron/commit/f38b13673d42c69fc1e620a7a93285c250fe6662))
|
|
97
|
+
* **action:** update actions/setup-node action to v6.4.0 ([211cf2c](https://github.com/kelektiv/node-cron/commit/211cf2c08165193737fb66cc9047089690052838))
|
|
98
|
+
* **action:** update actions/setup-node action to v6.5.0 ([fd8a2fa](https://github.com/kelektiv/node-cron/commit/fd8a2fa0a384185bd4332e7b6c1e967856c1540d))
|
|
99
|
+
* **action:** update actions/setup-node action to v7 ([#1076](https://github.com/kelektiv/node-cron/issues/1076)) ([6ebc85a](https://github.com/kelektiv/node-cron/commit/6ebc85a831a90f30bc8d3bb5ff53cc547691d6cb))
|
|
100
|
+
* **action:** update actions/setup-node action to v7.1.0 ([d3a1871](https://github.com/kelektiv/node-cron/commit/d3a187105a5309d67bf486b960039aa27f9c9531))
|
|
101
|
+
* **action:** update amannn/action-semantic-pull-request action to v6.1.2 ([412a1c6](https://github.com/kelektiv/node-cron/commit/412a1c61aac19084031f66e79874dff6c5a13241))
|
|
102
|
+
* **action:** update github/codeql-action action to v4.31.7 ([6b0a43b](https://github.com/kelektiv/node-cron/commit/6b0a43b4e5d8211a8dcf57d0a010fbc6fcc4f73c))
|
|
103
|
+
* **action:** update github/codeql-action action to v4.31.9 ([#1036](https://github.com/kelektiv/node-cron/issues/1036)) ([3f5f6ec](https://github.com/kelektiv/node-cron/commit/3f5f6ec6b528749f65e4d91c2afab444e8865aec))
|
|
104
|
+
* **action:** update github/codeql-action action to v4.31.11 ([5f19571](https://github.com/kelektiv/node-cron/commit/5f195719393328cfb5a55b098b8329526fffa2a5))
|
|
105
|
+
* **action:** update github/codeql-action action to v4.32.2 ([96a330a](https://github.com/kelektiv/node-cron/commit/96a330af0f9144b73ee166cdc93541d969f4a622))
|
|
106
|
+
* **action:** update github/codeql-action action to v4.32.4 ([#1046](https://github.com/kelektiv/node-cron/issues/1046)) ([682c73e](https://github.com/kelektiv/node-cron/commit/682c73e452bc136c8210a34fe59c3443276a4673))
|
|
107
|
+
* **action:** update github/codeql-action action to v4.32.6 ([a28b1c5](https://github.com/kelektiv/node-cron/commit/a28b1c53be608bd0dbe8ea63fec15365a5f7d36c))
|
|
108
|
+
* **action:** update github/codeql-action action to v4.34.1 ([#1055](https://github.com/kelektiv/node-cron/issues/1055)) ([8d7d0cb](https://github.com/kelektiv/node-cron/commit/8d7d0cb120f8e9a7da953dedfaae35581e100da4))
|
|
109
|
+
* **action:** update github/codeql-action action to v4.35.1 ([96d42dc](https://github.com/kelektiv/node-cron/commit/96d42dc1cd2e99548402d23bf90e18179bca46f9))
|
|
110
|
+
* **action:** update github/codeql-action action to v4.35.2 ([74e95f2](https://github.com/kelektiv/node-cron/commit/74e95f21760086e572f6ddf11ab6687b2034aec3))
|
|
111
|
+
* **action:** update github/codeql-action action to v4.35.4 ([09e38a3](https://github.com/kelektiv/node-cron/commit/09e38a3ef0872806e6422ed9a698371d30ca4c49))
|
|
112
|
+
* **action:** update github/codeql-action action to v4.36.0 ([2656649](https://github.com/kelektiv/node-cron/commit/2656649ac5da232ccabbe3224bc231c7645facfc))
|
|
113
|
+
* **action:** update github/codeql-action action to v4.36.2 ([2c2e120](https://github.com/kelektiv/node-cron/commit/2c2e120c1f22d864b7df550805d17955df79d0fa))
|
|
114
|
+
* **action:** update github/codeql-action action to v4.37.0 ([2e82282](https://github.com/kelektiv/node-cron/commit/2e822820d03cacdf7a20d027f1053c1f56f0a5d6))
|
|
115
|
+
* **action:** update github/codeql-action action to v4.37.3 ([e956198](https://github.com/kelektiv/node-cron/commit/e956198a3eb5955bdeab275650f55e203d71938a))
|
|
116
|
+
* **action:** update github/codeql-action action to v4.37.6 ([754491b](https://github.com/kelektiv/node-cron/commit/754491b51aae4e38a069a26cd5a90554ee1b3f7f))
|
|
117
|
+
* **action:** update github/codeql-action action to v4.37.8 ([4a993ce](https://github.com/kelektiv/node-cron/commit/4a993ce1aaf286a965b6f7a94cec5ce8ca5db3bd))
|
|
118
|
+
* **action:** update ossf/scorecard-action action to v2.4.4 ([96ccdf4](https://github.com/kelektiv/node-cron/commit/96ccdf4400ac1a6fe3f7bcba203438a860a6664d))
|
|
119
|
+
* **action:** update github/codeql-action action to v4.38.0 ([b75fae8](https://github.com/kelektiv/node-cron/commit/b75fae860baa9ae6178d78aaf900247893f14ded))
|
|
120
|
+
* **action:** update github/codeql-action action to v4.38.2 ([5e6e413](https://github.com/kelektiv/node-cron/commit/5e6e4135668ec377b6281ff235156e9be5046fad))
|
|
121
|
+
* **action:** update github/codeql-action action to v4.38.3 ([6722374](https://github.com/kelektiv/node-cron/commit/672237448ea4bd119fd4380edff38b5cab5cc784))
|
|
122
|
+
* **action:** update github/codeql-action action to v4.39.1 ([#1097](https://github.com/kelektiv/node-cron/issues/1097)) ([82e8dca](https://github.com/kelektiv/node-cron/commit/82e8dcac2ccd92b5be0aa5a87c0c98e36c1fc33e))
|
|
123
|
+
* **action:** update github/codeql-action action to v4.39.3 ([cb85ce0](https://github.com/kelektiv/node-cron/commit/cb85ce0a958523a2e1487b6491a38e0b98560717))
|
|
124
|
+
* **action:** update ossf/scorecard-action action to v2.4.4 ([96ccdf4](https://github.com/kelektiv/node-cron/commit/96ccdf4400ac1a6fe3f7bcba203438a860a6664d))
|
|
125
|
+
* **action:** update ossf/scorecard-action action to v2.5.0 ([#1098](https://github.com/kelektiv/node-cron/issues/1098)) ([4d729cf](https://github.com/kelektiv/node-cron/commit/4d729cf1f322ecb05edb6aeb33ecf69e3001d6ed))
|
|
126
|
+
* **action:** update step-security/harden-runner action to v2.14.0 ([124902d](https://github.com/kelektiv/node-cron/commit/124902d857b4061c06ffc56e214dd240d5b2810d))
|
|
127
|
+
* **action:** update step-security/harden-runner action to v2.14.2 ([96b904e](https://github.com/kelektiv/node-cron/commit/96b904ec3fb36f03e30ba929e381d1d8dc9e6876))
|
|
128
|
+
* **action:** update step-security/harden-runner action to v2.15.0 ([d6f7c4a](https://github.com/kelektiv/node-cron/commit/d6f7c4aca9cd0d9a40a3cb8ee73c08e9be4ec3e9))
|
|
129
|
+
* **action:** update step-security/harden-runner action to v2.15.1 ([1cc562b](https://github.com/kelektiv/node-cron/commit/1cc562ba86db14404340f280bf9e0c86c73b9173))
|
|
130
|
+
* **action:** update step-security/harden-runner action to v2.16.0 ([67e36be](https://github.com/kelektiv/node-cron/commit/67e36bebcca7277720af529069716902d679ec4c))
|
|
131
|
+
* **action:** update step-security/harden-runner action to v2.17.0 ([d5f870a](https://github.com/kelektiv/node-cron/commit/d5f870a937209720cae5b14312b91b73c1e325bf))
|
|
132
|
+
* **action:** update step-security/harden-runner action to v2.19.0 ([#1060](https://github.com/kelektiv/node-cron/issues/1060)) ([d0a94b4](https://github.com/kelektiv/node-cron/commit/d0a94b4a64b5bc706d8c5b42bc88e9afd2d534aa))
|
|
133
|
+
* **action:** update step-security/harden-runner action to v2.19.1 ([0d43e1d](https://github.com/kelektiv/node-cron/commit/0d43e1d83e629c4d38104a72ac9b1208a8edc6cd))
|
|
134
|
+
* **action:** update step-security/harden-runner action to v2.19.4 ([5b12609](https://github.com/kelektiv/node-cron/commit/5b12609b7e1d11469abd73dab9a222382fecfa92))
|
|
135
|
+
* **action:** update step-security/harden-runner action to v2.20.0 ([d87f6aa](https://github.com/kelektiv/node-cron/commit/d87f6aa8be7d1e50734644271305d9dd5289bc80))
|
|
136
|
+
* **action:** update step-security/harden-runner action to v2.20.1 ([d6ca6a1](https://github.com/kelektiv/node-cron/commit/d6ca6a1518f65645c14561877df02beff811187e))
|
|
137
|
+
* **action:** update step-security/harden-runner action to v2.21.0 ([5ed9636](https://github.com/kelektiv/node-cron/commit/5ed96369370483f5161cd7637e70ccddf80c8f43))
|
|
138
|
+
* **action:** update step-security/harden-runner action to v2.21.1 ([80f52ec](https://github.com/kelektiv/node-cron/commit/80f52ece23bdea66941f905ac56079bc46ae5f2f))
|
|
139
|
+
* **action:** update step-security/harden-runner action to v2.22.1 ([74876a6](https://github.com/kelektiv/node-cron/commit/74876a6e27ecb4679c995d699f75ece10f0d306f))
|
|
140
|
+
* **action:** update step-security/harden-runner action to v2.22.2 ([#1094](https://github.com/kelektiv/node-cron/issues/1094)) ([cf2688c](https://github.com/kelektiv/node-cron/commit/cf2688c26c5e585ca1b049ed6f957bf87e73ba71))
|
|
141
|
+
* **action:** update step-security/harden-runner action to v2.22.4 ([92cc93b](https://github.com/kelektiv/node-cron/commit/92cc93b40f962543be17d663f8bae3ac3d078a05))
|
|
142
|
+
* **deps:** lock file maintenance ([56af005](https://github.com/kelektiv/node-cron/commit/56af005cc577556c487524f82175437ddf148ac1))
|
|
143
|
+
* **deps:** lock file maintenance ([a69bc0d](https://github.com/kelektiv/node-cron/commit/a69bc0d2661754be36b4293de72e934684c9592b))
|
|
144
|
+
* **deps:** lock file maintenance ([6dae922](https://github.com/kelektiv/node-cron/commit/6dae922cb569bb952395a461c91d3eb57ecad32e))
|
|
145
|
+
* **deps:** lock file maintenance ([c53af48](https://github.com/kelektiv/node-cron/commit/c53af484c7d9097b50ccc26df129017bfd8e9cf7))
|
|
146
|
+
* **deps:** lock file maintenance ([7ffa0d5](https://github.com/kelektiv/node-cron/commit/7ffa0d5820b7b36202411bb8c31ff64c3511a27d))
|
|
147
|
+
* **deps:** lock file maintenance ([12cacfe](https://github.com/kelektiv/node-cron/commit/12cacfe278c6d83e29e9e731a0aed87e6fb57ba9))
|
|
148
|
+
* **deps:** lock file maintenance ([8b16b60](https://github.com/kelektiv/node-cron/commit/8b16b601eba4883bb0ad831a824a2fff3f8638e6))
|
|
149
|
+
* **deps:** lock file maintenance ([f16969c](https://github.com/kelektiv/node-cron/commit/f16969c0bb5c415cfaad50ac959e95cf4ec544f1))
|
|
150
|
+
* **deps:** lock file maintenance ([58fd4b4](https://github.com/kelektiv/node-cron/commit/58fd4b4265214fab9fc86a21fbadbeaaf2a31686))
|
|
151
|
+
* **deps:** lock file maintenance ([d20084a](https://github.com/kelektiv/node-cron/commit/d20084af3b5e7a73a99962c6334c125c490b8869))
|
|
152
|
+
* **deps:** lock file maintenance ([87adde4](https://github.com/kelektiv/node-cron/commit/87adde4ab2b8ecb1a615a62aad042529551c52cf))
|
|
153
|
+
* **deps:** lock file maintenance ([492911a](https://github.com/kelektiv/node-cron/commit/492911a5a19a5b3673c95e517c0111d140137296))
|
|
154
|
+
* **deps:** lock file maintenance ([dff54e7](https://github.com/kelektiv/node-cron/commit/dff54e7de29d1aec17958c56d68b45197cfd8fd2))
|
|
155
|
+
* **deps:** lock file maintenance ([2aca64f](https://github.com/kelektiv/node-cron/commit/2aca64f9f2b2e11836d7413642ed8d66aa3f9362))
|
|
156
|
+
* **deps:** lock file maintenance ([75379ec](https://github.com/kelektiv/node-cron/commit/75379ec478eccc08950ec6b998eeed87175d6999))
|
|
157
|
+
* **deps:** lock file maintenance ([42ab85b](https://github.com/kelektiv/node-cron/commit/42ab85b612a66019b6c7b892fce5cf6d8b464c6f))
|
|
158
|
+
* **deps:** lock file maintenance ([316d619](https://github.com/kelektiv/node-cron/commit/316d619204c96f45478a99e3c584c217b0a62892))
|
|
159
|
+
* **deps:** lock file maintenance ([90f266d](https://github.com/kelektiv/node-cron/commit/90f266df0437d03d5200d42857a5511dbe09559b))
|
|
160
|
+
* **deps:** lock file maintenance ([fcb3997](https://github.com/kelektiv/node-cron/commit/fcb399779a4d7d2546a8344759fb489fb4fd87d4))
|
|
161
|
+
* **deps:** lock file maintenance ([00f17d9](https://github.com/kelektiv/node-cron/commit/00f17d90ccb69cbda9b73157017578024198a1a4))
|
|
162
|
+
* **deps:** lock file maintenance ([b5f3a13](https://github.com/kelektiv/node-cron/commit/b5f3a131e49595bc2879085450ba000dc9a1e930))
|
|
163
|
+
* **deps:** lock file maintenance ([f422680](https://github.com/kelektiv/node-cron/commit/f422680d6699eb79d954c5a13a752aadd6e4aff9))
|
|
164
|
+
* **deps:** lock file maintenance ([e60e68a](https://github.com/kelektiv/node-cron/commit/e60e68a8f38682d18ac324bd50244303b0a7d840))
|
|
165
|
+
* **deps:** lock file maintenance ([8511a44](https://github.com/kelektiv/node-cron/commit/8511a441fbee9a1469ec1e805f627a99fb3cc98b))
|
|
166
|
+
* **deps:** lock file maintenance ([ab5ffa0](https://github.com/kelektiv/node-cron/commit/ab5ffa06e2c2b175941624e0b8bc20a613444f07))
|
|
167
|
+
* **deps:** lock file maintenance ([1a4cfd9](https://github.com/kelektiv/node-cron/commit/1a4cfd9dd6e6e89438efbde6a8c5fb9235bef515))
|
|
168
|
+
* **deps:** lock file maintenance ([86c5f15](https://github.com/kelektiv/node-cron/commit/86c5f15cf94e0016e799b26a985ea9cb6b779632))
|
|
169
|
+
* **deps:** lock file maintenance ([0aca5a1](https://github.com/kelektiv/node-cron/commit/0aca5a1023519a074e9e68cff22ef94f2e1ee65c))
|
|
170
|
+
* **deps:** lock file maintenance ([ae7cc48](https://github.com/kelektiv/node-cron/commit/ae7cc48b33f0b073a1a0f92fef08a212aae0ab6c))
|
|
171
|
+
* **deps:** lock file maintenance ([#1043](https://github.com/kelektiv/node-cron/issues/1043)) ([1eb113c](https://github.com/kelektiv/node-cron/commit/1eb113c4763012cf1fdbf0a69fbf4bbeae964368))
|
|
172
|
+
* **deps:** lock file maintenance ([#1047](https://github.com/kelektiv/node-cron/issues/1047)) ([624958f](https://github.com/kelektiv/node-cron/commit/624958f97c15d91699f56d2770f443f3b8c8e497))
|
|
173
|
+
* **deps:** lock file maintenance ([#1057](https://github.com/kelektiv/node-cron/issues/1057)) ([4890cd9](https://github.com/kelektiv/node-cron/commit/4890cd9f590857750189b21a98531d5f0a8a8562))
|
|
174
|
+
* **deps:** lock file maintenance ([#1074](https://github.com/kelektiv/node-cron/issues/1074)) ([057bc1f](https://github.com/kelektiv/node-cron/commit/057bc1fdb387d4cb4c71c91d7144cc2dc1d239e5))
|
|
175
|
+
* **deps:** lock file maintenance ([#1080](https://github.com/kelektiv/node-cron/issues/1080)) ([764b61c](https://github.com/kelektiv/node-cron/commit/764b61ccc44d1be4fd20e9c09b5b344a2fc76e7b))
|
|
176
|
+
* **deps:** lock file maintenance ([#1083](https://github.com/kelektiv/node-cron/issues/1083)) ([7b293c0](https://github.com/kelektiv/node-cron/commit/7b293c0b5493165e9cc101d2e7ae50fe1ecaddbb))
|
|
177
|
+
* **deps:** lock file maintenance ([#1091](https://github.com/kelektiv/node-cron/issues/1091)) ([37a257b](https://github.com/kelektiv/node-cron/commit/37a257b1fa3adf4a54f0e2452d7639861b5d6932))
|
|
178
|
+
* **deps:** update dependency [@commitlint](https://github.com/commitlint)/cli to v20.2.0 ([d4f42d1](https://github.com/kelektiv/node-cron/commit/d4f42d12313741008dbeb26b36f1c32db374e97d))
|
|
179
|
+
* **deps:** update dependency [@commitlint](https://github.com/commitlint)/cli to v20.3.0 ([296666b](https://github.com/kelektiv/node-cron/commit/296666b82699101b6f7af96954016c2a746fa59d))
|
|
180
|
+
* **deps:** update dependency [@commitlint](https://github.com/commitlint)/cli to v20.3.1 ([#1041](https://github.com/kelektiv/node-cron/issues/1041)) ([5132ef5](https://github.com/kelektiv/node-cron/commit/5132ef5025f5aabe6ed0dca170af976ef11b6717))
|
|
181
|
+
* **deps:** update dependency [@commitlint](https://github.com/commitlint)/cli to v20.5.0 ([d9d9188](https://github.com/kelektiv/node-cron/commit/d9d91883eee52835f9447ea3101244787ffec472))
|
|
182
|
+
* **deps:** update dependency [@commitlint](https://github.com/commitlint)/cli to v20.5.3 ([af6b71a](https://github.com/kelektiv/node-cron/commit/af6b71aece905bf2685433467a54568cae9404fe))
|
|
183
|
+
* **deps:** update dependency [@eslint](https://github.com/eslint)/js to v9.39.2 ([fdf6d4f](https://github.com/kelektiv/node-cron/commit/fdf6d4fbb2915290bc6de00831ba0b9dbe645701))
|
|
184
|
+
* **deps:** update dependency [@eslint](https://github.com/eslint)/js to v9.39.3 ([6bf5b52](https://github.com/kelektiv/node-cron/commit/6bf5b5239224daa65d97e05f276fa73b89b92d79))
|
|
185
|
+
* **deps:** update dependency [@eslint](https://github.com/eslint)/js to v9.39.4 ([78064fb](https://github.com/kelektiv/node-cron/commit/78064fb89be71085a91e8170b5db9d735a7ef9b4))
|
|
186
|
+
* **deps:** update dependency [@fast-check](https://github.com/fast-check)/jest to v2.2.0 ([2441985](https://github.com/kelektiv/node-cron/commit/244198563a361f62b5a8ec80da5c569da6445ee0))
|
|
187
|
+
* **deps:** update dependency [@fast-check](https://github.com/fast-check)/jest to v2.3.0 ([#1090](https://github.com/kelektiv/node-cron/issues/1090)) ([01c9e99](https://github.com/kelektiv/node-cron/commit/01c9e99058e977ffc4d68dc163472ea0f9db946a))
|
|
188
|
+
* **deps:** update dependency [@semantic-release](https://github.com/semantic-release)/github to v12.0.9 ([cc67332](https://github.com/kelektiv/node-cron/commit/cc673325f6a2cc192b97e60aec1a65de534988b1))
|
|
189
|
+
* **deps:** update dependency [@semantic-release](https://github.com/semantic-release)/npm to v13.1.3 ([#1037](https://github.com/kelektiv/node-cron/issues/1037)) ([b8b958a](https://github.com/kelektiv/node-cron/commit/b8b958ac7f7883c911891f0dded55ba04253e582))
|
|
190
|
+
* **deps:** update dependency [@swc](https://github.com/swc)/core to v1.15.10 ([56fc57e](https://github.com/kelektiv/node-cron/commit/56fc57e89f83884a3f9f507d89ef39b528040d43))
|
|
191
|
+
* **deps:** update dependency [@swc](https://github.com/swc)/core to v1.15.11 ([71e0eea](https://github.com/kelektiv/node-cron/commit/71e0eea6a7833f57e04744757b5a5ebb9092ebaf))
|
|
192
|
+
* **deps:** update dependency [@swc](https://github.com/swc)/core to v1.15.18 ([a4bae8d](https://github.com/kelektiv/node-cron/commit/a4bae8d228e4fd6eca98d87565d85b6e64461ce0))
|
|
193
|
+
* **deps:** update dependency [@swc](https://github.com/swc)/core to v1.15.21 ([9a7dbd4](https://github.com/kelektiv/node-cron/commit/9a7dbd4143f058a1178af7cadb10072c8a70b858))
|
|
194
|
+
* **deps:** update dependency [@swc](https://github.com/swc)/core to v1.15.24 ([affaa01](https://github.com/kelektiv/node-cron/commit/affaa0189fc6f9191bded91a297e0f69fe919c30))
|
|
195
|
+
* **deps:** update dependency [@swc](https://github.com/swc)/core to v1.15.30 ([862c2ed](https://github.com/kelektiv/node-cron/commit/862c2ede1862275f17176ed7cb97a985526bbced))
|
|
196
|
+
* **deps:** update dependency [@swc](https://github.com/swc)/core to v1.15.33 ([ac4bfff](https://github.com/kelektiv/node-cron/commit/ac4bfff08648bf2768bace23a599a6433355da65))
|
|
197
|
+
* **deps:** update dependency [@swc](https://github.com/swc)/core to v1.15.43 ([92f5848](https://github.com/kelektiv/node-cron/commit/92f5848f1265412f468c6a1008d62349b3c251ad))
|
|
198
|
+
* **deps:** update dependency [@swc](https://github.com/swc)/core to v1.15.46 ([a98d7ed](https://github.com/kelektiv/node-cron/commit/a98d7ed5cf3b0fd1721d569a5b3b4db06e97de22))
|
|
199
|
+
* **deps:** update dependency [@swc](https://github.com/swc)/core to v1.15.47 ([c61730f](https://github.com/kelektiv/node-cron/commit/c61730f7300323086190faeca99928b87650b0fb))
|
|
200
|
+
* **deps:** update dependency [@swc](https://github.com/swc)/core to v1.15.7 ([1c23b91](https://github.com/kelektiv/node-cron/commit/1c23b9124071ab64e7f6b5dcdf31e42a825d83d7))
|
|
201
|
+
* **deps:** update dependency [@swc](https://github.com/swc)/core to v1.15.8 ([8e88e7c](https://github.com/kelektiv/node-cron/commit/8e88e7c5f2c99334715ab1d3fd34fd819fe0d26a))
|
|
202
|
+
* **deps:** update dependency [@swc](https://github.com/swc)/core to v1.16.1 ([50622e4](https://github.com/kelektiv/node-cron/commit/50622e4fe4b75a77ce9ff75e8438063bc55b5df6))
|
|
203
|
+
* **deps:** update dependency [@types](https://github.com/types)/node to v24.10.4 ([fc55c26](https://github.com/kelektiv/node-cron/commit/fc55c26dbd631cc38ac4577c08a2eb91680f4d00))
|
|
204
|
+
* **deps:** update dependency [@types](https://github.com/types)/sinon to v21.0.1 ([1cd9c4c](https://github.com/kelektiv/node-cron/commit/1cd9c4cbbdb564499f9bf7be5c50eb779f5def4f))
|
|
205
|
+
* **deps:** update dependency jest to v30.4.0 ([8a018f6](https://github.com/kelektiv/node-cron/commit/8a018f6ad9d9306cf71d2eca97dcf0f51b07d84e))
|
|
206
|
+
* **deps:** update dependency jest to v30.4.2 ([#1064](https://github.com/kelektiv/node-cron/issues/1064)) ([215f445](https://github.com/kelektiv/node-cron/commit/215f44503bb1bb711afc8fc7a05e3a238c658530))
|
|
207
|
+
* **deps:** update dependency [@swc](https://github.com/swc)/core to v1.16.13 ([bce2235](https://github.com/kelektiv/node-cron/commit/bce2235ed30eaacc0473a300880ae3defcd3a0e8))
|
|
208
|
+
* **deps:** update dependency [@swc](https://github.com/swc)/core to v1.16.2 ([8880046](https://github.com/kelektiv/node-cron/commit/88800462c98fa4d4aadf34d3fa925f20afcffd63))
|
|
209
|
+
* **deps:** update dependency [@swc](https://github.com/swc)/core to v1.16.20 ([#1095](https://github.com/kelektiv/node-cron/issues/1095)) ([2665caa](https://github.com/kelektiv/node-cron/commit/2665caad82606217ff44921aab55b15e7288c9f2))
|
|
210
|
+
* **deps:** update dependency [@swc](https://github.com/swc)/core to v1.16.22 ([1b7a228](https://github.com/kelektiv/node-cron/commit/1b7a228e212f744f350f70612ee108f3d09ac688))
|
|
211
|
+
* **deps:** update dependency [@types](https://github.com/types)/node to v24.10.4 ([fc55c26](https://github.com/kelektiv/node-cron/commit/fc55c26dbd631cc38ac4577c08a2eb91680f4d00))
|
|
212
|
+
* **deps:** update dependency [@types](https://github.com/types)/sinon to v21.0.1 ([1cd9c4c](https://github.com/kelektiv/node-cron/commit/1cd9c4cbbdb564499f9bf7be5c50eb779f5def4f))
|
|
213
|
+
* **deps:** update dependency [@types](https://github.com/types)/sinon to v22.0.1 ([#1096](https://github.com/kelektiv/node-cron/issues/1096)) ([a6c3956](https://github.com/kelektiv/node-cron/commit/a6c39566f38b80d70ba2c7fb849930e0da5c474d))
|
|
214
|
+
* **deps:** update dependency [@types](https://github.com/types)/sinon to v22.0.2 ([d78efd3](https://github.com/kelektiv/node-cron/commit/d78efd34af3c3efa8edeb74856ef29e31057e8da))
|
|
215
|
+
* **deps:** update dependency jest to v30.4.0 ([8a018f6](https://github.com/kelektiv/node-cron/commit/8a018f6ad9d9306cf71d2eca97dcf0f51b07d84e))
|
|
216
|
+
* **deps:** update dependency jest to v30.4.2 ([#1064](https://github.com/kelektiv/node-cron/issues/1064)) ([215f445](https://github.com/kelektiv/node-cron/commit/215f44503bb1bb711afc8fc7a05e3a238c658530))
|
|
217
|
+
* **deps:** update dependency jest to v30.5.1 ([440fd01](https://github.com/kelektiv/node-cron/commit/440fd0194921ff1f1cfad6891c32998a98c521d2))
|
|
218
|
+
* **deps:** update dependency jest to v30.5.2 ([1d80980](https://github.com/kelektiv/node-cron/commit/1d809808ca43289171674b6dc2ec703b2d18a5e4))
|
|
219
|
+
* **deps:** update dependency prettier to v3.7.4 ([1477c8c](https://github.com/kelektiv/node-cron/commit/1477c8c5c1e2e33ef0706e6ffb7322ff6c474a8a))
|
|
220
|
+
* **deps:** update dependency prettier to v3.8.3 ([db7ffdd](https://github.com/kelektiv/node-cron/commit/db7ffdd19931c8f1c9f0611529ebf8d22834d383))
|
|
221
|
+
* **deps:** update dependency semantic-release to v25.0.8 ([#1078](https://github.com/kelektiv/node-cron/issues/1078)) ([4a6e38e](https://github.com/kelektiv/node-cron/commit/4a6e38e044cc7b6f86c79e5f1448696b1feffb17))
|
|
222
|
+
* **deps:** update dependency semantic-release to v25.0.9 ([24cfa9e](https://github.com/kelektiv/node-cron/commit/24cfa9e717256437853d5774aa3fa0cfa39fb833))
|
|
223
|
+
* **deps:** update dependency sinon to v21.0.1 ([0c08d65](https://github.com/kelektiv/node-cron/commit/0c08d6571a1421b861f98cf53d7b5ea1cf4985d9))
|
|
224
|
+
* **deps:** update dependency sinon to v21.0.2 ([4e33b53](https://github.com/kelektiv/node-cron/commit/4e33b539911a87ab14dc42b4b5e496775001d760))
|
|
225
|
+
* **deps:** update dependency sinon to v21.1.2 ([b8410cb](https://github.com/kelektiv/node-cron/commit/b8410cb3f806062e82b9e09fd31ab039b172443d))
|
|
226
|
+
* **deps:** update linters ([20245c8](https://github.com/kelektiv/node-cron/commit/20245c818370f28654f71e8007413e2fd067dd15))
|
|
227
|
+
* **deps:** update linters ([4944012](https://github.com/kelektiv/node-cron/commit/494401254f7bc2d2fbce952893e7626d03dcfef2))
|
|
228
|
+
* **deps:** update linters to v5.5.6 ([f10f045](https://github.com/kelektiv/node-cron/commit/f10f045abf989797de35b08ce21bd54d10e7ea83))
|
|
229
|
+
* **deps:** update node.js to v24 ([#1025](https://github.com/kelektiv/node-cron/issues/1025)) ([c068045](https://github.com/kelektiv/node-cron/commit/c068045c710d6925ee5ee2346861223a14bffe4d))
|
|
230
|
+
* **deps:** update node.js to v24.12.0 ([#1033](https://github.com/kelektiv/node-cron/issues/1033)) ([8a7a757](https://github.com/kelektiv/node-cron/commit/8a7a75723c119d53b0acf2e0a3513b18841347a8))
|
|
231
|
+
* **deps:** update node.js to v24.20.0 ([#1038](https://github.com/kelektiv/node-cron/issues/1038)) ([0eeccf2](https://github.com/kelektiv/node-cron/commit/0eeccf22119db05d0e2e5e020b9a457942f11ed3))
|
|
232
|
+
* **deps:** update semantic-release related packages ([3b9391e](https://github.com/kelektiv/node-cron/commit/3b9391e283831672eac149a0f660aeb8dac705a7))
|
|
233
|
+
* **deps:** update semantic-release related packages ([fa1aa23](https://github.com/kelektiv/node-cron/commit/fa1aa23add457b52dd7dadf1ae6f762a6c5c0805))
|
|
234
|
+
* **deps:** update semantic-release related packages ([35b0a31](https://github.com/kelektiv/node-cron/commit/35b0a31babf5748a4f320e5f4a1ccbc7fa798f6a))
|
|
235
|
+
* **deps:** update semantic-release related packages ([eded145](https://github.com/kelektiv/node-cron/commit/eded1458c6f9a556362851e8b163c5265da4935a))
|
|
236
|
+
* **deps:** update semantic-release related packages ([2f7514e](https://github.com/kelektiv/node-cron/commit/2f7514e9eafa448706c29c93c507b46910490b10))
|
|
237
|
+
* **deps:** update semantic-release related packages ([149d438](https://github.com/kelektiv/node-cron/commit/149d4384643b4d3f7dfd806162a6b791e9cc5e97))
|
|
238
|
+
* **deps:** update swc monorepo ([9b12004](https://github.com/kelektiv/node-cron/commit/9b12004ff5ab6cdb386eb00a58e1daa4867a2c4e))
|
|
239
|
+
* **deps:** update swc monorepo to v1.15.40 ([bc845a8](https://github.com/kelektiv/node-cron/commit/bc845a881013bd93cbdc5be53ad4af3315a8ecae))
|
|
240
|
+
* **deps:** update tests ([68bf77a](https://github.com/kelektiv/node-cron/commit/68bf77aae1d76a1dd1c64b0a1e5dcc528bff7e8f))
|
|
241
|
+
* **deps:** update tests to v22 ([#1062](https://github.com/kelektiv/node-cron/issues/1062)) ([6fe7b80](https://github.com/kelektiv/node-cron/commit/6fe7b80d78577027f65907b50236cc7254396b75))
|
|
242
|
+
|
|
243
|
+
## [4.4.0](https://github.com/kelektiv/node-cron/compare/v4.3.5...v4.4.0) (2025-12-09)
|
|
18
244
|
|
|
19
245
|
### ✨ Features
|
|
20
246
|
|
|
21
|
-
*
|
|
247
|
+
* update node versions to include 24 and 25 ([#1031](https://github.com/kelektiv/node-cron/issues/1031)) ([b228e7c](https://github.com/kelektiv/node-cron/commit/b228e7cdf92106fe1af614768b2492e1cefbc20f)), closes [#1000](https://github.com/kelektiv/node-cron/issues/1000)
|
|
248
|
+
|
|
249
|
+
### ♻️ Chores
|
|
250
|
+
|
|
251
|
+
* **deps:** lock file maintenance ([570f9bc](https://github.com/kelektiv/node-cron/commit/570f9bc69bf729890c2a409a99a1eec1b287bc0a))
|
|
252
|
+
* **deps:** lock file maintenance ([#1026](https://github.com/kelektiv/node-cron/issues/1026)) ([ac05b84](https://github.com/kelektiv/node-cron/commit/ac05b84a238a4564a890760bdac802d591296872))
|
|
253
|
+
|
|
254
|
+
## [4.3.5](https://github.com/kelektiv/node-cron/compare/v4.3.4...v4.3.5) (2025-11-30)
|
|
255
|
+
|
|
256
|
+
### 🐛 Bug Fixes
|
|
257
|
+
|
|
258
|
+
* suppress setTimeout warning with negatives ([#1030](https://github.com/kelektiv/node-cron/issues/1030)) ([74d3b74](https://github.com/kelektiv/node-cron/commit/74d3b74dd42adeb348d6e13dd798d61fb68073a7)), closes [#1000](https://github.com/kelektiv/node-cron/issues/1000)
|
|
259
|
+
|
|
260
|
+
### ♻️ Chores
|
|
261
|
+
|
|
262
|
+
* **action:** update actions/checkout action to v5.0.1 ([0f3b9f3](https://github.com/kelektiv/node-cron/commit/0f3b9f3c12ea9e2cb8567570551f79d557f53b5f))
|
|
263
|
+
* **action:** update actions/checkout action to v6 ([#1028](https://github.com/kelektiv/node-cron/issues/1028)) ([232f23a](https://github.com/kelektiv/node-cron/commit/232f23adad475b70f8c958b29d47f32eb905fb96))
|
|
264
|
+
* **action:** update actions/create-github-app-token action to v2.2.0 ([1ade9ce](https://github.com/kelektiv/node-cron/commit/1ade9ce4ac91a5703798e1c219c59bf92abfdd81))
|
|
265
|
+
* **action:** update actions/setup-node action to v6 ([#1017](https://github.com/kelektiv/node-cron/issues/1017)) ([288cf0d](https://github.com/kelektiv/node-cron/commit/288cf0d83f546b86d5a7bd804a8e88182a6f38cd))
|
|
266
|
+
* **action:** update actions/upload-artifact action to v5 ([#1018](https://github.com/kelektiv/node-cron/issues/1018)) ([7091186](https://github.com/kelektiv/node-cron/commit/709118655aab2d222f50f3a9aff36bc50e0742fa))
|
|
267
|
+
* **action:** update github/codeql-action action to v3.31.2 ([8c5c4db](https://github.com/kelektiv/node-cron/commit/8c5c4db54cc2221181f839c849766dbf54a886db))
|
|
268
|
+
* **action:** update github/codeql-action action to v3.31.5 ([c6516f1](https://github.com/kelektiv/node-cron/commit/c6516f1cbfa8c0d3e453f5d77b14ac02faabc59a))
|
|
269
|
+
* **action:** update github/codeql-action action to v4 ([#1014](https://github.com/kelektiv/node-cron/issues/1014)) ([258ee3b](https://github.com/kelektiv/node-cron/commit/258ee3b0502042720fef103f864e7ffea34783ac))
|
|
270
|
+
* **action:** update step-security/harden-runner action to v2.13.2 ([2f44428](https://github.com/kelektiv/node-cron/commit/2f44428f3aec7829a049bb11cbbb2ed346fdf579))
|
|
271
|
+
* **deps:** update dependency [@eslint](https://github.com/eslint)/js to v9.39.1 ([319462a](https://github.com/kelektiv/node-cron/commit/319462a0f972c3b1c15aa62c4b4bbfcdf7cfe251))
|
|
272
|
+
* **deps:** update dependency [@semantic-release](https://github.com/semantic-release)/github to v12.0.1 ([dfa3411](https://github.com/kelektiv/node-cron/commit/dfa341118e126dbe2e2f7be36b81d9a434cc9608))
|
|
273
|
+
* **deps:** update dependency [@swc](https://github.com/swc)/core to v1.15.0 ([7aa02a2](https://github.com/kelektiv/node-cron/commit/7aa02a2e5996902ecbe9ed69c047cf0093cbea71))
|
|
274
|
+
* **deps:** update dependency [@swc](https://github.com/swc)/core to v1.15.3 ([af87e4d](https://github.com/kelektiv/node-cron/commit/af87e4d391315d72ddddaddac96e43c0eef1936e))
|
|
275
|
+
* **deps:** update dependency [@types](https://github.com/types)/node to v22.19.0 ([67701aa](https://github.com/kelektiv/node-cron/commit/67701aa2de16a78927ed788c07158e0b2d34fe46))
|
|
276
|
+
* **deps:** update dependency [@types](https://github.com/types)/node to v22.19.1 ([2c0d2bb](https://github.com/kelektiv/node-cron/commit/2c0d2bb069847f00ab0246499ea7e21fe34eed6f))
|
|
277
|
+
* **deps:** update dependency [@types](https://github.com/types)/sinon to v21 ([#1029](https://github.com/kelektiv/node-cron/issues/1029)) ([028b8b7](https://github.com/kelektiv/node-cron/commit/028b8b737c1a03c4baba4ebb325e04221adf686c))
|
|
278
|
+
* **deps:** update semantic-release related packages ([e29b122](https://github.com/kelektiv/node-cron/commit/e29b122f0c220b654bdfeeccf6a3408144efd145))
|
|
279
|
+
|
|
280
|
+
## [4.3.4](https://github.com/kelektiv/node-cron/compare/v4.3.3...v4.3.4) (2025-11-06)
|
|
281
|
+
|
|
282
|
+
### 🐛 Bug Fixes
|
|
283
|
+
|
|
284
|
+
* catch errors in async onTick functions ([#1013](https://github.com/kelektiv/node-cron/issues/1013)) ([2ac3001](https://github.com/kelektiv/node-cron/commit/2ac300176017202cf74e281f0ec85541a961c5d2))
|
|
285
|
+
|
|
286
|
+
### 🛠 Builds
|
|
287
|
+
|
|
288
|
+
* add GitHub app token to use for release ([#1024](https://github.com/kelektiv/node-cron/issues/1024)) ([61b54f6](https://github.com/kelektiv/node-cron/commit/61b54f62940105312b4d5921a08ec57231474edb))
|
|
289
|
+
* remove chai since we aren't using it ([#1012](https://github.com/kelektiv/node-cron/issues/1012)) ([cf14205](https://github.com/kelektiv/node-cron/commit/cf14205a36898cad43c4ad36460a9eb457882bdf))
|
|
290
|
+
* switch to using built in GitHub token ([#1022](https://github.com/kelektiv/node-cron/issues/1022)) ([d24b3ea](https://github.com/kelektiv/node-cron/commit/d24b3ea1d19b463bf27826513d8f917d56aea77b))
|
|
291
|
+
* update release config to use trusted publishing ([#1023](https://github.com/kelektiv/node-cron/issues/1023)) ([0cb3ff6](https://github.com/kelektiv/node-cron/commit/0cb3ff6e6a561aec4ea5e2e120eb78a31a5f9b5e)), closes [#1017](https://github.com/kelektiv/node-cron/issues/1017) [#1018](https://github.com/kelektiv/node-cron/issues/1018)
|
|
292
|
+
* use trusted publishing to publish to NPM ([#1021](https://github.com/kelektiv/node-cron/issues/1021)) ([44f14f3](https://github.com/kelektiv/node-cron/commit/44f14f38dcbf405053354c4e1f5dbcad6d757b66))
|
|
293
|
+
|
|
294
|
+
### ♻️ Chores
|
|
295
|
+
|
|
296
|
+
* **action:** update actions/checkout action to v4.3.0 ([d8913b8](https://github.com/kelektiv/node-cron/commit/d8913b8a835e79095b84695baf3b6eea9a30bb43))
|
|
297
|
+
* **action:** update actions/checkout action to v5 ([#1005](https://github.com/kelektiv/node-cron/issues/1005)) ([2e2a021](https://github.com/kelektiv/node-cron/commit/2e2a02198b3e74b6526499ce1e246ed9aba9d587))
|
|
298
|
+
* **action:** update actions/setup-node action to v5 ([#1009](https://github.com/kelektiv/node-cron/issues/1009)) ([4a7f1f3](https://github.com/kelektiv/node-cron/commit/4a7f1f346d491632679183dbe1bfba4eabd48286))
|
|
299
|
+
* **action:** update amannn/action-semantic-pull-request action to v6 ([#1006](https://github.com/kelektiv/node-cron/issues/1006)) ([832ca6e](https://github.com/kelektiv/node-cron/commit/832ca6e40687bd13153001c243f684173e140cf7))
|
|
300
|
+
* **action:** update github/codeql-action action to v3.29.11 ([ec90183](https://github.com/kelektiv/node-cron/commit/ec90183c7be532d0dd45a97fd4aa165a16c81d55))
|
|
301
|
+
* **action:** update github/codeql-action action to v3.29.8 ([842e3e0](https://github.com/kelektiv/node-cron/commit/842e3e0cfe1a581a0993705e09440dd952723c39))
|
|
302
|
+
* **action:** update github/codeql-action action to v3.30.3 ([#1010](https://github.com/kelektiv/node-cron/issues/1010)) ([b195a01](https://github.com/kelektiv/node-cron/commit/b195a015471dca39b59220f745f2f840726ec9ef))
|
|
303
|
+
* **action:** update github/codeql-action action to v3.30.4 ([45a48b8](https://github.com/kelektiv/node-cron/commit/45a48b8c9067e947b734ccbe8ab1de700f2d80de))
|
|
304
|
+
* **action:** update github/codeql-action action to v3.30.7 ([5de5bfc](https://github.com/kelektiv/node-cron/commit/5de5bfcc31f7657acbfce9933ef5bb17ada72bcd))
|
|
305
|
+
* **action:** update github/codeql-action action to v3.30.8 ([4df56a5](https://github.com/kelektiv/node-cron/commit/4df56a5acf9eb38a1aa47baafb729d2685b1b05b))
|
|
306
|
+
* **action:** update github/codeql-action action to v3.31.0 ([14d7498](https://github.com/kelektiv/node-cron/commit/14d74984fcfd9bdcd5a04461582205b3f4e2f678))
|
|
307
|
+
* **action:** update ossf/scorecard-action action to v2.4.3 ([e8a33a0](https://github.com/kelektiv/node-cron/commit/e8a33a05fd7c417583957296af5695dd8b751c65))
|
|
308
|
+
* **action:** update step-security/harden-runner action to v2.13.1 ([2a4a2c2](https://github.com/kelektiv/node-cron/commit/2a4a2c2c94abdf6a2c6081fd844c5fffd09733bd))
|
|
309
|
+
* **deps:** lock file maintenance ([1de94a3](https://github.com/kelektiv/node-cron/commit/1de94a3afcf130b608310a3e3613044f7c6d504b))
|
|
310
|
+
* **deps:** lock file maintenance ([420c4b1](https://github.com/kelektiv/node-cron/commit/420c4b1b93eceb9afba7442f2bd77446df2506bf))
|
|
311
|
+
* **deps:** lock file maintenance ([ac128a2](https://github.com/kelektiv/node-cron/commit/ac128a2d64a34c9d4d984ef6f2bdf2cab7a030e5))
|
|
312
|
+
* **deps:** lock file maintenance ([573faca](https://github.com/kelektiv/node-cron/commit/573facaec3e62dcbb66140cb9240f448322ae275))
|
|
313
|
+
* **deps:** lock file maintenance ([bbb3ab2](https://github.com/kelektiv/node-cron/commit/bbb3ab21bc6249ae8206679cba381dd91a2105bd))
|
|
314
|
+
* **deps:** lock file maintenance ([fd06770](https://github.com/kelektiv/node-cron/commit/fd06770c325b07252682ddaa619948d379be37c4))
|
|
315
|
+
* **deps:** lock file maintenance ([3c5769e](https://github.com/kelektiv/node-cron/commit/3c5769efeff562a436703f120f2c37b84f0c7f74))
|
|
316
|
+
* **deps:** lock file maintenance ([51e2121](https://github.com/kelektiv/node-cron/commit/51e212188a1d6787a55c34d7aa1616e17e68d10d))
|
|
317
|
+
* **deps:** lock file maintenance ([daf30a6](https://github.com/kelektiv/node-cron/commit/daf30a60c2ed3f9b1b70f0b40999f3204d9b5536))
|
|
318
|
+
* **deps:** lock file maintenance ([a60f049](https://github.com/kelektiv/node-cron/commit/a60f04931e0de28d8a716f52b83011c6c9036ef2))
|
|
319
|
+
* **deps:** lock file maintenance ([555cbbf](https://github.com/kelektiv/node-cron/commit/555cbbfe82a23fbb0d0dac5d6e8f9ebd61e70a4a))
|
|
320
|
+
* **deps:** lock file maintenance ([a330852](https://github.com/kelektiv/node-cron/commit/a330852fce41c60c83abebc9b09506dae8486d11))
|
|
321
|
+
* **deps:** lock file maintenance ([90fbb48](https://github.com/kelektiv/node-cron/commit/90fbb487bc84f8da0bbea61be0595c91e3b22fa6))
|
|
322
|
+
* **deps:** update dependency [@eslint](https://github.com/eslint)/js to v9.34.0 ([cdf3a2d](https://github.com/kelektiv/node-cron/commit/cdf3a2de3a3040b2f9ef8427a462d09ceb8a420a))
|
|
323
|
+
* **deps:** update dependency [@eslint](https://github.com/eslint)/js to v9.35.0 ([#1011](https://github.com/kelektiv/node-cron/issues/1011)) ([64c84bd](https://github.com/kelektiv/node-cron/commit/64c84bd04e2218652d43bfc0582f56323adedc22))
|
|
324
|
+
* **deps:** update dependency [@eslint](https://github.com/eslint)/js to v9.36.0 ([23e0fbc](https://github.com/kelektiv/node-cron/commit/23e0fbc572aa8c33696766f16e7b75163fb046ae))
|
|
325
|
+
* **deps:** update dependency [@eslint](https://github.com/eslint)/js to v9.37.0 ([3a20922](https://github.com/kelektiv/node-cron/commit/3a209225620cc013b06ece09445a4fbcea6b7627))
|
|
326
|
+
* **deps:** update dependency [@eslint](https://github.com/eslint)/js to v9.38.0 ([#1020](https://github.com/kelektiv/node-cron/issues/1020)) ([b853a38](https://github.com/kelektiv/node-cron/commit/b853a388754a49f853e8b011e52eb96fd8267783))
|
|
327
|
+
* **deps:** update dependency [@semantic-release](https://github.com/semantic-release)/github to v11.0.4 ([#1007](https://github.com/kelektiv/node-cron/issues/1007)) ([d04396d](https://github.com/kelektiv/node-cron/commit/d04396da14c3f8b17b4ca14e28a0470b8eaa3c34))
|
|
328
|
+
* **deps:** update dependency [@swc](https://github.com/swc)/core to v1.13.20 ([#1019](https://github.com/kelektiv/node-cron/issues/1019)) ([c906a92](https://github.com/kelektiv/node-cron/commit/c906a92c1f6e315d5c58cdf31ad8d4382b33ba63))
|
|
329
|
+
* **deps:** update dependency [@swc](https://github.com/swc)/core to v1.13.3 ([461e602](https://github.com/kelektiv/node-cron/commit/461e602bd7e0233e8ddcbbeab734618a65484b60))
|
|
330
|
+
* **deps:** update dependency [@swc](https://github.com/swc)/core to v1.13.4 ([7665c00](https://github.com/kelektiv/node-cron/commit/7665c000553e94f3690b2ba0f36a5531121fc6c6))
|
|
331
|
+
* **deps:** update dependency [@swc](https://github.com/swc)/core to v1.13.5 ([5b74613](https://github.com/kelektiv/node-cron/commit/5b746130a61533836d0fb67550dd3d84bda321be))
|
|
332
|
+
* **deps:** update dependency [@types](https://github.com/types)/node to v22.17.0 ([40603d9](https://github.com/kelektiv/node-cron/commit/40603d91ef0c0ab22122301043ba0c8447d6a5c1))
|
|
333
|
+
* **deps:** update dependency [@types](https://github.com/types)/node to v22.17.2 ([cce46b8](https://github.com/kelektiv/node-cron/commit/cce46b8b9622f54134931ecb08f9070ffbc8ed4f))
|
|
334
|
+
* **deps:** update dependency [@types](https://github.com/types)/node to v22.18.1 ([9e07aab](https://github.com/kelektiv/node-cron/commit/9e07aabf6da956d981b190c9aaf159de7d409540))
|
|
335
|
+
* **deps:** update dependency [@types](https://github.com/types)/node to v22.18.12 ([3d8843d](https://github.com/kelektiv/node-cron/commit/3d8843d6588739cc2ef2691b4665227012919a4d))
|
|
336
|
+
* **deps:** update dependency [@types](https://github.com/types)/node to v22.18.6 ([438addc](https://github.com/kelektiv/node-cron/commit/438addcdde9dcf3034c3a761e083ad9a6d572062))
|
|
337
|
+
* **deps:** update dependency [@types](https://github.com/types)/node to v22.18.8 ([18f6c48](https://github.com/kelektiv/node-cron/commit/18f6c48651c43edbc80ad2217bdbddd668e956fb))
|
|
338
|
+
* **deps:** update dependency chai to v5.3.3 ([#1008](https://github.com/kelektiv/node-cron/issues/1008)) ([a308ecb](https://github.com/kelektiv/node-cron/commit/a308ecb958992f67ab61ec5ecb709c77c9ddea71))
|
|
339
|
+
* **deps:** update dependency jest to v30.2.0 ([bad0c07](https://github.com/kelektiv/node-cron/commit/bad0c07c43c7df971ee0453c8d4608c3cc31c9fd))
|
|
340
|
+
* **deps:** update dependency typescript to v5.9.2 ([411a2da](https://github.com/kelektiv/node-cron/commit/411a2dad1cb287779803f3ed3e6ef13bc425357d))
|
|
341
|
+
* **deps:** update dependency typescript to v5.9.3 ([2251f01](https://github.com/kelektiv/node-cron/commit/2251f010c5e8b41d24a381dcd46f959239606491))
|
|
342
|
+
* **deps:** update linters ([26069e5](https://github.com/kelektiv/node-cron/commit/26069e5c5ffe17959e812cac12b99796d03ae9ea))
|
|
343
|
+
* **deps:** update semantic-release related packages ([4c56e18](https://github.com/kelektiv/node-cron/commit/4c56e181b8035b9a5fe390d66d09c67e00d3ed2c))
|
|
344
|
+
* **deps:** update semantic-release related packages ([bafbf3b](https://github.com/kelektiv/node-cron/commit/bafbf3bbc565d5c02b35644bb9ba6384b9e5f063))
|
|
345
|
+
* **deps:** update semantic-release related packages (major) ([#1015](https://github.com/kelektiv/node-cron/issues/1015)) ([7b06e1d](https://github.com/kelektiv/node-cron/commit/7b06e1da37cbbee922e02e2ce1ef0aa356748388))
|
|
346
|
+
* **deps:** update tests (major) ([#998](https://github.com/kelektiv/node-cron/issues/998)) ([99670af](https://github.com/kelektiv/node-cron/commit/99670afcaace5a62b2b803f87450b3606abc1f38))
|
|
347
|
+
|
|
348
|
+
## [4.3.3](https://github.com/kelektiv/node-cron/compare/v4.3.2...v4.3.3) (2025-08-01)
|
|
349
|
+
|
|
350
|
+
### 🛠 Builds
|
|
351
|
+
|
|
352
|
+
* **deps:** update dependency [@types](https://github.com/types)/luxon to ~3.7.0 ([9bd0c4e](https://github.com/kelektiv/node-cron/commit/9bd0c4e1c079388e1bbd3d88a153a343c61e396d))
|
|
353
|
+
|
|
354
|
+
### ♻️ Chores
|
|
355
|
+
|
|
356
|
+
* **action:** update github/codeql-action action to v3.29.4 ([f28ea6a](https://github.com/kelektiv/node-cron/commit/f28ea6a66071155c4dbed2819040bfd7da37b8d3))
|
|
357
|
+
* **action:** update marocchino/sticky-pull-request-comment action to v2.9.4 ([ceb7a0c](https://github.com/kelektiv/node-cron/commit/ceb7a0c1b37caab545aeebb721561f20d4736306))
|
|
358
|
+
* **action:** update step-security/harden-runner action to v2.13.0 ([91e2402](https://github.com/kelektiv/node-cron/commit/91e2402038284730d38109b6ad0bb76eeb3f8aab))
|
|
359
|
+
* **deps:** lock file maintenance ([34130fc](https://github.com/kelektiv/node-cron/commit/34130fc0d74d7765d4c1b2b21010f4009b821567))
|
|
360
|
+
* **deps:** lock file maintenance ([b79e0c2](https://github.com/kelektiv/node-cron/commit/b79e0c27ebe93373fdcca3a84186ee43e2042deb))
|
|
361
|
+
* **deps:** lock file maintenance ([281e1aa](https://github.com/kelektiv/node-cron/commit/281e1aa5875f2a7f871dde127074afb7ccd179aa))
|
|
362
|
+
* **deps:** update dependency [@types](https://github.com/types)/node to v22.16.5 ([16cdbab](https://github.com/kelektiv/node-cron/commit/16cdbab1309e040fbcf316d4915456fb549f5ff2))
|
|
363
|
+
* **deps:** update dependency chai to v5.2.1 ([08b58ce](https://github.com/kelektiv/node-cron/commit/08b58ceb389f52a82a4965817312a1b428661dda))
|
|
364
|
+
* **deps:** update dependency semantic-release to v24.2.7 ([bc3fab6](https://github.com/kelektiv/node-cron/commit/bc3fab6bb8b79aa346f0e5b5c312d0334d3a082d))
|
|
365
|
+
* **deps:** update linters ([b692865](https://github.com/kelektiv/node-cron/commit/b6928658787c921650f6f084362b4e3108899ae7))
|
|
366
|
+
* **deps:** update swc monorepo ([4f3d063](https://github.com/kelektiv/node-cron/commit/4f3d063bd3617ea410ff7b965e44e3d18efbb00d))
|
|
367
|
+
|
|
368
|
+
## [4.3.2](https://github.com/kelektiv/node-cron/compare/v4.3.1...v4.3.2) (2025-07-13)
|
|
369
|
+
|
|
370
|
+
### 🛠 Builds
|
|
371
|
+
|
|
372
|
+
* **deps:** update dependency luxon to ~3.7.0 ([db69c74](https://github.com/kelektiv/node-cron/commit/db69c745016fb1b968aa42376c88da41678dc467))
|
|
373
|
+
|
|
374
|
+
### ♻️ Chores
|
|
375
|
+
|
|
376
|
+
* **action:** update github/codeql-action action to v3.29.0 ([#990](https://github.com/kelektiv/node-cron/issues/990)) ([a3fbb3c](https://github.com/kelektiv/node-cron/commit/a3fbb3cc4d98d3ddc485691092ea9a4bec208740))
|
|
377
|
+
* **action:** update github/codeql-action action to v3.29.2 ([0403c53](https://github.com/kelektiv/node-cron/commit/0403c53320e1b403b11ae5f8da031e93c52ba766))
|
|
378
|
+
* **action:** update marocchino/sticky-pull-request-comment action to v2.9.3 ([eda0c4d](https://github.com/kelektiv/node-cron/commit/eda0c4df35e15f3e2d2fff111ea4326b64d6e462))
|
|
379
|
+
* **action:** update ossf/scorecard-action action to v2.4.2 ([#991](https://github.com/kelektiv/node-cron/issues/991)) ([29a3a60](https://github.com/kelektiv/node-cron/commit/29a3a604ef78772f08cbf7f04dd7da001a58e8ba))
|
|
380
|
+
* **action:** update step-security/harden-runner action to v2.12.1 ([ba49a56](https://github.com/kelektiv/node-cron/commit/ba49a5656c163bce2ad70b09be8f7247ec3f9414))
|
|
381
|
+
* **action:** update step-security/harden-runner action to v2.12.2 ([845202e](https://github.com/kelektiv/node-cron/commit/845202ee974b43d366ab1183a7993b8ba6ead7fc))
|
|
382
|
+
* **deps:** lock file maintenance ([#989](https://github.com/kelektiv/node-cron/issues/989)) ([bc1bf72](https://github.com/kelektiv/node-cron/commit/bc1bf72ff7a7595504d936f028a3267d9d823384))
|
|
383
|
+
* **deps:** lock file maintenance ([#999](https://github.com/kelektiv/node-cron/issues/999)) ([e78d986](https://github.com/kelektiv/node-cron/commit/e78d9869d6cd59eaa808ecbb9366399b80e3ba99))
|
|
384
|
+
* **deps:** update dependency [@swc](https://github.com/swc)/core to v1.12.1 ([#992](https://github.com/kelektiv/node-cron/issues/992)) ([b5d3bd3](https://github.com/kelektiv/node-cron/commit/b5d3bd332856dc46aa2742d1992b79ba44e3e48f))
|
|
385
|
+
* **deps:** update dependency [@swc](https://github.com/swc)/core to v1.12.5 ([d374494](https://github.com/kelektiv/node-cron/commit/d374494609e698edcd35a4e5ece78c09851eba00))
|
|
386
|
+
* **deps:** update dependency [@swc](https://github.com/swc)/core to v1.12.9 ([8060c41](https://github.com/kelektiv/node-cron/commit/8060c41685446f4b2c4ea1e0355ad388faa04ad2))
|
|
387
|
+
* **deps:** update dependency [@types](https://github.com/types)/node to v22.15.32 ([#993](https://github.com/kelektiv/node-cron/issues/993)) ([ce9743b](https://github.com/kelektiv/node-cron/commit/ce9743ba05275982215c6fa8d2ca8d82013e4705))
|
|
388
|
+
* **deps:** update dependency [@types](https://github.com/types)/node to v22.16.0 ([7bae5b1](https://github.com/kelektiv/node-cron/commit/7bae5b1ef895a843f0c3df176f15b50d964c895a))
|
|
389
|
+
* **deps:** update linters ([24eb53f](https://github.com/kelektiv/node-cron/commit/24eb53ff67d5d8f4093278d4efa1109c61b9f7f6))
|
|
390
|
+
* **deps:** update linters ([#995](https://github.com/kelektiv/node-cron/issues/995)) ([9395484](https://github.com/kelektiv/node-cron/commit/939548475833953c9d98d68bd9cc1b9ef1a0e738))
|
|
391
|
+
* **deps:** update node.js to v23.11.1 ([#985](https://github.com/kelektiv/node-cron/issues/985)) ([674a344](https://github.com/kelektiv/node-cron/commit/674a3448b5c286120174bd49ad5d1d99a156fc92))
|
|
392
|
+
* **deps:** update semantic-release related packages ([cc2676a](https://github.com/kelektiv/node-cron/commit/cc2676aa88e6d0c68802bd5937e148ac2284f9b2))
|
|
393
|
+
* **deps:** update semantic-release related packages ([#994](https://github.com/kelektiv/node-cron/issues/994)) ([4d738df](https://github.com/kelektiv/node-cron/commit/4d738df05f794f4edb13fbe0cc02ad163b694f85))
|
|
394
|
+
|
|
395
|
+
## [4.3.1](https://github.com/kelektiv/node-cron/compare/v4.3.0...v4.3.1) (2025-05-29)
|
|
396
|
+
|
|
397
|
+
### 🐛 Bug Fixes
|
|
398
|
+
|
|
399
|
+
* prevent sourcemap error in IDEs ([#988](https://github.com/kelektiv/node-cron/issues/988)) ([0db2c2d](https://github.com/kelektiv/node-cron/commit/0db2c2d3ff7d1f74d6d009c70b371d9e1fca7ae9)), closes [#987](https://github.com/kelektiv/node-cron/issues/987)
|
|
400
|
+
|
|
401
|
+
### ♻️ Chores
|
|
402
|
+
|
|
403
|
+
* **action:** update actions/setup-node action to v4.4.0 ([86f8cec](https://github.com/kelektiv/node-cron/commit/86f8cec5225aab3d03cad1aeeb3c74d605ac3177))
|
|
404
|
+
* **action:** update github/codeql-action action to v3.28.16 ([33d396f](https://github.com/kelektiv/node-cron/commit/33d396f0b3c9df243faafed09c1fc09ea363fd85))
|
|
405
|
+
* **action:** update github/codeql-action action to v3.28.17 ([97a9185](https://github.com/kelektiv/node-cron/commit/97a91859e5e08639c9eee1158f60d146cfc543f2))
|
|
406
|
+
* **action:** update github/codeql-action action to v3.28.18 ([6a72709](https://github.com/kelektiv/node-cron/commit/6a72709a34ecf63893345008455c0bba865095a6))
|
|
407
|
+
* **action:** update step-security/harden-runner action to v2.12.0 ([c0ad19d](https://github.com/kelektiv/node-cron/commit/c0ad19d8951ad15ee6fb6365a169a9534f9fa7b2))
|
|
408
|
+
* **deps:** lock file maintenance ([784bc9c](https://github.com/kelektiv/node-cron/commit/784bc9c8ea101be57c890d439fc2ffb17cfe539e))
|
|
409
|
+
* **deps:** lock file maintenance ([7a97350](https://github.com/kelektiv/node-cron/commit/7a973506fc88aeea76e01f3c7350f4c830537eb5))
|
|
410
|
+
* **deps:** lock file maintenance ([40163b4](https://github.com/kelektiv/node-cron/commit/40163b4cd8e63dd7188e30ef7fab8e2f25373c4b))
|
|
411
|
+
* **deps:** lock file maintenance ([9bcb7e3](https://github.com/kelektiv/node-cron/commit/9bcb7e3ba8eaa86fb3ab1f0a54dde12c135430fa))
|
|
412
|
+
* **deps:** lock file maintenance ([#983](https://github.com/kelektiv/node-cron/issues/983)) ([3df1cf6](https://github.com/kelektiv/node-cron/commit/3df1cf62d52ccfb091e487dddcc138773fd9626b))
|
|
413
|
+
* **deps:** update dependency [@eslint](https://github.com/eslint)/js to v9.25.1 ([162008f](https://github.com/kelektiv/node-cron/commit/162008f2e3a3084a44f5f74a0f2d4fa626a2105a))
|
|
414
|
+
* **deps:** update dependency [@eslint](https://github.com/eslint)/js to v9.27.0 ([5c1161c](https://github.com/kelektiv/node-cron/commit/5c1161cf6e72e3bec9184adab0a05d548dc2ce0c))
|
|
415
|
+
* **deps:** update dependency [@semantic-release](https://github.com/semantic-release)/github to v11.0.2 ([d27afcd](https://github.com/kelektiv/node-cron/commit/d27afcd394e60426632355ceb0f3a30ee9c4cea7))
|
|
416
|
+
* **deps:** update dependency [@swc](https://github.com/swc)/core to v1.11.21 ([a195b0f](https://github.com/kelektiv/node-cron/commit/a195b0f5a526652be7ff7f8976a6010475cce4bb))
|
|
417
|
+
* **deps:** update dependency [@swc](https://github.com/swc)/core to v1.11.29 ([edd52d4](https://github.com/kelektiv/node-cron/commit/edd52d463eeedb18f13495feefbbf1b19a3bd1d2))
|
|
418
|
+
* **deps:** update dependency [@types](https://github.com/types)/node to v22.14.1 ([f24a7cb](https://github.com/kelektiv/node-cron/commit/f24a7cbb0a3d34906a65543a558588cbc5740b9f))
|
|
419
|
+
* **deps:** update dependency [@types](https://github.com/types)/node to v22.15.15 ([#984](https://github.com/kelektiv/node-cron/issues/984)) ([bfb12a7](https://github.com/kelektiv/node-cron/commit/bfb12a76268427470bf298594ea141bd91c5a185))
|
|
420
|
+
* **deps:** update dependency [@types](https://github.com/types)/node to v22.15.21 ([86b539a](https://github.com/kelektiv/node-cron/commit/86b539a309fc796846030f34aeea3514ffa6b46c))
|
|
421
|
+
* **deps:** update dependency lint-staged to v15.5.1 ([25a3659](https://github.com/kelektiv/node-cron/commit/25a36594fc87091af092f095dc32fec07cd911df))
|
|
422
|
+
* **deps:** update dependency lint-staged to v15.5.2 ([be017c5](https://github.com/kelektiv/node-cron/commit/be017c52cc709bcf69ba169c97d1a0b6f8250752))
|
|
423
|
+
* **deps:** update linters ([6ed6fdb](https://github.com/kelektiv/node-cron/commit/6ed6fdb4daf73088c0d124987dd9d4c8768f2434))
|
|
424
|
+
* **deps:** update semantic-release related packages ([555bba9](https://github.com/kelektiv/node-cron/commit/555bba9ad22f097edfd0e6b5ec5466fa9d58d0a4))
|
|
425
|
+
* **deps:** update swc monorepo ([edd3284](https://github.com/kelektiv/node-cron/commit/edd328409dbc8fd1f93813905b6e4107b0694d94))
|
|
22
426
|
|
|
23
427
|
## [4.3.0](https://github.com/kelektiv/node-cron/compare/v4.2.0...v4.3.0) (2025-04-15)
|
|
24
428
|
|
package/README.md
CHANGED
|
@@ -53,6 +53,44 @@ npm install cron
|
|
|
53
53
|
|
|
54
54
|
## ⬆ Migrating
|
|
55
55
|
|
|
56
|
+
v5 dropped Node v18, v20, and v23; deprecated the parameterized constructor, and removed `child_process`
|
|
57
|
+
|
|
58
|
+
<details>
|
|
59
|
+
<summary>Migrating from v4 to v5</summary>
|
|
60
|
+
|
|
61
|
+
### Dropped Node versions
|
|
62
|
+
|
|
63
|
+
Node v18, v20, and v23 are no longer supported. Upgrade your Node installation to v22, v24, or v26.
|
|
64
|
+
|
|
65
|
+
### Deprecated the parameterized constructor
|
|
66
|
+
|
|
67
|
+
Previously this was the recommended way to create new `CronJob` objects:
|
|
68
|
+
|
|
69
|
+
```js
|
|
70
|
+
const job = new CronJob('* * * * * *', function () {
|
|
71
|
+
console.log('You will see this message every second');
|
|
72
|
+
});
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
While this method is still officially supported (any bugs or security issues will be fixed) it is deprecated and no longer recommended. You will get a warning that support will be dropped in the next major version of Cron.
|
|
76
|
+
|
|
77
|
+
Instead, create `CronJob` objects like this:
|
|
78
|
+
|
|
79
|
+
```js
|
|
80
|
+
const job = CronJob.from({
|
|
81
|
+
cronTime: '* * * * * *',
|
|
82
|
+
onTick: function () {
|
|
83
|
+
console.log('You will see this message every second');
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
### Removed `child_process` dependency and native system command support
|
|
89
|
+
|
|
90
|
+
In anticipation of one day offering browser support, the ability to execute system commands natively with `child_process` has been removed. There are other ways to execute system commands in Node, so this functionality is still possible by other means if you need it, it may just require some refactoring.
|
|
91
|
+
|
|
92
|
+
</details>
|
|
93
|
+
|
|
56
94
|
v4 dropped Node v16 and renamed the `job.running` property:
|
|
57
95
|
|
|
58
96
|
<details>
|
|
@@ -95,36 +133,22 @@ v3 introduced TypeScript and tighter Unix cron pattern alignment:
|
|
|
95
133
|
|
|
96
134
|
## 🛠 Basic Usage
|
|
97
135
|
|
|
98
|
-
```
|
|
136
|
+
```js
|
|
99
137
|
import { CronJob } from 'cron';
|
|
100
138
|
|
|
101
|
-
const job = new CronJob(
|
|
102
|
-
'* * * * * *', // cronTime
|
|
103
|
-
function () {
|
|
104
|
-
console.log('You will see this message every second');
|
|
105
|
-
}, // onTick
|
|
106
|
-
null, // onComplete
|
|
107
|
-
true, // start
|
|
108
|
-
'America/Los_Angeles' // timeZone
|
|
109
|
-
);
|
|
110
|
-
// job.start() is optional here because of the fourth parameter set to true.
|
|
111
|
-
```
|
|
112
|
-
|
|
113
|
-
```javascript
|
|
114
|
-
// equivalent job using the "from" static method, providing parameters as an object
|
|
115
139
|
const job = CronJob.from({
|
|
116
140
|
cronTime: '* * * * * *',
|
|
117
141
|
onTick: function () {
|
|
118
142
|
console.log('You will see this message every second');
|
|
119
143
|
},
|
|
120
|
-
start: true,
|
|
121
|
-
timeZone: 'America/Los_Angeles'
|
|
144
|
+
start: true, // optional
|
|
145
|
+
timeZone: 'America/Los_Angeles' // optional
|
|
122
146
|
});
|
|
123
147
|
```
|
|
124
148
|
|
|
125
|
-
> **Note:** In the
|
|
149
|
+
> **Note:** In the example above, the `start` property set to `true` starts the job automatically. If not provided or set to `false`, you must explicitly start the job using `job.start()`.
|
|
126
150
|
|
|
127
|
-
For more advanced examples, check the [examples directory](https://github.com/kelektiv/node-cron/tree/main/examples).
|
|
151
|
+
See the [API below](#api) for all properties. For more advanced examples, check the [examples directory](https://github.com/kelektiv/node-cron/tree/main/examples).
|
|
128
152
|
|
|
129
153
|
## ⏰ Cron Patterns
|
|
130
154
|
|
|
@@ -140,7 +164,7 @@ Detailed patterns and explanations are available at [crontab.org](http://crontab
|
|
|
140
164
|
|
|
141
165
|
### Supported Ranges
|
|
142
166
|
|
|
143
|
-
Here's a quick reference to the UNIX Cron format this library uses, plus an
|
|
167
|
+
Here's a quick reference to the UNIX Cron format this library uses, plus an additional `second` field:
|
|
144
168
|
|
|
145
169
|
```
|
|
146
170
|
field allowed values
|
|
@@ -158,43 +182,11 @@ day of week 0-7 (0 or 7 is Sunday, or use names)
|
|
|
158
182
|
|
|
159
183
|
## 📖 API
|
|
160
184
|
|
|
161
|
-
### Standalone Functions
|
|
162
|
-
|
|
163
|
-
- `sendAt`: Indicates when a `CronTime` will execute (returns a Luxon `DateTime` object).
|
|
164
|
-
|
|
165
|
-
```javascript
|
|
166
|
-
import * as cron from 'cron';
|
|
167
|
-
|
|
168
|
-
const dt = cron.sendAt('0 0 * * *');
|
|
169
|
-
console.log(`The job would run at: ${dt.toISO()}`);
|
|
170
|
-
```
|
|
171
|
-
|
|
172
|
-
- `timeout`: Indicates the number of milliseconds in the future at which a `CronTime` will execute (returns a number).
|
|
173
|
-
|
|
174
|
-
```javascript
|
|
175
|
-
import * as cron from 'cron';
|
|
176
|
-
|
|
177
|
-
const timeout = cron.timeout('0 0 * * *');
|
|
178
|
-
console.log(`The job would run in ${timeout}ms`);
|
|
179
|
-
```
|
|
180
|
-
|
|
181
|
-
- `validateCronExpression`: Validates if a given cron expression is valid (returns an object with `valid` and `error` properties).
|
|
182
|
-
|
|
183
|
-
```javascript
|
|
184
|
-
import * as cron from 'cron';
|
|
185
|
-
|
|
186
|
-
const validation = cron.validateCronExpression('0 0 * * *');
|
|
187
|
-
console.log(`Is the cron expression valid? ${validation.valid}`);
|
|
188
|
-
if (!validation.valid) {
|
|
189
|
-
console.error(`Validation error: ${validation.error}`);
|
|
190
|
-
}
|
|
191
|
-
```
|
|
192
|
-
|
|
193
185
|
### CronJob Class
|
|
194
186
|
|
|
195
187
|
#### Constructor
|
|
196
188
|
|
|
197
|
-
`
|
|
189
|
+
`CronJob.from({ ... })`:
|
|
198
190
|
|
|
199
191
|
- `cronTime`: [REQUIRED] - The time to fire off your job. Can be cron syntax, a JS [`Date`](https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Date) object or a Luxon [`DateTime`](https://moment.github.io/luxon/api-docs/index.html#datetime) object.
|
|
200
192
|
|
|
@@ -249,10 +241,13 @@ day of week 0-7 (0 or 7 is Sunday, or use names)
|
|
|
249
241
|
- `isCallbackRunning`: [READ-ONLY] Indicates if a callback is currently executing.
|
|
250
242
|
|
|
251
243
|
```javascript
|
|
252
|
-
const job = new CronJob(
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
244
|
+
const job = new CronJob.from({
|
|
245
|
+
cronTime: '* * * * * *',
|
|
246
|
+
onTick: async () => {
|
|
247
|
+
console.log(job.isCallbackRunning); // true during callback execution
|
|
248
|
+
await someAsyncTask();
|
|
249
|
+
console.log(job.isCallbackRunning); // still true until callback completes
|
|
250
|
+
}
|
|
256
251
|
});
|
|
257
252
|
|
|
258
253
|
console.log(job.isCallbackRunning); // false
|
|
@@ -273,6 +268,38 @@ day of week 0-7 (0 or 7 is Sunday, or use names)
|
|
|
273
268
|
|
|
274
269
|
- `utcOffset`: [OPTIONAL] - Analogous to `utcOffset` from `CronJob` parameters.
|
|
275
270
|
|
|
271
|
+
### Standalone Functions
|
|
272
|
+
|
|
273
|
+
- `sendAt`: Indicates when a `CronTime` will execute (returns a Luxon `DateTime` object).
|
|
274
|
+
|
|
275
|
+
```javascript
|
|
276
|
+
import * as cron from 'cron';
|
|
277
|
+
|
|
278
|
+
const dt = cron.sendAt('0 0 * * *');
|
|
279
|
+
console.log(`The job would run at: ${dt.toISO()}`);
|
|
280
|
+
```
|
|
281
|
+
|
|
282
|
+
- `timeout`: Indicates the number of milliseconds in the future at which a `CronTime` will execute (returns a number).
|
|
283
|
+
|
|
284
|
+
```javascript
|
|
285
|
+
import * as cron from 'cron';
|
|
286
|
+
|
|
287
|
+
const timeout = cron.timeout('0 0 * * *');
|
|
288
|
+
console.log(`The job would run in ${timeout}ms`);
|
|
289
|
+
```
|
|
290
|
+
|
|
291
|
+
- `validateCronExpression`: Validates if a given cron expression is valid (returns an object with `valid` and `error` properties).
|
|
292
|
+
|
|
293
|
+
```javascript
|
|
294
|
+
import * as cron from 'cron';
|
|
295
|
+
|
|
296
|
+
const validation = cron.validateCronExpression('0 0 * * *');
|
|
297
|
+
console.log(`Is the cron expression valid? ${validation.valid}`);
|
|
298
|
+
if (!validation.valid) {
|
|
299
|
+
console.error(`Validation error: ${validation.error}`);
|
|
300
|
+
}
|
|
301
|
+
```
|
|
302
|
+
|
|
276
303
|
## 💢 Gotchas
|
|
277
304
|
|
|
278
305
|
- Both JS `Date` and Luxon `DateTime` objects don't guarantee millisecond precision due to computation delays. This module excludes millisecond precision for standard cron syntax but allows execution date specification through JS `Date` or Luxon `DateTime` objects. However, specifying a precise future execution time, such as adding a millisecond to the current time, may not always work due to these computation delays. It's observed that delays less than 4-5 ms might lead to inconsistencies. While we could limit all date granularity to seconds, we've chosen to allow greater precision but advise users of potential issues.
|
package/dist/constants.js
CHANGED
package/dist/errors.d.ts
CHANGED
|
@@ -3,3 +3,4 @@ export declare class CronError extends Error {
|
|
|
3
3
|
export declare class ExclusiveParametersError extends CronError {
|
|
4
4
|
constructor(param1: string, param2: string);
|
|
5
5
|
}
|
|
6
|
+
export declare const assertExclusiveTimeZoneAndUtcOffset: (timeZone?: string | null, utcOffset?: number | null) => void;
|
package/dist/errors.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ExclusiveParametersError = exports.CronError = void 0;
|
|
3
|
+
exports.assertExclusiveTimeZoneAndUtcOffset = exports.ExclusiveParametersError = exports.CronError = void 0;
|
|
4
4
|
class CronError extends Error {
|
|
5
5
|
}
|
|
6
6
|
exports.CronError = CronError;
|
|
@@ -10,4 +10,9 @@ class ExclusiveParametersError extends CronError {
|
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
exports.ExclusiveParametersError = ExclusiveParametersError;
|
|
13
|
-
|
|
13
|
+
const assertExclusiveTimeZoneAndUtcOffset = (timeZone, utcOffset) => {
|
|
14
|
+
if (timeZone != null && utcOffset != null) {
|
|
15
|
+
throw new ExclusiveParametersError('timeZone', 'utcOffset');
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
exports.assertExclusiveTimeZoneAndUtcOffset = assertExclusiveTimeZoneAndUtcOffset;
|
package/dist/index.js
CHANGED
package/dist/job.d.ts
CHANGED
|
@@ -17,8 +17,8 @@ export declare class CronJob<OC extends CronOnCompleteCommand | null = null, C =
|
|
|
17
17
|
private _callbacks;
|
|
18
18
|
get isActive(): boolean;
|
|
19
19
|
get isCallbackRunning(): boolean;
|
|
20
|
-
constructor(cronTime: CronJobParams<OC, C>['cronTime'], onTick: CronJobParams<OC, C>['onTick'], onComplete?: CronJobParams<OC, C>['onComplete'], start?: CronJobParams<OC, C>['start'], timeZone?: CronJobParams<OC, C>['timeZone'], context?: CronJobParams<OC, C>['context'], runOnInit?: CronJobParams<OC, C>['runOnInit'], utcOffset?: null, unrefTimeout?: CronJobParams<OC, C>['unrefTimeout'], waitForCompletion?: CronJobParams<OC, C>['waitForCompletion'], errorHandler?: CronJobParams<OC, C>['errorHandler'], name?: CronJobParams<OC, C>['name'], threshold?: CronJobParams<OC, C>['threshold']);
|
|
21
|
-
constructor(cronTime: CronJobParams<OC, C>['cronTime'], onTick: CronJobParams<OC, C>['onTick'], onComplete?: CronJobParams<OC, C>['onComplete'], start?: CronJobParams<OC, C>['start'], timeZone?: null, context?: CronJobParams<OC, C>['context'], runOnInit?: CronJobParams<OC, C>['runOnInit'], utcOffset?: CronJobParams<OC, C>['utcOffset'], unrefTimeout?: CronJobParams<OC, C>['unrefTimeout'], waitForCompletion?: CronJobParams<OC, C>['waitForCompletion'], errorHandler?: CronJobParams<OC, C>['errorHandler'], name?: CronJobParams<OC, C>['name'], threshold?: CronJobParams<OC, C>['threshold']);
|
|
20
|
+
constructor(cronTime: CronJobParams<OC, C>['cronTime'], onTick: CronJobParams<OC, C>['onTick'], onComplete?: CronJobParams<OC, C>['onComplete'], start?: CronJobParams<OC, C>['start'], timeZone?: CronJobParams<OC, C>['timeZone'], context?: CronJobParams<OC, C>['context'], runOnInit?: CronJobParams<OC, C>['runOnInit'], utcOffset?: null, unrefTimeout?: CronJobParams<OC, C>['unrefTimeout'], waitForCompletion?: CronJobParams<OC, C>['waitForCompletion'], errorHandler?: CronJobParams<OC, C>['errorHandler'], name?: CronJobParams<OC, C>['name'], threshold?: CronJobParams<OC, C>['threshold'], usedFrom?: CronJobParams<OC, C>['usedFrom']);
|
|
21
|
+
constructor(cronTime: CronJobParams<OC, C>['cronTime'], onTick: CronJobParams<OC, C>['onTick'], onComplete?: CronJobParams<OC, C>['onComplete'], start?: CronJobParams<OC, C>['start'], timeZone?: null, context?: CronJobParams<OC, C>['context'], runOnInit?: CronJobParams<OC, C>['runOnInit'], utcOffset?: CronJobParams<OC, C>['utcOffset'], unrefTimeout?: CronJobParams<OC, C>['unrefTimeout'], waitForCompletion?: CronJobParams<OC, C>['waitForCompletion'], errorHandler?: CronJobParams<OC, C>['errorHandler'], name?: CronJobParams<OC, C>['name'], threshold?: CronJobParams<OC, C>['threshold'], usedFrom?: CronJobParams<OC, C>['usedFrom']);
|
|
22
22
|
static from<OC extends CronOnCompleteCommand | null = null, C = null>(params: CronJobParams<OC, C>): CronJob<OC, C>;
|
|
23
23
|
private isCronOnCompleteCallback;
|
|
24
24
|
addCallback(callback: CronCallback<C, WithOnComplete<OC>>): void;
|
package/dist/job.js
CHANGED
|
@@ -19,7 +19,7 @@ class CronJob {
|
|
|
19
19
|
get isCallbackRunning() {
|
|
20
20
|
return this._isCallbackRunning;
|
|
21
21
|
}
|
|
22
|
-
constructor(cronTime, onTick, onComplete, start, timeZone, context, runOnInit, utcOffset, unrefTimeout, waitForCompletion, errorHandler, name, threshold) {
|
|
22
|
+
constructor(cronTime, onTick, onComplete, start, timeZone, context, runOnInit, utcOffset, unrefTimeout, waitForCompletion, errorHandler, name, threshold, usedFrom) {
|
|
23
23
|
this.unrefTimeout = false;
|
|
24
24
|
this.lastExecution = null;
|
|
25
25
|
this.runOnce = false;
|
|
@@ -28,21 +28,19 @@ class CronJob {
|
|
|
28
28
|
this._isActive = false;
|
|
29
29
|
this._isCallbackRunning = false;
|
|
30
30
|
this._callbacks = [];
|
|
31
|
+
if (!usedFrom) {
|
|
32
|
+
console.warn(`[Cron] Warning: The parameterized constructor is deprecated and will be removed in the next major version of Cron (v6).
|
|
33
|
+
\n Consider updating the instantiation of your CronJob object to use the static 'from' method.
|
|
34
|
+
\n See https://github.com/kelektiv/node-cron#deprecated-the-parameterized-constructor`);
|
|
35
|
+
}
|
|
31
36
|
this.context = (context !== null && context !== void 0 ? context : this);
|
|
32
37
|
this.waitForCompletion = Boolean(waitForCompletion);
|
|
33
38
|
this.errorHandler = errorHandler;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}
|
|
40
|
-
else if (utcOffset != null) {
|
|
41
|
-
this.cronTime = new time_1.CronTime(cronTime, null, utcOffset);
|
|
42
|
-
}
|
|
43
|
-
else {
|
|
44
|
-
this.cronTime = new time_1.CronTime(cronTime, timeZone, utcOffset);
|
|
45
|
-
}
|
|
39
|
+
(0, errors_1.assertExclusiveTimeZoneAndUtcOffset)(timeZone, utcOffset);
|
|
40
|
+
this.cronTime =
|
|
41
|
+
timeZone != null
|
|
42
|
+
? new time_1.CronTime(cronTime, timeZone, null)
|
|
43
|
+
: new time_1.CronTime(cronTime, null, utcOffset !== null && utcOffset !== void 0 ? utcOffset : null);
|
|
46
44
|
if (unrefTimeout != null) {
|
|
47
45
|
this.unrefTimeout = unrefTimeout;
|
|
48
46
|
}
|
|
@@ -67,17 +65,15 @@ class CronJob {
|
|
|
67
65
|
this.start();
|
|
68
66
|
}
|
|
69
67
|
static from(params) {
|
|
70
|
-
|
|
71
|
-
throw new errors_1.ExclusiveParametersError('timeZone', 'utcOffset');
|
|
72
|
-
}
|
|
68
|
+
(0, errors_1.assertExclusiveTimeZoneAndUtcOffset)(params.timeZone, params.utcOffset);
|
|
73
69
|
if (params.timeZone != null) {
|
|
74
|
-
return new CronJob(params.cronTime, params.onTick, params.onComplete, params.start, params.timeZone, params.context, params.runOnInit, params.utcOffset, params.unrefTimeout, params.waitForCompletion, params.errorHandler, params.name, params.threshold);
|
|
70
|
+
return new CronJob(params.cronTime, params.onTick, params.onComplete, params.start, params.timeZone, params.context, params.runOnInit, params.utcOffset, params.unrefTimeout, params.waitForCompletion, params.errorHandler, params.name, params.threshold, true);
|
|
75
71
|
}
|
|
76
72
|
else if (params.utcOffset != null) {
|
|
77
|
-
return new CronJob(params.cronTime, params.onTick, params.onComplete, params.start, null, params.context, params.runOnInit, params.utcOffset, params.unrefTimeout, params.waitForCompletion, params.errorHandler, params.name, params.threshold);
|
|
73
|
+
return new CronJob(params.cronTime, params.onTick, params.onComplete, params.start, null, params.context, params.runOnInit, params.utcOffset, params.unrefTimeout, params.waitForCompletion, params.errorHandler, params.name, params.threshold, true);
|
|
78
74
|
}
|
|
79
75
|
else {
|
|
80
|
-
return new CronJob(params.cronTime, params.onTick, params.onComplete, params.start, params.timeZone, params.context, params.runOnInit, params.utcOffset, params.unrefTimeout, params.waitForCompletion, params.errorHandler, params.name, params.threshold);
|
|
76
|
+
return new CronJob(params.cronTime, params.onTick, params.onComplete, params.start, params.timeZone, params.context, params.runOnInit, params.utcOffset, params.unrefTimeout, params.waitForCompletion, params.errorHandler, params.name, params.threshold, true);
|
|
81
77
|
}
|
|
82
78
|
}
|
|
83
79
|
isCronOnCompleteCallback(fn) {
|
|
@@ -111,8 +107,21 @@ class CronJob {
|
|
|
111
107
|
try {
|
|
112
108
|
for (const callback of this._callbacks) {
|
|
113
109
|
const result = callback.call(this.context, this.onComplete);
|
|
114
|
-
if (
|
|
115
|
-
|
|
110
|
+
if (result &&
|
|
111
|
+
typeof result === 'object' &&
|
|
112
|
+
typeof result.then === 'function') {
|
|
113
|
+
if (this.waitForCompletion) {
|
|
114
|
+
yield result;
|
|
115
|
+
}
|
|
116
|
+
else {
|
|
117
|
+
result.catch(error => {
|
|
118
|
+
if (this.errorHandler != null)
|
|
119
|
+
this.errorHandler(error);
|
|
120
|
+
else
|
|
121
|
+
console.error('[Cron] error in callback', error);
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
}
|
|
116
125
|
}
|
|
117
126
|
}
|
|
118
127
|
catch (error) {
|
|
@@ -139,7 +148,7 @@ class CronJob {
|
|
|
139
148
|
let startTime;
|
|
140
149
|
const setCronTimeout = (t) => {
|
|
141
150
|
startTime = Date.now();
|
|
142
|
-
this._timeout = setTimeout(callbackWrapper, t);
|
|
151
|
+
this._timeout = setTimeout(callbackWrapper, Math.max(t, 1));
|
|
143
152
|
if (this.unrefTimeout && typeof this._timeout.unref === 'function') {
|
|
144
153
|
this._timeout.unref();
|
|
145
154
|
}
|
|
@@ -231,4 +240,3 @@ class CronJob {
|
|
|
231
240
|
}
|
|
232
241
|
}
|
|
233
242
|
exports.CronJob = CronJob;
|
|
234
|
-
//# sourceMappingURL=job.js.map
|
package/dist/time.d.ts
CHANGED
|
@@ -19,13 +19,16 @@ export declare class CronTime {
|
|
|
19
19
|
private dayOfMonth;
|
|
20
20
|
private month;
|
|
21
21
|
private dayOfWeek;
|
|
22
|
-
constructor(source: CronJobParams['cronTime'], timeZone?: CronJobParams['timeZone'], utcOffset?:
|
|
23
|
-
constructor(source: CronJobParams['cronTime'], timeZone?: null, utcOffset?: CronJobParams['utcOffset']);
|
|
22
|
+
constructor(source: CronJobParams['cronTime'], timeZone?: CronJobParams['timeZone'], utcOffset?: CronJobParams['utcOffset']);
|
|
24
23
|
static validateCronExpression(cronExpression: string): {
|
|
25
24
|
valid: boolean;
|
|
26
25
|
error?: CronError;
|
|
27
26
|
};
|
|
28
27
|
private _getWeekDay;
|
|
28
|
+
private _matchesDay;
|
|
29
|
+
private _matches;
|
|
30
|
+
private _matchesMinute;
|
|
31
|
+
private _firstMatchBetween;
|
|
29
32
|
sendAt(): DateTime;
|
|
30
33
|
sendAt(i: number): DateTime[];
|
|
31
34
|
getTimeout(): number;
|
package/dist/time.js
CHANGED
|
@@ -13,9 +13,7 @@ class CronTime {
|
|
|
13
13
|
this.dayOfMonth = {};
|
|
14
14
|
this.month = {};
|
|
15
15
|
this.dayOfWeek = {};
|
|
16
|
-
|
|
17
|
-
throw new errors_1.ExclusiveParametersError('timeZone', 'utcOffset');
|
|
18
|
-
}
|
|
16
|
+
(0, errors_1.assertExclusiveTimeZoneAndUtcOffset)(timeZone, utcOffset);
|
|
19
17
|
if (timeZone) {
|
|
20
18
|
const dt = luxon_1.DateTime.fromObject({}, { zone: timeZone });
|
|
21
19
|
if (!dt.isValid) {
|
|
@@ -57,6 +55,37 @@ class CronTime {
|
|
|
57
55
|
_getWeekDay(date) {
|
|
58
56
|
return date.weekday === 7 ? 0 : date.weekday;
|
|
59
57
|
}
|
|
58
|
+
_matchesDay(date) {
|
|
59
|
+
return !((!(date.day in this.dayOfMonth) &&
|
|
60
|
+
Object.keys(this.dayOfMonth).length !== 31 &&
|
|
61
|
+
!(this._getWeekDay(date) in this.dayOfWeek &&
|
|
62
|
+
Object.keys(this.dayOfWeek).length !== 7)) ||
|
|
63
|
+
(!(this._getWeekDay(date) in this.dayOfWeek) &&
|
|
64
|
+
Object.keys(this.dayOfWeek).length !== 7 &&
|
|
65
|
+
!(date.day in this.dayOfMonth &&
|
|
66
|
+
Object.keys(this.dayOfMonth).length !== 31)));
|
|
67
|
+
}
|
|
68
|
+
_matches(date) {
|
|
69
|
+
return this._matchesMinute(date) && date.second in this.second;
|
|
70
|
+
}
|
|
71
|
+
_matchesMinute(date) {
|
|
72
|
+
return (date.month in this.month &&
|
|
73
|
+
this._matchesDay(date) &&
|
|
74
|
+
date.hour in this.hour &&
|
|
75
|
+
date.minute in this.minute);
|
|
76
|
+
}
|
|
77
|
+
_firstMatchBetween(from, to) {
|
|
78
|
+
let date = from;
|
|
79
|
+
while (date < to) {
|
|
80
|
+
if (this._matches(date)) {
|
|
81
|
+
return date;
|
|
82
|
+
}
|
|
83
|
+
date = this._matchesMinute(date)
|
|
84
|
+
? date.plus({ second: 1 })
|
|
85
|
+
: date.plus({ minute: 1 }).startOf('minute');
|
|
86
|
+
}
|
|
87
|
+
return null;
|
|
88
|
+
}
|
|
60
89
|
sendAt(i) {
|
|
61
90
|
let date = this.realDate && this.source instanceof luxon_1.DateTime
|
|
62
91
|
? this.source
|
|
@@ -107,7 +136,7 @@ class CronTime {
|
|
|
107
136
|
});
|
|
108
137
|
}
|
|
109
138
|
getNextDateFrom(start, timeZone) {
|
|
110
|
-
var _a, _b;
|
|
139
|
+
var _a, _b, _c, _d;
|
|
111
140
|
if (start instanceof Date) {
|
|
112
141
|
start = luxon_1.DateTime.fromJSDate(start);
|
|
113
142
|
}
|
|
@@ -142,14 +171,7 @@ class CronTime {
|
|
|
142
171
|
date = date.set({ day: 1, hour: 0, minute: 0, second: 0 });
|
|
143
172
|
continue;
|
|
144
173
|
}
|
|
145
|
-
if (
|
|
146
|
-
Object.keys(this.dayOfMonth).length !== 31 &&
|
|
147
|
-
!(this._getWeekDay(date) in this.dayOfWeek &&
|
|
148
|
-
Object.keys(this.dayOfWeek).length !== 7)) ||
|
|
149
|
-
(!(this._getWeekDay(date) in this.dayOfWeek) &&
|
|
150
|
-
Object.keys(this.dayOfWeek).length !== 7 &&
|
|
151
|
-
!(date.day in this.dayOfMonth &&
|
|
152
|
-
Object.keys(this.dayOfMonth).length !== 31))) {
|
|
174
|
+
if (!this._matchesDay(date)) {
|
|
153
175
|
date = date.plus({ days: 1 });
|
|
154
176
|
date = date.set({ hour: 0, minute: 0, second: 0 });
|
|
155
177
|
continue;
|
|
@@ -178,7 +200,11 @@ class CronTime {
|
|
|
178
200
|
date = luxon_1.DateTime.fromFormat(`${date.year}-${date.month}-${date.day} ${date.hour}:${date.minute}:${date.second}`, 'yyyy-M-d H:m:s', {
|
|
179
201
|
zone: timeZone
|
|
180
202
|
});
|
|
181
|
-
const
|
|
203
|
+
const januaryReferenceDate = luxon_1.DateTime.fromFormat(`${date.year}-1-1 0:0:0`, 'yyyy-M-d H:m:s', { zone: timeZone });
|
|
204
|
+
const julyReferenceDate = luxon_1.DateTime.fromFormat(`${date.year}-7-1 0:0:0`, 'yyyy-M-d H:m:s', { zone: timeZone });
|
|
205
|
+
const nonDSTReferenceDate = januaryReferenceDate.offset <= julyReferenceDate.offset
|
|
206
|
+
? januaryReferenceDate
|
|
207
|
+
: julyReferenceDate;
|
|
182
208
|
if ((expectedHour !== date.hour || expectedMinute !== date.minute) &&
|
|
183
209
|
nonDSTReferenceDate.offset !== date.offset) {
|
|
184
210
|
while (date.minus({ minute: 1 }).offset !== nonDSTReferenceDate.offset) {
|
|
@@ -190,14 +216,18 @@ class CronTime {
|
|
|
190
216
|
const twoHourTestDate = date.minus({ hour: 2 });
|
|
191
217
|
if ((hourTestDate.hour === date.hour ||
|
|
192
218
|
twoHourTestDate.hour === hourTestDate.hour) &&
|
|
219
|
+
(hourTestDate.offset > date.offset ||
|
|
220
|
+
twoHourTestDate.offset > hourTestDate.offset) &&
|
|
193
221
|
hourTestDate > start) {
|
|
194
|
-
date = hourTestDate;
|
|
222
|
+
date = (_c = this._firstMatchBetween(hourTestDate, date)) !== null && _c !== void 0 ? _c : date;
|
|
195
223
|
}
|
|
196
224
|
const halfHourTestDate = date.minus({ minute: 30 });
|
|
197
225
|
if ((halfHourTestDate.minute === date.minute ||
|
|
198
226
|
hourTestDate.minute === halfHourTestDate.minute) &&
|
|
227
|
+
(halfHourTestDate.offset > date.offset ||
|
|
228
|
+
hourTestDate.offset > halfHourTestDate.offset) &&
|
|
199
229
|
halfHourTestDate > start) {
|
|
200
|
-
date = halfHourTestDate;
|
|
230
|
+
date = (_d = this._firstMatchBetween(halfHourTestDate, date)) !== null && _d !== void 0 ? _d : date;
|
|
201
231
|
}
|
|
202
232
|
return date;
|
|
203
233
|
}
|
|
@@ -308,4 +338,3 @@ class CronTime {
|
|
|
308
338
|
}
|
|
309
339
|
}
|
|
310
340
|
exports.CronTime = CronTime;
|
|
311
|
-
//# sourceMappingURL=time.js.map
|
|
@@ -13,6 +13,7 @@ interface BaseCronJobParams<OC extends CronOnCompleteCommand | null = null, C =
|
|
|
13
13
|
waitForCompletion?: boolean | null;
|
|
14
14
|
errorHandler?: ((error: unknown) => void) | null;
|
|
15
15
|
threshold?: number | null;
|
|
16
|
+
usedFrom?: boolean | null;
|
|
16
17
|
name?: string | null;
|
|
17
18
|
}
|
|
18
19
|
export type CronJobParams<OC extends CronOnCompleteCommand | null = null, C = null> = BaseCronJobParams<OC, C> & ({
|
package/dist/types/cron.types.js
CHANGED
package/dist/types/utils.js
CHANGED
package/dist/utils.js
CHANGED
package/package.json
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cron",
|
|
3
3
|
"description": "Cron jobs for your node",
|
|
4
|
-
"version": "5.0.0-beta.
|
|
5
|
-
"author": "
|
|
4
|
+
"version": "5.0.0-beta.3",
|
|
5
|
+
"author": "Brandon der Blätter <https://intcreator.com/> (https://github.com/intcreator)",
|
|
6
|
+
"funding": {
|
|
7
|
+
"type": "ko-fi",
|
|
8
|
+
"url": "https://ko-fi.com/intcreator"
|
|
9
|
+
},
|
|
6
10
|
"bugs": {
|
|
7
11
|
"url": "https://github.com/kelektiv/node-cron/issues"
|
|
8
12
|
},
|
|
@@ -24,39 +28,38 @@
|
|
|
24
28
|
"prepare": "husky"
|
|
25
29
|
},
|
|
26
30
|
"dependencies": {
|
|
27
|
-
"@types/luxon": "~3.
|
|
28
|
-
"luxon": "~3.
|
|
31
|
+
"@types/luxon": "~3.7.0",
|
|
32
|
+
"luxon": "~3.7.0"
|
|
29
33
|
},
|
|
30
34
|
"devDependencies": {
|
|
31
|
-
"@commitlint/cli": "
|
|
32
|
-
"@eslint/js": "9.
|
|
33
|
-
"@fast-check/jest": "2.
|
|
35
|
+
"@commitlint/cli": "20.5.3",
|
|
36
|
+
"@eslint/js": "9.39.4",
|
|
37
|
+
"@fast-check/jest": "2.3.0",
|
|
34
38
|
"@insurgent/commitlint-config": "20.0.0",
|
|
35
39
|
"@insurgent/conventional-changelog-preset": "10.0.0",
|
|
36
40
|
"@semantic-release/changelog": "6.0.3",
|
|
37
41
|
"@semantic-release/commit-analyzer": "13.0.1",
|
|
38
42
|
"@semantic-release/git": "10.0.1",
|
|
39
|
-
"@semantic-release/github": "
|
|
40
|
-
"@semantic-release/npm": "
|
|
41
|
-
"@semantic-release/release-notes-generator": "14.
|
|
42
|
-
"@swc/core": "1.
|
|
43
|
-
"@swc/jest": "0.2.
|
|
44
|
-
"@types/jest": "
|
|
45
|
-
"@types/node": "
|
|
46
|
-
"@types/sinon": "
|
|
47
|
-
"chai": "5.2.0",
|
|
43
|
+
"@semantic-release/github": "12.0.10",
|
|
44
|
+
"@semantic-release/npm": "13.2.0",
|
|
45
|
+
"@semantic-release/release-notes-generator": "14.1.1",
|
|
46
|
+
"@swc/core": "1.16.22",
|
|
47
|
+
"@swc/jest": "0.2.39",
|
|
48
|
+
"@types/jest": "30.0.0",
|
|
49
|
+
"@types/node": "24.13.3",
|
|
50
|
+
"@types/sinon": "22.0.2",
|
|
48
51
|
"cross-env": "7.0.3",
|
|
49
52
|
"eslint": "8.57.1",
|
|
50
|
-
"eslint-config-prettier": "9.1.
|
|
53
|
+
"eslint-config-prettier": "9.1.2",
|
|
51
54
|
"eslint-plugin-jest": "27.9.0",
|
|
52
|
-
"eslint-plugin-prettier": "5.
|
|
55
|
+
"eslint-plugin-prettier": "5.5.6",
|
|
53
56
|
"husky": "9.1.7",
|
|
54
|
-
"jest": "
|
|
55
|
-
"lint-staged": "15.5.
|
|
56
|
-
"prettier": "3.
|
|
57
|
-
"semantic-release": "
|
|
58
|
-
"sinon": "
|
|
59
|
-
"typescript": "5.
|
|
57
|
+
"jest": "30.5.2",
|
|
58
|
+
"lint-staged": "15.5.2",
|
|
59
|
+
"prettier": "3.8.4",
|
|
60
|
+
"semantic-release": "25.0.9",
|
|
61
|
+
"sinon": "22.1.0",
|
|
62
|
+
"typescript": "5.9.3",
|
|
60
63
|
"typescript-eslint": "7.18.0"
|
|
61
64
|
},
|
|
62
65
|
"keywords": [
|
|
@@ -70,7 +73,7 @@
|
|
|
70
73
|
],
|
|
71
74
|
"license": "MIT",
|
|
72
75
|
"contributors": [
|
|
73
|
-
"
|
|
76
|
+
"Nick Campbell <nicholas.j.campbell@gmail.com> (https://github.com/ncb000gt)",
|
|
74
77
|
"Pierre Cavin <me@sherlox.io> (https://github.com/sheerlox)",
|
|
75
78
|
"Romain Beauxis <toots@rastageeks.org> (https://github.com/toots)",
|
|
76
79
|
"James Padolsey <> (https://github.com/jamespadolsey)",
|