mongo-job-scheduler 0.1.10 → 0.1.11

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 +6 -0
  2. package/package.json +5 -3
package/README.md CHANGED
@@ -23,6 +23,12 @@ A production-grade MongoDB-backed job scheduler for Node.js with distributed loc
23
23
 
24
24
  ## Quick Start
25
25
 
26
+ ### Requirements
27
+
28
+ - Node.js >= 16.0.0
29
+ - MongoDB 5.0, 6.0, 7.0+
30
+ - The `mongodb` driver (v5, v6, or v7) must be installed as a peer dependency.
31
+
26
32
  ### Installation
27
33
 
28
34
  ```bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mongo-job-scheduler",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "description": "Production-grade MongoDB-backed job scheduler with retries, cron, timezone support, and crash recovery",
5
5
  "license": "MIT",
6
6
  "author": "Darshan Bhut",
@@ -47,8 +47,10 @@
47
47
  "prepublishOnly": "npm run build && npm test"
48
48
  },
49
49
  "dependencies": {
50
- "cron-parser": "^4.9.0",
51
- "mongodb": "^7.0.0"
50
+ "cron-parser": "^4.9.0"
51
+ },
52
+ "peerDependencies": {
53
+ "mongodb": "^5.0.0 || ^6.0.0 || ^7.0.0"
52
54
  },
53
55
  "devDependencies": {
54
56
  "@types/jest": "^30.0.0",