@tngtech/momo-scheduler
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -6,2 +6,6 @@ # Change Log | ||
## v2.0.1 (2023-06-12) | ||
- Fix: fixed [CVE](https://github.com/advisories/GHSA-6w63-h3fj-q4vw) in [fast-xml-parser](https://www.npmjs.com/package/fast-xml-parser) | ||
## v2.0.0 (2023-05-12) | ||
@@ -8,0 +12,0 @@ - Feature: only one schedule with a given name can be active at the same time |
@@ -10,3 +10,3 @@ "use strict"; | ||
ExecutionStatus["notFound"] = "not found"; | ||
})(ExecutionStatus = exports.ExecutionStatus || (exports.ExecutionStatus = {})); | ||
})(ExecutionStatus || (exports.ExecutionStatus = ExecutionStatus = {})); | ||
//# sourceMappingURL=ExecutionInfo.js.map |
@@ -11,3 +11,3 @@ "use strict"; | ||
MomoErrorType["internal"] = "an internal error occurred"; | ||
})(MomoErrorType = exports.MomoErrorType || (exports.MomoErrorType = {})); | ||
})(MomoErrorType || (exports.MomoErrorType = MomoErrorType = {})); | ||
//# sourceMappingURL=MomoErrorType.js.map |
{ | ||
"name": "@tngtech/momo-scheduler", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "momo is a scheduler that persists jobs in mongodb", | ||
@@ -33,3 +33,3 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"cron": "2.3.0", | ||
"cron": "2.3.1", | ||
"cron-parser": "4.8.1", | ||
@@ -47,19 +47,19 @@ "human-interval": "2.0.1", | ||
"devDependencies": { | ||
"@sinonjs/fake-timers": "10.0.2", | ||
"@sinonjs/fake-timers": "10.2.0", | ||
"@types/cron": "2.0.1", | ||
"@types/human-interval": "1.0.0", | ||
"@types/jest": "29.5.1", | ||
"@types/lodash": "4.14.194", | ||
"@types/lodash": "4.14.195", | ||
"@types/luxon": "3.3.0", | ||
"@types/node": "16.18.28", | ||
"@types/node": "16.18.34", | ||
"@types/pino": "7.0.4", | ||
"@types/sinonjs__fake-timers": "8.1.2", | ||
"@types/uuid": "9.0.1", | ||
"@typescript-eslint/eslint-plugin": "5.59.5", | ||
"@typescript-eslint/parser": "5.59.5", | ||
"eslint": "8.40.0", | ||
"@typescript-eslint/eslint-plugin": "5.59.7", | ||
"@typescript-eslint/parser": "5.59.7", | ||
"eslint": "8.42.0", | ||
"eslint-config-prettier": "8.8.0", | ||
"eslint-plugin-import": "2.27.5", | ||
"eslint-plugin-jest": "27.2.1", | ||
"eslint-plugin-jsdoc": "44.2.1", | ||
"eslint-plugin-jsdoc": "46.2.6", | ||
"eslint-plugin-markdown": "3.0.0", | ||
@@ -69,3 +69,3 @@ "eslint-plugin-prefer-arrow": "1.2.3", | ||
"jest": "29.5.0", | ||
"mongodb-memory-server": "8.12.2", | ||
"mongodb-memory-server": "8.13.0", | ||
"pino": "8.14.1", | ||
@@ -76,4 +76,4 @@ "prettier": "2.8.8", | ||
"ts-node": "10.9.1", | ||
"typescript": "5.0.4" | ||
"typescript": "5.1.3" | ||
} | ||
} |
@@ -19,4 +19,4 @@ # Momo scheduler <img src="momo_logo.svg" align="right" /> | ||
- supports cluster mode (e.g. several instances using the same job database) | ||
- only one instance will actively schedule jobs | ||
- if an instance stops running, a different instance will take over the job scheduling | ||
- only one schedule per name will attempt to schedule jobs | ||
- if an active schedule stops running (e.g. the application instance was stopped), another schedule with the same name (e.g. running on a different instance) will take over | ||
@@ -51,2 +51,3 @@ ## Installation | ||
collectionsPrefix: 'momo', | ||
scheduleName: 'MySchedule', | ||
pingIntervalMs: 10_000, | ||
@@ -53,0 +54,0 @@ }) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
240769
250
1
+ Addedcron@2.3.1(transitive)
- Removedcron@2.3.0(transitive)
Updatedcron@2.3.1