Skip to content

Commit e07c4bf

Browse files
committed
deps: update to diagram-js@15.3.0
1 parent 548f89b commit e07c4bf

File tree

4 files changed

+26
-15
lines changed

4 files changed

+26
-15
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@ All notable changes to [bpmn-js](https://github.com/bpmn-io/bpmn-js) are documen
66

77
___Note:__ Yet to be released changes appear here._
88

9+
## 18.6.0
10+
11+
* `FEAT`: support searching through arrays in popup menu ([bpmn-io/diagram-js#970](https://github.com/bpmn-io/diagram-js/pull/970))
12+
* `FEAT`: prioritize `search` over `description` when matching popup menu entries ([bpmn-io/diagram-js#963](https://github.com/bpmn-io/diagram-js/pull/963))
13+
* `FEAT`: sort `search` terms across all keys ([bpmn-io/diagram-js#963](https://github.com/bpmn-io/diagram-js/pull/963))
14+
* `FIX`: always select first search entry ([bpmn-io/diagram-js#967](https://github.com/bpmn-io/diagram-js/pull/967))
15+
* `DEPS`: update to `diagram-js@15.3.0`
16+
917
## 18.5.0
1018

1119
* `FEAT`: allow text annotations for message flows ([#2281](https://github.com/bpmn-io/bpmn-js/issues/2281))

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
},
112112
"dependencies": {
113113
"bpmn-moddle": "^9.0.1",
114-
"diagram-js": "^15.2.4",
114+
"diagram-js": "^15.3.0",
115115
"diagram-js-direct-editing": "^3.2.0",
116116
"ids": "^1.0.5",
117117
"inherits-browser": "^0.1.0",

test/spec/features/search/BpmnSearchProviderSpec.js

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -200,14 +200,17 @@ describe('features - BPMN search provider', function() {
200200
// when
201201
var elements = bpmnSearch.find(pattern);
202202

203+
var idsAndNames = elements.map(e => [ e.element.id, e.element.businessObject.name ]);
204+
203205
// then
204-
expect(elements).length(6);
205-
expect(elements[0].element.id).to.eql('foo_2');
206-
expect(elements[1].element.id).to.eql('foo_3');
207-
expect(elements[2].element.id).to.eql('bar');
208-
expect(elements[3].element.id).to.eql('baz');
209-
expect(elements[4].element.id).to.eql('foo_0');
210-
expect(elements[5].element.id).to.eql('foo_1');
206+
expect(idsAndNames).to.eql([
207+
[ 'foo_2', 'foo bar' ],
208+
[ 'foo_3', 'foo bar' ],
209+
[ 'bar', 'foo bar' ],
210+
[ 'foo_0', 'bar' ],
211+
[ 'foo_1', 'baz' ],
212+
[ 'baz', 'bar foo' ]
213+
]);
211214
}));
212215

213216

0 commit comments

Comments
 (0)