From 98a64b8b446d2700686be48030a803dc37bbe2ea Mon Sep 17 00:00:00 2001 From: Nico Rehwaldt Date: Wed, 20 Nov 2024 21:36:22 +0100 Subject: [PATCH] deps: update to camunda-bpmn-js@5.2.0 Closes https://github.com/camunda/camunda-modeler/issues/4182 Closes https://github.com/camunda/camunda-modeler/issues/4122 Closes https://github.com/camunda/camunda-modeler/issues/3439 Closes https://github.com/camunda/camunda-modeler/issues/4658 --- CHANGELOG.md | 6 +++ client/package.json | 4 +- package-lock.json | 96 ++++++++++++++++++++++++--------------------- 3 files changed, 60 insertions(+), 46 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4a8e5f9024..cab8334069 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,6 +32,12 @@ ___Note:__ Yet to be released changes appear here._ * `FEAT`: support task listeners ([bpmn-io/bpmn-js-properties-panel#1088](https://github.com/bpmn-io/bpmn-js-properties-panel/pull/1088)) * `FIX`: prevent long element name from shrinking icon ([#4505](https://github.com/camunda/camunda-modeler/issues/4505)) * `FIX`: correct default extension used when saving Camunda 8 BPMN diagrams ([#4661](https://github.com/camunda/camunda-modeler/issues/4661)) +* `FIX`: prioritize exact matches in search ([#4122](https://github.com/camunda/camunda-modeler/issues/4122)) +* `FIX`: prioritize start of word in search ([#3439](https://github.com/camunda/camunda-modeler/issues/3439)) +* `FIX`: correctly handle duplicate entries and whitespace in `search` ([bpmn-io/diagram-js#932](https://github.com/bpmn-io/diagram-js/pull/932)) +* `FIX`: find `search` terms across all keys ([bpmn-io/diagram-js#932](https://github.com/bpmn-io/diagram-js/pull/932), [#4182](https://github.com/camunda/camunda-modeler/issues/4182)) +* `FIX`: correct dangling selection after search pad interaction ([bpmn-io/diagram-js#947](https://github.com/bpmn-io/diagram-js/pull/947)) +* `FIX`: create new user task form only if user task form referenced ([camunda/camunda-bpmn-js-behaviors#85](https://github.com/camunda/camunda-bpmn-js-behaviors/pull/85), [#4658](https://github.com/camunda/camunda-modeler/issues/4658)) ### DMN diff --git a/client/package.json b/client/package.json index ffd486f97f..dc7336834f 100644 --- a/client/package.json +++ b/client/package.json @@ -28,12 +28,12 @@ "@ibm/plex": "^6.4.1", "@sentry/browser": "^8.0.0", "@sentry/integrations": "^7.108.0", - "bpmn-js": "^18.0.0", + "bpmn-js": "^18.1.0", "bpmn-js-element-templates": "^2.2.1", "bpmn-js-properties-panel": "^5.28.0", "bpmn-js-tracking": "^0.6.0", "bpmn-moddle": "^9.0.1", - "camunda-bpmn-js": "^5.0.0", + "camunda-bpmn-js": "^5.2.0", "camunda-bpmn-moddle": "^7.0.1", "camunda-cmmn-moddle": "^1.0.0", "camunda-dmn-js": "^3.0.0", diff --git a/package-lock.json b/package-lock.json index 7c822a4d86..6e308cf232 100644 --- a/package-lock.json +++ b/package-lock.json @@ -113,12 +113,12 @@ "@ibm/plex": "^6.4.1", "@sentry/browser": "^8.0.0", "@sentry/integrations": "^7.108.0", - "bpmn-js": "^18.0.0", + "bpmn-js": "^18.1.0", "bpmn-js-element-templates": "^2.2.1", "bpmn-js-properties-panel": "^5.28.0", "bpmn-js-tracking": "^0.6.0", "bpmn-moddle": "^9.0.1", - "camunda-bpmn-js": "^5.0.0", + "camunda-bpmn-js": "^5.2.0", "camunda-bpmn-moddle": "^7.0.1", "camunda-cmmn-moddle": "^1.0.0", "camunda-dmn-js": "^3.0.0", @@ -11249,13 +11249,13 @@ "optional": true }, "node_modules/bpmn-js": { - "version": "18.0.0", - "resolved": "https://registry.npmjs.org/bpmn-js/-/bpmn-js-18.0.0.tgz", - "integrity": "sha512-eZR4hqk2BT0m9jAGGtp/f1TD0m7LXXKfYle99q75d+NjSmxetIuvxGn48S9W+H8arJ7vgsls2GELzXoDuEE0eg==", + "version": "18.1.0", + "resolved": "https://registry.npmjs.org/bpmn-js/-/bpmn-js-18.1.0.tgz", + "integrity": "sha512-cvGLa9trDBqoVKF6uOFpcmq4hnRg+wU7lIl/ZgOJj6OdHclsTzZf6c45wOnaKZgoSpP19/jXvAWtdbXIQOnbVg==", "license": "SEE LICENSE IN LICENSE", "dependencies": { "bpmn-moddle": "^9.0.1", - "diagram-js": "^15.1.0", + "diagram-js": "^15.2.2", "diagram-js-direct-editing": "^3.2.0", "ids": "^1.0.5", "inherits-browser": "^0.1.0", @@ -12132,9 +12132,9 @@ } }, "node_modules/camunda-bpmn-js": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/camunda-bpmn-js/-/camunda-bpmn-js-5.0.0.tgz", - "integrity": "sha512-rppWnk4fx24w+S46MoHyvah9271xFivMo2bca6EeZYQJktWIuVqiL5F4sXRfZ6n38PTgBzn52AYyMiyO6CexUw==", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/camunda-bpmn-js/-/camunda-bpmn-js-5.2.0.tgz", + "integrity": "sha512-gySr71vXg/3zJwGwN6xBrfE3sUuL6zh4O0wvCmuQ5gCS0SXM6jkpGdJ3I92RXhEaUv7UE+/Q+1z3eWOzzkKJnw==", "license": "MIT", "dependencies": { "@bpmn-io/align-to-origin": "^0.7.0", @@ -12144,29 +12144,30 @@ "@bpmn-io/properties-panel": "^3.25.0", "@bpmn-io/variable-resolver": "^1.3.0", "@camunda/example-data-properties-provider": "^1.2.1", - "bpmn-js": "^18.0.0", + "bpmn-js": "^18.1.0", "bpmn-js-color-picker": "^0.7.1", "bpmn-js-create-append-anything": "^0.5.2", "bpmn-js-element-templates": "^2.3.0", "bpmn-js-executable-fix": "^0.2.1", - "camunda-bpmn-js-behaviors": "^1.6.1", + "camunda-bpmn-js-behaviors": "^1.7.2", "camunda-bpmn-moddle": "^7.0.1", - "diagram-js": "^15.2.0", + "diagram-js": "^15.2.2", "diagram-js-grid": "^1.1.0", "diagram-js-minimap": "^5.2.0", "diagram-js-origin": "^1.4.0", "inherits-browser": "^0.1.0", "min-dash": "^4.2.2", - "zeebe-bpmn-moddle": "^1.6.1" + "zeebe-bpmn-moddle": "^1.7.0" }, "peerDependencies": { "bpmn-js-properties-panel": ">= 3.0.0" } }, "node_modules/camunda-bpmn-js-behaviors": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/camunda-bpmn-js-behaviors/-/camunda-bpmn-js-behaviors-1.6.1.tgz", - "integrity": "sha512-nvfFmL2wrCi5IApt4NcYcpRHJx4nPS8AHSUq9ckyq9FiDeIwASafsvaEYY0r+FeobqUY1deYNYsKjhSYd4N0kQ==", + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/camunda-bpmn-js-behaviors/-/camunda-bpmn-js-behaviors-1.7.2.tgz", + "integrity": "sha512-xjLJHc18T40tcYu4JCeYDo1wR5i9+ZqcVnXVP6c4ooAe2gKISbBvFc07gqGpqiwm7TpEBvUfDj3PrRr+ofaf4w==", + "license": "MIT", "dependencies": { "ids": "^1.0.0", "min-dash": "^4.0.0" @@ -14654,6 +14655,7 @@ "resolved": "https://registry.npmjs.org/diagram-js/-/diagram-js-14.11.3.tgz", "integrity": "sha512-Seq9BHAXfzKS60L4v4Gvgvv72wOtvrfJQAyyPm9pntSZDMzjoodPSXnEUPud1G2zVCMGEUUW++s0reEdaWgkXA==", "license": "MIT", + "peer": true, "dependencies": { "@bpmn-io/diagram-js-ui": "^0.2.3", "clsx": "^2.1.0", @@ -14758,19 +14760,22 @@ "version": "0.2.1", "resolved": "https://registry.npmjs.org/component-event/-/component-event-0.2.1.tgz", "integrity": "sha512-wGA++isMqiDq1jPYeyv2as/Bt/u+3iLW0rEa+8NQ82jAv3TgqMiCM+B2SaBdn2DfLilLjjq736YcezihRYhfxw==", - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/diagram-js/node_modules/min-dash": { "version": "4.2.1", "resolved": "https://registry.npmjs.org/min-dash/-/min-dash-4.2.1.tgz", "integrity": "sha512-to+unsToePnm7cUeR9TrMzFlETHd/UXmU+ELTRfWZj5XGT41KF6X3L233o3E/GdEs3sk2Tbw/lOLD1avmWkg8A==", - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/diagram-js/node_modules/min-dom": { "version": "4.2.1", "resolved": "https://registry.npmjs.org/min-dom/-/min-dom-4.2.1.tgz", "integrity": "sha512-TMoL8SEEIhUWYgkj7XMSgxmwSyGI+4fP2KFFGnN3FbHfbGHVdsLYSz8LoIsgPhz4dWRmLvxWWSMgzZMJW5sZuA==", "license": "MIT", + "peer": true, "dependencies": { "component-event": "^0.2.1", "domify": "^1.4.1", @@ -14781,6 +14786,7 @@ "version": "0.4.0", "resolved": "https://registry.npmjs.org/object-refs/-/object-refs-0.4.0.tgz", "integrity": "sha512-6kJqKWryKZmtte6QYvouas0/EIJKPI1/MMIuRsiBlNuhIMfqYTggzX2F1AJ2+cDs288xyi9GL7FyasHINR98BQ==", + "peer": true, "engines": { "node": "*" } @@ -14789,7 +14795,8 @@ "version": "3.1.2", "resolved": "https://registry.npmjs.org/tiny-svg/-/tiny-svg-3.1.2.tgz", "integrity": "sha512-qvNlv/4N48HqbNpwAhzQ9HKHlBUKgA4091x+aVfsrRXHIcQ9NA3W6ZYwdmYAIdwT+vfAAksrc9L/3RQBj5KwPw==", - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/didi": { "version": "10.2.2", @@ -40713,12 +40720,12 @@ "optional": true }, "bpmn-js": { - "version": "18.0.0", - "resolved": "https://registry.npmjs.org/bpmn-js/-/bpmn-js-18.0.0.tgz", - "integrity": "sha512-eZR4hqk2BT0m9jAGGtp/f1TD0m7LXXKfYle99q75d+NjSmxetIuvxGn48S9W+H8arJ7vgsls2GELzXoDuEE0eg==", + "version": "18.1.0", + "resolved": "https://registry.npmjs.org/bpmn-js/-/bpmn-js-18.1.0.tgz", + "integrity": "sha512-cvGLa9trDBqoVKF6uOFpcmq4hnRg+wU7lIl/ZgOJj6OdHclsTzZf6c45wOnaKZgoSpP19/jXvAWtdbXIQOnbVg==", "requires": { "bpmn-moddle": "^9.0.1", - "diagram-js": "^15.1.0", + "diagram-js": "^15.2.2", "diagram-js-direct-editing": "^3.2.0", "ids": "^1.0.5", "inherits-browser": "^0.1.0", @@ -41364,9 +41371,9 @@ } }, "camunda-bpmn-js": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/camunda-bpmn-js/-/camunda-bpmn-js-5.0.0.tgz", - "integrity": "sha512-rppWnk4fx24w+S46MoHyvah9271xFivMo2bca6EeZYQJktWIuVqiL5F4sXRfZ6n38PTgBzn52AYyMiyO6CexUw==", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/camunda-bpmn-js/-/camunda-bpmn-js-5.2.0.tgz", + "integrity": "sha512-gySr71vXg/3zJwGwN6xBrfE3sUuL6zh4O0wvCmuQ5gCS0SXM6jkpGdJ3I92RXhEaUv7UE+/Q+1z3eWOzzkKJnw==", "requires": { "@bpmn-io/align-to-origin": "^0.7.0", "@bpmn-io/element-template-chooser": "^1.0.0", @@ -41375,20 +41382,20 @@ "@bpmn-io/properties-panel": "^3.25.0", "@bpmn-io/variable-resolver": "^1.3.0", "@camunda/example-data-properties-provider": "^1.2.1", - "bpmn-js": "^18.0.0", + "bpmn-js": "^18.1.0", "bpmn-js-color-picker": "^0.7.1", "bpmn-js-create-append-anything": "^0.5.2", "bpmn-js-element-templates": "^2.3.0", "bpmn-js-executable-fix": "^0.2.1", - "camunda-bpmn-js-behaviors": "^1.6.1", + "camunda-bpmn-js-behaviors": "^1.7.2", "camunda-bpmn-moddle": "^7.0.1", - "diagram-js": "^15.2.0", + "diagram-js": "^15.2.2", "diagram-js-grid": "^1.1.0", "diagram-js-minimap": "^5.2.0", "diagram-js-origin": "^1.4.0", "inherits-browser": "^0.1.0", "min-dash": "^4.2.2", - "zeebe-bpmn-moddle": "^1.6.1" + "zeebe-bpmn-moddle": "^1.7.0" }, "dependencies": { "component-event": { @@ -41440,9 +41447,9 @@ } }, "camunda-bpmn-js-behaviors": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/camunda-bpmn-js-behaviors/-/camunda-bpmn-js-behaviors-1.6.1.tgz", - "integrity": "sha512-nvfFmL2wrCi5IApt4NcYcpRHJx4nPS8AHSUq9ckyq9FiDeIwASafsvaEYY0r+FeobqUY1deYNYsKjhSYd4N0kQ==", + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/camunda-bpmn-js-behaviors/-/camunda-bpmn-js-behaviors-1.7.2.tgz", + "integrity": "sha512-xjLJHc18T40tcYu4JCeYDo1wR5i9+ZqcVnXVP6c4ooAe2gKISbBvFc07gqGpqiwm7TpEBvUfDj3PrRr+ofaf4w==", "requires": { "ids": "^1.0.0", "min-dash": "^4.0.0" @@ -41582,13 +41589,8 @@ "@bpmn-io/align-to-origin": "^0.7.0", "@bpmn-io/dmn-migrate": "^0.5.0", "@bpmn-io/extract-process-variables": "^1.0.0", -<<<<<<< HEAD "@bpmn-io/form-js": "^1.12.0", - "@bpmn-io/properties-panel": "^3.24.1", -======= - "@bpmn-io/form-js": "^1.11.3", "@bpmn-io/properties-panel": "^3.25.0", ->>>>>>> a2ceba8e (deps: bump to bpmn-js-properties-panel@5.27.0) "@bpmn-io/replace-ids": "^0.2.0", "@bpmn-io/variable-outline": "^1.0.3", "@camunda/execution-platform": "^0.3.2", @@ -41609,13 +41611,13 @@ "@testing-library/react": "^12.0.0", "babel-loader": "^9.2.1", "babel-plugin-istanbul": "^7.0.0", - "bpmn-js": "^18.0.0", + "bpmn-js": "^18.1.0", "bpmn-js-element-templates": "^2.2.1", "bpmn-js-properties-panel": "^5.28.0", "bpmn-js-tracking": "^0.6.0", "bpmn-moddle": "^9.0.1", "bpmnlint-loader": "^0.1.6", - "camunda-bpmn-js": "^5.0.0", + "camunda-bpmn-js": "^5.2.0", "camunda-bpmn-moddle": "^7.0.1", "camunda-cmmn-moddle": "^1.0.0", "camunda-dmn-js": "^3.0.0", @@ -43713,6 +43715,7 @@ "version": "14.11.3", "resolved": "https://registry.npmjs.org/diagram-js/-/diagram-js-14.11.3.tgz", "integrity": "sha512-Seq9BHAXfzKS60L4v4Gvgvv72wOtvrfJQAyyPm9pntSZDMzjoodPSXnEUPud1G2zVCMGEUUW++s0reEdaWgkXA==", + "peer": true, "requires": { "@bpmn-io/diagram-js-ui": "^0.2.3", "clsx": "^2.1.0", @@ -43728,17 +43731,20 @@ "component-event": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/component-event/-/component-event-0.2.1.tgz", - "integrity": "sha512-wGA++isMqiDq1jPYeyv2as/Bt/u+3iLW0rEa+8NQ82jAv3TgqMiCM+B2SaBdn2DfLilLjjq736YcezihRYhfxw==" + "integrity": "sha512-wGA++isMqiDq1jPYeyv2as/Bt/u+3iLW0rEa+8NQ82jAv3TgqMiCM+B2SaBdn2DfLilLjjq736YcezihRYhfxw==", + "peer": true }, "min-dash": { "version": "4.2.1", "resolved": "https://registry.npmjs.org/min-dash/-/min-dash-4.2.1.tgz", - "integrity": "sha512-to+unsToePnm7cUeR9TrMzFlETHd/UXmU+ELTRfWZj5XGT41KF6X3L233o3E/GdEs3sk2Tbw/lOLD1avmWkg8A==" + "integrity": "sha512-to+unsToePnm7cUeR9TrMzFlETHd/UXmU+ELTRfWZj5XGT41KF6X3L233o3E/GdEs3sk2Tbw/lOLD1avmWkg8A==", + "peer": true }, "min-dom": { "version": "4.2.1", "resolved": "https://registry.npmjs.org/min-dom/-/min-dom-4.2.1.tgz", "integrity": "sha512-TMoL8SEEIhUWYgkj7XMSgxmwSyGI+4fP2KFFGnN3FbHfbGHVdsLYSz8LoIsgPhz4dWRmLvxWWSMgzZMJW5sZuA==", + "peer": true, "requires": { "component-event": "^0.2.1", "domify": "^1.4.1", @@ -43748,12 +43754,14 @@ "object-refs": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/object-refs/-/object-refs-0.4.0.tgz", - "integrity": "sha512-6kJqKWryKZmtte6QYvouas0/EIJKPI1/MMIuRsiBlNuhIMfqYTggzX2F1AJ2+cDs288xyi9GL7FyasHINR98BQ==" + "integrity": "sha512-6kJqKWryKZmtte6QYvouas0/EIJKPI1/MMIuRsiBlNuhIMfqYTggzX2F1AJ2+cDs288xyi9GL7FyasHINR98BQ==", + "peer": true }, "tiny-svg": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/tiny-svg/-/tiny-svg-3.1.2.tgz", - "integrity": "sha512-qvNlv/4N48HqbNpwAhzQ9HKHlBUKgA4091x+aVfsrRXHIcQ9NA3W6ZYwdmYAIdwT+vfAAksrc9L/3RQBj5KwPw==" + "integrity": "sha512-qvNlv/4N48HqbNpwAhzQ9HKHlBUKgA4091x+aVfsrRXHIcQ9NA3W6ZYwdmYAIdwT+vfAAksrc9L/3RQBj5KwPw==", + "peer": true } } },