bpmnlint-plugin-camunda-compat 0.6.0 → 0.6.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/CHANGELOG.md CHANGED
@@ -6,6 +6,10 @@ All notable changes to [bpmnlint-plugin-camunda-compat](https://github.com/camun
6
6
 
7
7
  ___Note:__ Yet to be released changes appear here._
8
8
 
9
+ ## 0.6.1
10
+
11
+ * `FIX`: lanes supported ([#26](https://github.com/camunda/bpmnlint-plugin-camunda-compat/pull/26))
12
+
9
13
  ## 0.6.0
10
14
 
11
15
  * `FEAT`: adjust error messages to be more friendly ([#22](https://github.com/camunda/bpmnlint-plugin-camunda-compat/pull/22))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bpmnlint-plugin-camunda-compat",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "A bpmnlint plug-in for Camunda Cloud and Platform compatibility",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -6,7 +6,6 @@ const {
6
6
  hasEventDefinitionOfType,
7
7
  hasEventDefinitionOfTypeOrNone,
8
8
  hasMessageReference,
9
- hasNoLanes,
10
9
  isNotBpmn,
11
10
  withTranslations
12
11
  } = require('./utils/element');
@@ -36,6 +35,7 @@ module.exports = [
36
35
  'bpmn:MessageFlow',
37
36
  'bpmn:ParallelGateway',
38
37
  'bpmn:Participant',
38
+ 'bpmn:Process',
39
39
  'bpmn:SequenceFlow',
40
40
  'bpmn:TextAnnotation',
41
41
  {
@@ -135,15 +135,6 @@ module.exports = [
135
135
  }
136
136
  )
137
137
  },
138
- {
139
- type: 'bpmn:Process',
140
- check: withTranslations(
141
- hasNoLanes,
142
- {
143
- 'Element of type <bpmn:Process> (<bpmn:LaneSet>) not supported by {{ executionPlatform }}': 'A <Lane> is not supported by Camunda Platform 8 (Zeebe 1.0)'
144
- }
145
- )
146
- },
147
138
  {
148
139
  type: 'bpmn:ReceiveTask',
149
140
  check: withTranslations(
@@ -131,14 +131,6 @@ module.exports.hasMultiInstanceLoopCharacteristics = function(node) {
131
131
  return true;
132
132
  };
133
133
 
134
- module.exports.hasNoLanes = function(node) {
135
- const laneSets = node.get('laneSets');
136
-
137
- return !laneSets
138
- || !laneSets.length
139
- || getElementNotSupportedError(node.$type, 'bpmn:LaneSet', [ 'laneSets' ]);
140
- };
141
-
142
134
  module.exports.isNotBpmn = function(node) {
143
135
  return !is(node, 'bpmn:BaseElement');
144
136
  };