cron 4.1.4 → 4.2.0
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 +23 -0
- package/dist/job.d.ts +1 -1
- package/dist/job.js +1 -1
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,26 @@
|
|
|
1
|
+
## [4.2.0](https://github.com/kelektiv/node-cron/compare/v4.1.4...v4.2.0) (2025-04-14)
|
|
2
|
+
|
|
3
|
+
### ✨ Features
|
|
4
|
+
|
|
5
|
+
* Allow awaiting job.stop() ([#977](https://github.com/kelektiv/node-cron/issues/977)) ([e296b76](https://github.com/kelektiv/node-cron/commit/e296b76f55783925644ea7d9d10fdfce4172209c)), closes [#976](https://github.com/kelektiv/node-cron/issues/976)
|
|
6
|
+
|
|
7
|
+
### ♻️ Chores
|
|
8
|
+
|
|
9
|
+
* **action:** update github/codeql-action action to v3.28.15 ([baf9c7e](https://github.com/kelektiv/node-cron/commit/baf9c7ef2d0edcbe7ab68c86c42febfc7c662383))
|
|
10
|
+
* **action:** update marocchino/sticky-pull-request-comment action to v2.9.2 ([#975](https://github.com/kelektiv/node-cron/issues/975)) ([df57bef](https://github.com/kelektiv/node-cron/commit/df57befb81f7ea66045663add5919bb169b00b0b))
|
|
11
|
+
* **action:** update step-security/harden-runner action to v2.11.1 ([da1764d](https://github.com/kelektiv/node-cron/commit/da1764d8ff959058f263446de8cc388fe1ef86f6))
|
|
12
|
+
* **deps:** lock file maintenance ([c37a3ec](https://github.com/kelektiv/node-cron/commit/c37a3ec62c96c108146da8affafa733503c2d77c))
|
|
13
|
+
* **deps:** lock file maintenance ([#979](https://github.com/kelektiv/node-cron/issues/979)) ([6a355a3](https://github.com/kelektiv/node-cron/commit/6a355a348f8659494da563cc01ff17fff0e429f0))
|
|
14
|
+
* **deps:** pin dependencies ([6ddc31e](https://github.com/kelektiv/node-cron/commit/6ddc31e6e366fd79bbe9cc49034112414b2dbae3))
|
|
15
|
+
* **deps:** update dependency [@fast-check](https://github.com/fast-check)/jest to v2.1.1 ([3fa6836](https://github.com/kelektiv/node-cron/commit/3fa68364269855f91d0d5b19c99d03df8615c67c))
|
|
16
|
+
* **deps:** update dependency [@swc](https://github.com/swc)/core to v1.11.18 ([00d0685](https://github.com/kelektiv/node-cron/commit/00d06855966939040c66e696327e62e195db516f))
|
|
17
|
+
* **deps:** update dependency [@types](https://github.com/types)/node to v22.14.0 ([7dedc90](https://github.com/kelektiv/node-cron/commit/7dedc9044b23715a2d92ac6cac9552bcbf969641))
|
|
18
|
+
* **deps:** update dependency sinon to v19.0.5 ([448934c](https://github.com/kelektiv/node-cron/commit/448934c42d6592ba5620e65395be7aa153fec099))
|
|
19
|
+
* **deps:** update dependency sinon to v20 ([#974](https://github.com/kelektiv/node-cron/issues/974)) ([ac25eff](https://github.com/kelektiv/node-cron/commit/ac25efff3c4cfae8ca4e4c845812359fcac92d8d))
|
|
20
|
+
* **deps:** update dependency typescript to v5.8.3 ([7b583a4](https://github.com/kelektiv/node-cron/commit/7b583a466f3a8cbb01870a0d1bcd40f5de2af01a))
|
|
21
|
+
* **deps:** update linters ([#978](https://github.com/kelektiv/node-cron/issues/978)) ([cdb638a](https://github.com/kelektiv/node-cron/commit/cdb638a342478573d8276f280236eb3f4902f1ce))
|
|
22
|
+
* **deps:** update node.js to v23.11.0 ([#973](https://github.com/kelektiv/node-cron/issues/973)) ([7d457cf](https://github.com/kelektiv/node-cron/commit/7d457cf34cb2f57c9eec28e46ae35cc8a512e94a))
|
|
23
|
+
|
|
1
24
|
## [4.1.4](https://github.com/kelektiv/node-cron/compare/v4.1.3...v4.1.4) (2025-04-06)
|
|
2
25
|
|
|
3
26
|
### 🛠 Builds
|
package/dist/job.d.ts
CHANGED
package/dist/job.js
CHANGED
|
@@ -219,7 +219,7 @@ class CronJob {
|
|
|
219
219
|
void this._executeOnComplete();
|
|
220
220
|
return;
|
|
221
221
|
}
|
|
222
|
-
|
|
222
|
+
return Promise.resolve().then(() => __awaiter(this, void 0, void 0, function* () {
|
|
223
223
|
yield this._waitForJobCompletion();
|
|
224
224
|
yield this._executeOnComplete();
|
|
225
225
|
}));
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cron",
|
|
3
3
|
"description": "Cron jobs for your node",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.2.0",
|
|
5
5
|
"author": "Nick Campbell <nicholas.j.campbell@gmail.com> (https://github.com/ncb000gt)",
|
|
6
6
|
"bugs": {
|
|
7
7
|
"url": "https://github.com/kelektiv/node-cron/issues"
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@commitlint/cli": "19.8.0",
|
|
32
|
-
"@eslint/js": "9.
|
|
33
|
-
"@fast-check/jest": "2.1.
|
|
32
|
+
"@eslint/js": "9.24.0",
|
|
33
|
+
"@fast-check/jest": "2.1.1",
|
|
34
34
|
"@insurgent/commitlint-config": "20.0.0",
|
|
35
35
|
"@insurgent/conventional-changelog-preset": "10.0.0",
|
|
36
36
|
"@semantic-release/changelog": "6.0.3",
|
|
@@ -39,24 +39,24 @@
|
|
|
39
39
|
"@semantic-release/github": "11.0.1",
|
|
40
40
|
"@semantic-release/npm": "12.0.1",
|
|
41
41
|
"@semantic-release/release-notes-generator": "14.0.3",
|
|
42
|
-
"@swc/core": "
|
|
43
|
-
"@swc/jest": "
|
|
42
|
+
"@swc/core": "1.11.18",
|
|
43
|
+
"@swc/jest": "0.2.37",
|
|
44
44
|
"@types/jest": "29.5.14",
|
|
45
|
-
"@types/node": "22.
|
|
45
|
+
"@types/node": "22.14.0",
|
|
46
46
|
"@types/sinon": "17.0.4",
|
|
47
47
|
"chai": "5.2.0",
|
|
48
48
|
"cross-env": "7.0.3",
|
|
49
49
|
"eslint": "8.57.1",
|
|
50
50
|
"eslint-config-prettier": "9.1.0",
|
|
51
51
|
"eslint-plugin-jest": "27.9.0",
|
|
52
|
-
"eslint-plugin-prettier": "5.2.
|
|
52
|
+
"eslint-plugin-prettier": "5.2.6",
|
|
53
53
|
"husky": "9.1.7",
|
|
54
54
|
"jest": "29.7.0",
|
|
55
55
|
"lint-staged": "15.5.0",
|
|
56
56
|
"prettier": "3.5.3",
|
|
57
57
|
"semantic-release": "24.2.3",
|
|
58
|
-
"sinon": "
|
|
59
|
-
"typescript": "5.8.
|
|
58
|
+
"sinon": "20.0.0",
|
|
59
|
+
"typescript": "5.8.3",
|
|
60
60
|
"typescript-eslint": "7.18.0"
|
|
61
61
|
},
|
|
62
62
|
"keywords": [
|