camunda-bpmn-js 4.0.0 → 4.1.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.
@@ -8221,8 +8221,7 @@
8221
8221
  } else {
8222
8222
  return [];
8223
8223
  }
8224
- } else
8225
- if (search.type) {
8224
+ } else if (search.type) {
8226
8225
  return filter(this._overlays, matchPattern({ type: search.type }));
8227
8226
  } else {
8228
8227
 
@@ -13917,8 +13916,7 @@
13917
13916
 
13918
13917
  // update positioning
13919
13918
  translate$1(gfx, element.x, element.y);
13920
- } else
13921
- if (type === 'connection') {
13919
+ } else if (type === 'connection') {
13922
13920
  this.drawConnection(visual, element);
13923
13921
  } else {
13924
13922
  throw new Error('unknown type: ' + type);
@@ -8196,8 +8196,7 @@
8196
8196
  } else {
8197
8197
  return [];
8198
8198
  }
8199
- } else
8200
- if (search.type) {
8199
+ } else if (search.type) {
8201
8200
  return filter(this._overlays, matchPattern({ type: search.type }));
8202
8201
  } else {
8203
8202
 
@@ -13892,8 +13891,7 @@
13892
13891
 
13893
13892
  // update positioning
13894
13893
  translate$1(gfx, element.x, element.y);
13895
- } else
13896
- if (type === 'connection') {
13894
+ } else if (type === 'connection') {
13897
13895
  this.drawConnection(visual, element);
13898
13896
  } else {
13899
13897
  throw new Error('unknown type: ' + type);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "camunda-bpmn-js",
3
- "version": "4.0.0",
3
+ "version": "4.1.1",
4
4
  "description": "Embeddable Camunda modeling distributions based on bpmn-js",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -59,14 +59,14 @@
59
59
  "@bpmn-io/properties-panel": "^3.18.1",
60
60
  "@bpmn-io/variable-resolver": "^1.2.1",
61
61
  "@camunda/example-data-properties-provider": "^1.2.0",
62
- "bpmn-js": "^17.0.0",
62
+ "bpmn-js": "^17.0.2",
63
63
  "bpmn-js-color-picker": "^0.7.0",
64
64
  "bpmn-js-create-append-anything": "^0.5.0",
65
- "bpmn-js-element-templates": "^1.13.2",
65
+ "bpmn-js-element-templates": "^1.14.0",
66
66
  "bpmn-js-executable-fix": "^0.2.1",
67
67
  "camunda-bpmn-js-behaviors": "^1.2.3",
68
68
  "camunda-bpmn-moddle": "^7.0.1",
69
- "diagram-js": "^14.0.0",
69
+ "diagram-js": "^14.1.0",
70
70
  "diagram-js-grid": "^1.0.0",
71
71
  "diagram-js-minimap": "^4.1.0",
72
72
  "diagram-js-origin": "^1.4.0",
@@ -83,7 +83,7 @@
83
83
  "babel-loader": "^9.1.3",
84
84
  "babel-plugin-istanbul": "^6.1.1",
85
85
  "bio-dts": "^0.8.1",
86
- "bpmn-js-properties-panel": "^5.11.1",
86
+ "bpmn-js-properties-panel": "^5.11.2",
87
87
  "chai": "^4.4.1",
88
88
  "cross-env": "^7.0.3",
89
89
  "del-cli": "^5.1.0",