Socket
Socket
Sign inDemoInstall

@tngtech/momo-scheduler

Package Overview
Dependencies
227
Maintainers
6
Versions
16
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0 to 2.0.1

4

CHANGELOG.md

@@ -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

2

dist/job/ExecutionInfo.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc