@camunda/linting 3.33.0 → 3.35.0
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.
|
@@ -229,6 +229,14 @@ export function getEntryIds(report) {
|
|
|
229
229
|
return [ 'multiInstance-completionCondition' ];
|
|
230
230
|
}
|
|
231
231
|
|
|
232
|
+
if (isPropertyError(data, 'completionCondition', 'bpmn:AdHocSubProcess')) {
|
|
233
|
+
return [ 'completionCondition' ];
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
if (isPropertyError(data, 'cancelRemainingInstances', 'bpmn:AdHocSubProcess')) {
|
|
237
|
+
return [ 'cancelRemainingInstances' ];
|
|
238
|
+
}
|
|
239
|
+
|
|
232
240
|
if (TIMER_PROPERTIES.some(property =>
|
|
233
241
|
isOneOfPropertiesRequiredError(data, property, 'bpmn:TimerEventDefinition'))
|
|
234
242
|
) {
|
|
@@ -447,6 +455,14 @@ export function getErrorMessage(id, report) {
|
|
|
447
455
|
return 'Output element must be defined.';
|
|
448
456
|
}
|
|
449
457
|
|
|
458
|
+
if (id === 'completionCondition' && type === ERROR_TYPES.PROPERTY_NOT_ALLOWED) {
|
|
459
|
+
return getNotSupportedMessage('', allowedVersion);
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
if (id === 'cancelRemainingInstances' && type === ERROR_TYPES.PROPERTY_VALUE_NOT_ALLOWED) {
|
|
463
|
+
return 'Must be checked.';
|
|
464
|
+
}
|
|
465
|
+
|
|
450
466
|
if (id === 'targetProcessId') {
|
|
451
467
|
return 'Process ID must be defined.';
|
|
452
468
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camunda/linting",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.35.0",
|
|
4
4
|
"description": "Linting for Camunda",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@bpmn-io/diagram-js-ui": "^0.2.3",
|
|
33
33
|
"bpmn-moddle": "^9.0.1",
|
|
34
|
-
"bpmnlint": "^11.
|
|
35
|
-
"bpmnlint-plugin-camunda-compat": "^2.
|
|
34
|
+
"bpmnlint": "^11.4.1",
|
|
35
|
+
"bpmnlint-plugin-camunda-compat": "^2.34.0",
|
|
36
36
|
"bpmnlint-utils": "^1.0.2",
|
|
37
37
|
"camunda-bpmn-moddle": "^7.0.1",
|
|
38
38
|
"clsx": "^2.0.0",
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
"zeebe-bpmn-moddle": "^1.9.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"bpmn-js": "^18.3.
|
|
46
|
+
"bpmn-js": "^18.3.1",
|
|
47
47
|
"bpmn-js-element-templates": "^2.5.3",
|
|
48
|
-
"bpmn-js-properties-panel": "^5.
|
|
48
|
+
"bpmn-js-properties-panel": "^5.34.0",
|
|
49
49
|
"camunda-bpmn-js-behaviors": "^1.9.1",
|
|
50
50
|
"chai": "^4.5.0",
|
|
51
51
|
"cross-env": "^7.0.3",
|