croner 5.0.0 → 5.0.1
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 +12 -6
package/README.md
CHANGED
|
@@ -120,7 +120,7 @@ const job : Cron = new Cron("* * * * * *", () => {
|
|
|
120
120
|
JavaScript
|
|
121
121
|
|
|
122
122
|
```javascript
|
|
123
|
-
import Cron from "https://deno.land/x/croner@5.0.
|
|
123
|
+
import Cron from "https://deno.land/x/croner@5.0.1/src/croner.js";
|
|
124
124
|
|
|
125
125
|
Cron("* * * * * *", () => {
|
|
126
126
|
console.log("This will run every second.");
|
|
@@ -130,7 +130,7 @@ Cron("* * * * * *", () => {
|
|
|
130
130
|
TypeScript
|
|
131
131
|
|
|
132
132
|
```typescript
|
|
133
|
-
import { Cron } from "https://deno.land/x/croner@5.0.
|
|
133
|
+
import { Cron } from "https://deno.land/x/croner@5.0.1/src/croner.js";
|
|
134
134
|
|
|
135
135
|
const _scheduler : Cron = new Cron("* * * * * *", () => {
|
|
136
136
|
console.log("This will run every second.");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "croner",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.1",
|
|
4
4
|
"description": "Trigger functions and/or evaluate cron expressions in JavaScript. No dependencies. Most features. All environmens.",
|
|
5
5
|
"author": "Hexagon <github.com/hexagon>",
|
|
6
6
|
"homepage": "https://hexagon.github.io/croner",
|
|
@@ -56,16 +56,22 @@
|
|
|
56
56
|
"main": "./dist/croner.cjs",
|
|
57
57
|
"browser": "./dist/croner.min.js",
|
|
58
58
|
"module": "./src/croner.js",
|
|
59
|
-
"types": "types/croner.d.ts",
|
|
59
|
+
"types": "./types/croner.d.ts",
|
|
60
60
|
"exports": {
|
|
61
61
|
"./package.json": "./package.json",
|
|
62
62
|
".": {
|
|
63
|
-
"import":
|
|
63
|
+
"import": {
|
|
64
|
+
"types": "./types/croner.d.ts",
|
|
65
|
+
"default": "./src/croner.js"
|
|
66
|
+
},
|
|
64
67
|
"require": "./dist/croner.cjs",
|
|
65
68
|
"browser": "./dist/croner.min.js"
|
|
66
69
|
},
|
|
67
70
|
"./minified": {
|
|
68
|
-
"import":
|
|
71
|
+
"import": {
|
|
72
|
+
"types": "./types/croner.d.ts",
|
|
73
|
+
"default": "./dist/croner.min.mjs"
|
|
74
|
+
},
|
|
69
75
|
"require": "./dist/croner.min.js",
|
|
70
76
|
"browser": "./dist/croner.min.js"
|
|
71
77
|
}
|
|
@@ -75,10 +81,10 @@
|
|
|
75
81
|
"eslint": "^8.19.0",
|
|
76
82
|
"jsdoc": "^3.6.10",
|
|
77
83
|
"jsdoc-chameleon-template": "^1.0.2",
|
|
78
|
-
"minitz": "^1.
|
|
84
|
+
"minitz": "^2.1.3",
|
|
79
85
|
"rollup": "^2.75.7",
|
|
80
86
|
"typescript": "^4.7.4",
|
|
81
|
-
"uglify-js": "^3.
|
|
87
|
+
"uglify-js": "^3.17.1",
|
|
82
88
|
"uvu": "^0.5.6"
|
|
83
89
|
},
|
|
84
90
|
"license": "MIT"
|