@cap-js-community/event-queue
Advanced tools
Comparing version 0.1.57 to 0.1.58
{ | ||
"name": "@cap-js-community/event-queue", | ||
"version": "0.1.57", | ||
"version": "0.1.58", | ||
"description": "An event queue that enables secure transactional processing of asynchronous events, featuring instant event processing with Redis Pub/Sub and load distribution across all application instances.", | ||
@@ -33,3 +33,3 @@ "main": "src/index.js", | ||
"eslint:ci": "eslint .", | ||
"prettier": "prettier --write --loglevel error .", | ||
"prettier": "prettier --write --log-level error .", | ||
"prettier:ci": "prettier --check .", | ||
@@ -45,20 +45,18 @@ "prepareRelease": "npm prune --production", | ||
"dependencies": { | ||
"uuid": "9.0.1", | ||
"redis": "4.6.10", | ||
"verror": "1.10.1", | ||
"yaml": "2.3.2" | ||
"yaml": "2.3.3" | ||
}, | ||
"devDependencies": { | ||
"@sap/eslint-plugin-cds": "2.6.3", | ||
"@sap/cds-dk": "7.1.1", | ||
"hdb": "0.19.6", | ||
"@sap/cds": "7.3.1", | ||
"@sap/cds-dk": "7.3.1", | ||
"eslint": "8.52.0", | ||
"eslint-config-prettier": "9.0.0", | ||
"eslint-plugin-jest": "27.6.0", | ||
"eslint-plugin-node": "11.1.0", | ||
"sqlite3": "5.1.6", | ||
"express": "4.18.2", | ||
"@sap/cds": "7.1.2", | ||
"eslint": "8.50.0", | ||
"eslint-config-prettier": "9.0.0", | ||
"eslint-plugin-jest": "27.4.0", | ||
"hdb": "0.19.6", | ||
"jest": "29.7.0", | ||
"prettier": "3.0.3" | ||
"prettier": "3.0.3", | ||
"sqlite3": "5.1.6" | ||
}, | ||
@@ -65,0 +63,0 @@ "homepage": "https://cap-js-community.github.io/event-queue/", |
"use strict"; | ||
const uuid = require("uuid"); | ||
const { randomUUID } = require("crypto"); | ||
@@ -133,3 +133,3 @@ const eventQueueConfig = require("./config"); | ||
const configInstance = eventQueueConfig.getConfigInstance(); | ||
let runId = uuid.v4(); | ||
let runId = randomUUID(); | ||
const couldSetValue = await distributedLock.setValueWithExpire(context, EVENT_QUEUE_RUN_ID, runId, { | ||
@@ -136,0 +136,0 @@ tenantScoped: false, |
3
11
107877
+ Addedyaml@2.3.3(transitive)
- Removeduuid@9.0.1
- Removeduuid@9.0.1(transitive)
- Removedyaml@2.3.2(transitive)
Updatedyaml@2.3.3