Comparing version 3.3.0 to 3.3.1
@@ -9,2 +9,6 @@ # Changelog | ||
## 3.3.1 | ||
* `FIX`: handle empty flow element containers in rules | ||
## 3.3.0 | ||
@@ -11,0 +15,0 @@ |
{ | ||
"name": "bpmnlint", | ||
"version": "3.3.0", | ||
"version": "3.3.1", | ||
"main": "lib/index.js", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -14,4 +14,6 @@ // verify that start events inside an event sub-process | ||
node.flowElements.forEach(function(flowElement) { | ||
const flowElements = node.flowElements || []; | ||
flowElements.forEach(function(flowElement) { | ||
if (!is(flowElement, 'bpmn:StartEvent')) { | ||
@@ -18,0 +20,0 @@ return false; |
@@ -14,4 +14,6 @@ // verify that there exists only a single blank | ||
const blankStartEvents = node.flowElements.filter(function(flowElement) { | ||
const flowElements = node.flowElements || []; | ||
const blankStartEvents = flowElements.filter(function(flowElement) { | ||
if (!is(flowElement, 'bpmn:StartEvent')) { | ||
@@ -18,0 +20,0 @@ return false; |
@@ -14,4 +14,6 @@ // verify that start events inside a normal sub-process | ||
node.flowElements.forEach(function(flowElement) { | ||
const flowElements = node.flowElements || []; | ||
flowElements.forEach(function(flowElement) { | ||
if (!is(flowElement, 'bpmn:StartEvent')) { | ||
@@ -18,0 +20,0 @@ return false; |
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
34467
1039