bpmnlint 10.2.1 → 10.2.2

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,7 +1,7 @@
1
1
  {
2
2
  "name": "bpmnlint",
3
3
  "description": "Validate your BPMN diagrams based on configurable lint rules",
4
- "version": "10.2.1",
4
+ "version": "10.2.2",
5
5
  "main": "lib/index.js",
6
6
  "keywords": [
7
7
  "bpmnlint",
@@ -67,6 +67,11 @@ function checkProcess(node, elementsToReport, elementsOutsideToReport, diObjects
67
67
  // check child elements outside parent boundary
68
68
  // TODO: Skipped DataSoreReferences for now
69
69
  flowElements.filter(element => !is(element, 'bpmn:DataStoreReference')).forEach(element => {
70
+
71
+ if (!diObjects.has(element)) {
72
+ return;
73
+ }
74
+
70
75
  if (isOutsideParentBoundary(diObjects.get(element).bounds, parentDi.bounds)) {
71
76
  elementsOutsideToReport.add(element);
72
77
  }