croner 7.0.6-dev.0 → 8.0.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 +2 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@ Trigger functions or evaluate cron expressions in JavaScript or TypeScript. No d
|
|
|
11
11
|
* Trigger functions in JavaScript using [Cron](https://en.wikipedia.org/wiki/Cron#CRON_expression) syntax.
|
|
12
12
|
* Evaluate cron expressions and get a list of upcoming run times.
|
|
13
13
|
* Uses Vixie-cron [pattern](#pattern), with additional features such as `L` for last day and weekday of month and `#` for nth weekday of month.
|
|
14
|
-
* Works in Node.js >=
|
|
14
|
+
* Works in Node.js >=18 (both require and import), Deno >=1.16 and Bun >=1.0.0.
|
|
15
15
|
* Works in browsers as standalone, UMD or ES-module.
|
|
16
16
|
* Target different [time zones](https://croner.56k.guru/usage/examples/#time-zone).
|
|
17
17
|
* Built-in [overrun protection](https://croner.56k.guru/usage/examples/#overrun-protection)
|
|
@@ -68,7 +68,7 @@ const { Cron } = require("croner");
|
|
|
68
68
|
Using Deno
|
|
69
69
|
|
|
70
70
|
```typescript
|
|
71
|
-
import { Cron } from "https://deno.land/x/croner@
|
|
71
|
+
import { Cron } from "https://deno.land/x/croner@8.0.0/dist/croner.js";
|
|
72
72
|
```
|
|
73
73
|
|
|
74
74
|
In a webpage using the UMD-module
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "croner",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.0",
|
|
4
4
|
"description": "Trigger functions and/or evaluate cron expressions in JavaScript. No dependencies. Most features. All environments.",
|
|
5
5
|
"author": "Hexagon <github.com/hexagon>",
|
|
6
6
|
"homepage": "https://hexagon.github.io/croner",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"types/*"
|
|
24
24
|
],
|
|
25
25
|
"engines": {
|
|
26
|
-
"node": ">=
|
|
26
|
+
"node": ">=18.0"
|
|
27
27
|
},
|
|
28
28
|
"keywords": [
|
|
29
29
|
"cron",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"eslint": "^8.49.0",
|
|
77
77
|
"minitz": "^4.0.5",
|
|
78
|
-
"rollup": "^4.
|
|
78
|
+
"rollup": "^4.8.0",
|
|
79
79
|
"typescript": "^5.1.6",
|
|
80
80
|
"uglify-js": "^3.17.4",
|
|
81
81
|
"uvu": "^0.5.6"
|