@loopback/cron 0.12.13 → 0.13.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/README.md +1 -1
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -45,7 +45,7 @@ it can be managed by the `CronComponent` life cycles including `start` and
|
|
|
45
45
|
```ts
|
|
46
46
|
import {CronJob, asCronJob} from '@loopback/cron';
|
|
47
47
|
|
|
48
|
-
// Create
|
|
48
|
+
// Create a cron job
|
|
49
49
|
const job = new CronJob({
|
|
50
50
|
cronTime: '*/1 * * * * *', // Every one second
|
|
51
51
|
onTick: () => {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loopback/cron",
|
|
3
3
|
"description": "Schedule tasks using cron-like syntax",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.13.0",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"LoopBack",
|
|
7
7
|
"Cron",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"directory": "extensions/cron"
|
|
19
19
|
},
|
|
20
20
|
"engines": {
|
|
21
|
-
"node": "
|
|
21
|
+
"node": "20 || 22 || 24"
|
|
22
22
|
},
|
|
23
23
|
"scripts": {
|
|
24
24
|
"build": "lb-tsc",
|
|
@@ -43,15 +43,15 @@
|
|
|
43
43
|
"@types/cron": "^2.4.3",
|
|
44
44
|
"@types/debug": "^4.1.12",
|
|
45
45
|
"cron": "^2.4.4",
|
|
46
|
-
"debug": "^4.4.
|
|
46
|
+
"debug": "^4.4.1",
|
|
47
47
|
"tslib": "^2.8.1"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@loopback/build": "^
|
|
51
|
-
"@loopback/core": "^
|
|
52
|
-
"@loopback/eslint-config": "^
|
|
53
|
-
"@loopback/testlab": "^
|
|
50
|
+
"@loopback/build": "^12.0.0",
|
|
51
|
+
"@loopback/core": "^7.0.0",
|
|
52
|
+
"@loopback/eslint-config": "^16.0.0",
|
|
53
|
+
"@loopback/testlab": "^8.0.0",
|
|
54
54
|
"@types/node": "^16.18.126"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "be9e7324fca771c50502bdbd312821be8f94347e"
|
|
57
57
|
}
|