@camunda/linting 3.8.1 → 3.9.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.
|
@@ -550,7 +550,7 @@ function getExpressionValueNotAllowedErrorMessage(report, executionPlatform, exe
|
|
|
550
550
|
|
|
551
551
|
if (is(node, 'bpmn:FormalExpression') && property === 'timeCycle') {
|
|
552
552
|
if (!greaterOrEqual(executionPlatformVersion, '8.1')) {
|
|
553
|
-
return `${ getIndefiniteArticle(typeString) } <${ typeString }> <Time cycle> must be an expression, an ISO 8601 repeating interval, or a cron expression (cron only supported by Camunda
|
|
553
|
+
return `${ getIndefiniteArticle(typeString) } <${ typeString }> <Time cycle> must be an expression, an ISO 8601 repeating interval, or a cron expression (cron only supported by Camunda 8.1 or newer)`;
|
|
554
554
|
} else {
|
|
555
555
|
return `${ getIndefiniteArticle(typeString) } <${ typeString }> <Time cycle> must be an expression, an ISO 8601 repeating interval, or a cron expression`;
|
|
556
556
|
}
|
|
@@ -425,7 +425,7 @@ export function getErrorMessage(id, report) {
|
|
|
425
425
|
|
|
426
426
|
if (property === 'timeCycle') {
|
|
427
427
|
if (!greaterOrEqual(executionPlatformVersion, '8.1')) {
|
|
428
|
-
return 'Must be an expression, an ISO 8601 repeating interval, or a cron expression (cron only supported by Camunda
|
|
428
|
+
return 'Must be an expression, an ISO 8601 repeating interval, or a cron expression (cron only supported by Camunda 8.1 or newer).';
|
|
429
429
|
}
|
|
430
430
|
|
|
431
431
|
return 'Must be an expression, an ISO 8601 repeating interval, or a cron expression.';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camunda/linting",
|
|
3
|
-
"version": "3.
|
|
4
|
-
"description": "Linting for Camunda
|
|
3
|
+
"version": "3.9.0",
|
|
4
|
+
"description": "Linting for Camunda",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"all": "npm run lint && npm test",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"@bpmn-io/diagram-js-ui": "^0.2.2",
|
|
33
33
|
"bpmn-moddle": "^8.0.0",
|
|
34
34
|
"bpmnlint": "^9.2.0",
|
|
35
|
-
"bpmnlint-plugin-camunda-compat": "^2.
|
|
35
|
+
"bpmnlint-plugin-camunda-compat": "^2.9.0",
|
|
36
36
|
"bpmnlint-utils": "^1.0.2",
|
|
37
37
|
"camunda-bpmn-moddle": "^7.0.1",
|
|
38
38
|
"clsx": "^2.0.0",
|