bpmnlint-plugin-camunda-compat 2.5.0 → 2.5.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bpmnlint-plugin-camunda-compat",
3
- "version": "2.5.0",
3
+ "version": "2.5.1",
4
4
  "description": "A bpmnlint plug-in for Camunda Platform compatibility",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -33,7 +33,7 @@
33
33
  "modeler-moddle": "^0.1.0",
34
34
  "sinon": "^14.0.0",
35
35
  "sinon-chai": "^3.7.0",
36
- "zeebe-bpmn-moddle": "^0.18.0"
36
+ "zeebe-bpmn-moddle": "^1.0.0"
37
37
  },
38
38
  "dependencies": {
39
39
  "@bpmn-io/feel-lint": "^0.1.1",
@@ -23,7 +23,13 @@ module.exports = skipInNonExecutableProcess(function() {
23
23
 
24
24
  const errors = hasProperties(calledElement, {
25
25
  propagateAllParentVariables: {
26
- allowed: false,
26
+ allowed: function(value) {
27
+
28
+ // `propergateAllParentVariables` is not recognized by Camunda 8.1 and older
29
+ // setting it to `true` is therefore allowed for all versions
30
+ // setting it to `false` is only allowed for Camunda 8.2 and newer
31
+ return value;
32
+ },
27
33
  allowedVersion: '8.2'
28
34
  }
29
35
  }, node);