croner 6.0.3-dev.0 → 6.0.4

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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -59,8 +59,8 @@ Using Node.js or Bun
59
59
  // ESM Import ...
60
60
  import { Cron } from "croner";
61
61
 
62
- // ... or CommonJS Require
63
- const Cron = require("croner");
62
+ // ... or CommonJS Require, destructure to add type hints
63
+ const { Cron } = require("croner");
64
64
  ```
65
65
 
66
66
  Using Deno
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "croner",
3
- "version": "6.0.3-dev.0",
3
+ "version": "6.0.4",
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",
@@ -73,12 +73,12 @@
73
73
  }
74
74
  },
75
75
  "devDependencies": {
76
- "c8": "^7.11.3",
77
- "eslint": "^8.35.0",
76
+ "c8": "^7.14.0",
77
+ "eslint": "^8.42.0",
78
78
  "jsdoc": "^4.0.0",
79
79
  "minitz": "^4.0.0",
80
- "rollup": "^3.18.0",
81
- "typescript": "^4.7.4",
80
+ "rollup": "^3.25.1",
81
+ "typescript": "^5.1.3",
82
82
  "uglify-js": "^3.17.1",
83
83
  "uvu": "^0.5.6"
84
84
  },