@cap-js-community/mtx-tool
Advanced tools
Comparing version 0.9.0 to 0.9.1
{ | ||
"name": "@cap-js-community/mtx-tool", | ||
"version": "0.9.0", | ||
"version": "0.9.1", | ||
"description": "Multitenancy and Extensibility Tool is a cli to reduce operational overhead for multitenant Cloud Foundry applications", | ||
@@ -13,2 +13,3 @@ "bin": { | ||
"scripts": { | ||
"prepublishOnly": "npm ci --package-lock --omit=dev && npx shx rm package-lock.json && npm shrinkwrap", | ||
"patch": "npx patch-package", | ||
@@ -15,0 +16,0 @@ "test": "jest", |
@@ -27,3 +27,3 @@ # MTX Tool | ||
# ad-hoc with fixed version, e.g. for stable pipelines | ||
npx @cap-js-community/mtx-tool@v0.9.0 | ||
npx @cap-js-community/mtx-tool@0.9.1 | ||
``` | ||
@@ -30,0 +30,0 @@ |
@@ -206,12 +206,13 @@ "use strict"; | ||
); | ||
if (!lastTaskSummary || lastTaskSummary.some((index, value) => taskSummary[index] !== value)) { | ||
const currentTime = Date.now(); | ||
if (currentTime - (lastTimeOfChange ?? currentTime) >= CDS_CHANGE_TIMEOUT) { | ||
hasChangeTimeout = true; | ||
break; | ||
} | ||
if (status !== JOB_STATUS.RUNNING) { | ||
break; | ||
} | ||
const currentTime = Date.now(); | ||
if (!lastTaskSummary || lastTaskSummary.some((value, index) => taskSummary[index] !== value)) { | ||
lastTimeOfChange = currentTime; | ||
} | ||
if (status !== JOB_STATUS.RUNNING) { | ||
lastTaskSummary = taskSummary; | ||
if (lastTimeOfChange && currentTime - lastTimeOfChange >= CDS_CHANGE_TIMEOUT) { | ||
hasChangeTimeout = true; | ||
break; | ||
@@ -302,2 +303,5 @@ } | ||
module.exports = { | ||
JOB_STATUS, | ||
TASK_STATUS, | ||
cdsList, | ||
@@ -304,0 +308,0 @@ cdsLongList, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
134825
3283