From 3fc09c271dc749cfb1b9bb3103101ed6180bdc07 Mon Sep 17 00:00:00 2001 From: Dan Date: Thu, 22 Sep 2022 10:36:00 -0400 Subject: [PATCH] Clean up dependencies, and assure build / package process creates something that is easy to import and use. --- .github/workflows/publish.yml | 1 + package-lock.json | 497 +++++++++++++++++++++------------- package.json | 9 +- webpack.config.js | 111 +++++--- 4 files changed, 380 insertions(+), 238 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b3d97ba..92e9562 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -18,6 +18,7 @@ jobs: node-version: 18 - run: npm install - run: npm test + - run: npm run dist - uses: JS-DevTools/npm-publish@v1 with: token: ${{ secrets.NPM_TOKEN }} diff --git a/package-lock.json b/package-lock.json index 7f13d90..a6bb761 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,18 +1,17 @@ { "name": "bpmn-js-spiffworkflow", - "version": "0.0.8", + "version": "0.0.9", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "bpmn-js-spiffworkflow", - "version": "0.0.8", + "version": "0.0.9", "license": "MIT", "dependencies": { - "@bpmn-io/properties-panel": "^0.19.0", - "bpmn-js": "^9.4.0", - "bpmn-js-properties-panel": "^1.5.0", - "diagram-js": "^8.5.0", + "bpmn-js": "^9.4.1", + "bpmn-js-properties-panel": "^1.7.0", + "diagram-js": "^9.0.0", "inherits": "^2.0.4", "inherits-browser": "^0.0.1", "min-dash": "^3.8.1", @@ -1895,12 +1894,12 @@ } }, "node_modules/@bpmn-io/element-templates-validator": { - "version": "0.9.0", - "resolved": "https://registry.npmjs.org/@bpmn-io/element-templates-validator/-/element-templates-validator-0.9.0.tgz", - "integrity": "sha512-oS5eaXPKxl5bV8x4dJYPCWJpWMumr16TTS39S1oJEh/bKke/nhMBuhsk6wWCp7+G3jWWDkUcS1jGAAaKtvQneA==", + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/@bpmn-io/element-templates-validator/-/element-templates-validator-0.10.0.tgz", + "integrity": "sha512-dQFJDCh2u3YhlGW2V/YBe3OaO15Sq4sx6GZYiO/eUK9SCvvD/iwObliHs9Z1LkTzOITel+J8nS5Yoaab+E2QRw==", "dependencies": { - "@camunda/element-templates-json-schema": "^0.10.0", - "@camunda/zeebe-element-templates-json-schema": "^0.5.0", + "@camunda/element-templates-json-schema": "^0.10.1", + "@camunda/zeebe-element-templates-json-schema": "^0.6.0", "json-source-map": "^0.6.1", "min-dash": "^3.8.1" } @@ -1914,9 +1913,10 @@ } }, "node_modules/@bpmn-io/feel-editor": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/@bpmn-io/feel-editor/-/feel-editor-0.2.0.tgz", - "integrity": "sha512-R85p56nFxffNp0fStNxz561EXJmcTdVZL7NyVhuB3qKS/mt4thuvK1B43YnXKdLx8WessjsbHzjvWkbCYZRWkQ==", + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@bpmn-io/feel-editor/-/feel-editor-0.3.0.tgz", + "integrity": "sha512-TPDDc2vCALrMletpBos+jM7d96Qp+RWEa3D95H/4EbbDr3+kyqjUy1Omp/+yQGC4a5ryBRrEwAGHbkoAPwwbIQ==", + "peer": true, "dependencies": { "@codemirror/autocomplete": "^6.0.3", "@codemirror/commands": "^6.0.0", @@ -1929,31 +1929,56 @@ } }, "node_modules/@bpmn-io/properties-panel": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/@bpmn-io/properties-panel/-/properties-panel-0.19.0.tgz", - "integrity": "sha512-cw+MfA2gpCBsa9Q0+JT3Gc7OvR1NGXuyQj4yOk5QoQHNzxuIMNuz6EX2NvDsCrf0oSzc9z0FapbzDuJB+DSC1g==", + "version": "0.21.0", + "resolved": "https://registry.npmjs.org/@bpmn-io/properties-panel/-/properties-panel-0.21.0.tgz", + "integrity": "sha512-y9R6vMBFKNL2de4AAP8ep5X8temJMWHfDMTfMHM63G9oKhwEu15Q3Lidm3JmnobT7vUK3POugZJ/ZNK5Ko8igQ==", + "peer": true, "dependencies": { - "@bpmn-io/feel-editor": "0.2.0", + "@bpmn-io/feel-editor": "0.3.0", "classnames": "^2.3.1", - "diagram-js": "^8.1.2", - "min-dash": "^3.7.0", - "min-dom": "^3.1.3" + "diagram-js": "^8.9.0", + "min-dash": "^3.8.1", + "min-dom": "^3.2.1" } }, + "node_modules/@bpmn-io/properties-panel/node_modules/diagram-js": { + "version": "8.9.0", + "resolved": "https://registry.npmjs.org/diagram-js/-/diagram-js-8.9.0.tgz", + "integrity": "sha512-577bUEbkwZ7id4SCXcD2qrlKoRPXry2SDSPt5T6tEOjwKrTllKr5d1HZoJzGws4VMQq5fmY51Gce1iFT9S4Dlw==", + "peer": true, + "dependencies": { + "css.escape": "^1.5.1", + "didi": "^8.0.1", + "hammerjs": "^2.0.1", + "inherits-browser": "0.0.1", + "min-dash": "^3.5.2", + "min-dom": "^3.2.0", + "object-refs": "^0.3.0", + "path-intersection": "^2.2.1", + "tiny-svg": "^2.2.2" + } + }, + "node_modules/@bpmn-io/properties-panel/node_modules/didi": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/didi/-/didi-8.0.2.tgz", + "integrity": "sha512-Wpq46GzfER5kVkqFCJtHTXsdlqh6SRPA60jTrKECQ1cl84/ALpQJrqAFlEXpue+Lxi7/6xzFIxC5V3UsS/x9aA==", + "peer": true + }, "node_modules/@camunda/element-templates-json-schema": { - "version": "0.10.0", - "resolved": "https://registry.npmjs.org/@camunda/element-templates-json-schema/-/element-templates-json-schema-0.10.0.tgz", - "integrity": "sha512-igc5o6/Dn2LlnhvbtYy6D34v6yU9RqlfiUbb/zjyLjXQ7+dgWyJFICBPoNjXltlJPjx5XAnIT1mKDD+45/44mA==" + "version": "0.10.1", + "resolved": "https://registry.npmjs.org/@camunda/element-templates-json-schema/-/element-templates-json-schema-0.10.1.tgz", + "integrity": "sha512-sw8RNecjQgY7tX26PMLRJGNX/2QCnlwCvZfxQWh606qlJZsLbpvEbvfgIGCRoYlHYTlsP6PxVcWYx5LPo7yisg==" }, "node_modules/@camunda/zeebe-element-templates-json-schema": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/@camunda/zeebe-element-templates-json-schema/-/zeebe-element-templates-json-schema-0.5.0.tgz", - "integrity": "sha512-BVHVl4cuK9LxL1eDSdWs8AzuZd981/+CPkw7xlwcB1Xkn6Di8E2iRbDUCBhOIqkahjJYq957nVtbM6jlqXX5qw==" + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/@camunda/zeebe-element-templates-json-schema/-/zeebe-element-templates-json-schema-0.6.0.tgz", + "integrity": "sha512-qawIFM52lp1hW2vWrHaX8ywguZsp2olE0DRTHUY+KWH5GwszZwGWECP3tji1KVih2TasQyf28kcQVh8TeQ6dAg==" }, "node_modules/@codemirror/autocomplete": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/@codemirror/autocomplete/-/autocomplete-6.1.0.tgz", - "integrity": "sha512-wtO4O5WDyXhhCd4q4utDIDZxnQfmJ++3dGBCG9LMtI79+92OcA1DVk/n7BEupKmjIr8AzvptDz7YQ9ud6OkU+A==", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/@codemirror/autocomplete/-/autocomplete-6.2.0.tgz", + "integrity": "sha512-yNCm2CEE4kE4L2Sf7WeyCej1Q3951ccaCWfomrlBkoERKCss+TzuEeqGe5VnAJTEybLy1yzf1BdMUY/988bfpg==", + "peer": true, "dependencies": { "@codemirror/language": "^6.0.0", "@codemirror/state": "^6.0.0", @@ -1968,9 +1993,10 @@ } }, "node_modules/@codemirror/commands": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/@codemirror/commands/-/commands-6.0.1.tgz", - "integrity": "sha512-iNHDByicYqQjs0Wo1MKGfqNbMYMyhS9WV6EwMVwsHXImlFemgEUC+c5X22bXKBStN3qnwg4fArNZM+gkv22baQ==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@codemirror/commands/-/commands-6.1.0.tgz", + "integrity": "sha512-qCj2YqmbBjj0P1iumnlL5lBqZvJPzT+t2UvgjcaXErp5ZvMqFRVgQyrEfdXX6SX5UcvcHKBjXqno+MkUp0aYvQ==", + "peer": true, "dependencies": { "@codemirror/language": "^6.0.0", "@codemirror/state": "^6.0.0", @@ -1982,6 +2008,7 @@ "version": "6.2.1", "resolved": "https://registry.npmjs.org/@codemirror/language/-/language-6.2.1.tgz", "integrity": "sha512-MC3svxuvIj0MRpFlGHxLS6vPyIdbTr2KKPEW46kCoCXw2ktb4NTkpkPBI/lSP/FoNXLCBJ0mrnUi1OoZxtpW1Q==", + "peer": true, "dependencies": { "@codemirror/state": "^6.0.0", "@codemirror/view": "^6.0.0", @@ -1995,6 +2022,7 @@ "version": "6.0.0", "resolved": "https://registry.npmjs.org/@codemirror/lint/-/lint-6.0.0.tgz", "integrity": "sha512-nUUXcJW1Xp54kNs+a1ToPLK8MadO0rMTnJB8Zk4Z8gBdrN0kqV7uvUraU/T2yqg+grDNR38Vmy/MrhQN/RgwiA==", + "peer": true, "dependencies": { "@codemirror/state": "^6.0.0", "@codemirror/view": "^6.0.0", @@ -2002,14 +2030,16 @@ } }, "node_modules/@codemirror/state": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/@codemirror/state/-/state-6.1.1.tgz", - "integrity": "sha512-2s+aXsxmAwnR3Rd+JDHPG/1lw0YsA9PEwl7Re88gHJHGfxyfEzKBmsN4rr53RyPIR4lzbbhJX0DCq0WlqlBIRw==" + "version": "6.1.2", + "resolved": "https://registry.npmjs.org/@codemirror/state/-/state-6.1.2.tgz", + "integrity": "sha512-Mxff85Hp5va+zuj+H748KbubXjrinX/k28lj43H14T2D0+4kuvEFIEIO7hCEcvBT8ubZyIelt9yGOjj2MWOEQA==", + "peer": true }, "node_modules/@codemirror/view": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/@codemirror/view/-/view-6.2.0.tgz", - "integrity": "sha512-3emW1symh+GoteFMBPsltjmF790U/trouLILATh3JodbF/z98HvcQh2g3+H6dfNIHx16uNonsAF4mNzVr1TJNA==", + "version": "6.2.4", + "resolved": "https://registry.npmjs.org/@codemirror/view/-/view-6.2.4.tgz", + "integrity": "sha512-Zc5qDv+CD2ubWs6ShGJL0tf4y2w5vObdg7Eus0ouhg9g5lrvsAnwO9PvavDZdK4bpH6O+cnNDRhFlvDuieXo/g==", + "peer": true, "dependencies": { "@codemirror/state": "^6.0.0", "style-mod": "^4.0.0", @@ -2158,22 +2188,25 @@ } }, "node_modules/@lezer/common": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@lezer/common/-/common-1.0.0.tgz", - "integrity": "sha512-ohydQe+Hb+w4oMDvXzs8uuJd2NoA3D8YDcLiuDsLqH+yflDTPEpgCsWI3/6rH5C3BAedtH1/R51dxENldQceEA==" + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@lezer/common/-/common-1.0.1.tgz", + "integrity": "sha512-8TR5++Q/F//tpDsLd5zkrvEX5xxeemafEaek7mUp7Y+bI8cKQXdSqhzTOBaOogETcMOVr0pT3BBPXp13477ciw==", + "peer": true }, "node_modules/@lezer/highlight": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@lezer/highlight/-/highlight-1.0.0.tgz", - "integrity": "sha512-nsCnNtim90UKsB5YxoX65v3GEIw3iCHw9RM2DtdgkiqAbKh9pCdvi8AWNwkYf10Lu6fxNhXPpkpHbW6mihhvJA==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@lezer/highlight/-/highlight-1.1.0.tgz", + "integrity": "sha512-DAGFnxWil6aMrfpJ1clvOQrMvgDXjah8K5eA6+TsETioHlSi7Z2n/KSpbJPeuItcI2OeOR5tIWsqZqLnFSGN/w==", + "peer": true, "dependencies": { "@lezer/common": "^1.0.0" } }, "node_modules/@lezer/lr": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@lezer/lr/-/lr-1.2.1.tgz", - "integrity": "sha512-RpHRs+Q+5tPsXtobSfSeRFRAnTRD0e4bApDvo74O+JiaWq9812x5S8WgftNX67owdaTQXCB5E8XZGALo4Wt77A==", + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/@lezer/lr/-/lr-1.2.3.tgz", + "integrity": "sha512-qpB7rBzH8f6Mzjv2AVZRahcm+2Cf7nbIH++uXbvVOL1yIRvVWQ3HAM/saeBLCyz/togB7LGo76qdJYL1uKQlqA==", + "peer": true, "dependencies": { "@lezer/common": "^1.0.0" } @@ -3019,9 +3052,9 @@ "dev": true }, "node_modules/bpmn-js": { - "version": "9.4.0", - "resolved": "https://registry.npmjs.org/bpmn-js/-/bpmn-js-9.4.0.tgz", - "integrity": "sha512-7dusZBYCFognA0TmspWaKZ47UjFhyRT+//hMdyLtPCKY1M0uAPXHoFv73MohlsEa7a75h0q6zjCj5W0/RHBwvg==", + "version": "9.4.1", + "resolved": "https://registry.npmjs.org/bpmn-js/-/bpmn-js-9.4.1.tgz", + "integrity": "sha512-uid1EctbT0c3dO5+Ghm9Qu8EQCSVjZS1Ff7z9qQ0ZoxRWayvbWaHUYSVdKlzXZi7911Pe7rkSqCuXpQ68ouPRw==", "dependencies": { "bpmn-moddle": "^7.1.3", "css.escape": "^1.5.1", @@ -3036,11 +3069,11 @@ } }, "node_modules/bpmn-js-properties-panel": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/bpmn-js-properties-panel/-/bpmn-js-properties-panel-1.5.0.tgz", - "integrity": "sha512-0VAPk6xK/u+GepjGjt8HAXtBa2ab5o4Dkn5II8UgnFMoQThpvrsLras3vh1il8j/2vPhngAsfiA8z7Y9nJ6/Hw==", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/bpmn-js-properties-panel/-/bpmn-js-properties-panel-1.7.0.tgz", + "integrity": "sha512-06qjWOGqFO3iTAk0IWp7WwwjNeOPuXmI5DkXop6sgqDuVZDLDTeI1VWl/7IpTXy4Ku4QPfuq51Ljptu2oLbPMA==", "dependencies": { - "@bpmn-io/element-templates-validator": "^0.9.0", + "@bpmn-io/element-templates-validator": "^0.10.0", "@bpmn-io/extract-process-variables": "^0.5.0", "array-move": "^3.0.1", "classnames": "^2.3.1", @@ -3051,12 +3084,45 @@ "semver-compare": "^1.0.0" }, "peerDependencies": { - "@bpmn-io/properties-panel": "0.19.x", + "@bpmn-io/properties-panel": "^0.21.0", "bpmn-js": "8.x || 9.x", - "camunda-bpmn-js-behaviors": "0.1.x", + "camunda-bpmn-js-behaviors": "0.2.x", "diagram-js": "7.x || 8.x" } }, + "node_modules/bpmn-js/node_modules/diagram-js": { + "version": "8.9.0", + "resolved": "https://registry.npmjs.org/diagram-js/-/diagram-js-8.9.0.tgz", + "integrity": "sha512-577bUEbkwZ7id4SCXcD2qrlKoRPXry2SDSPt5T6tEOjwKrTllKr5d1HZoJzGws4VMQq5fmY51Gce1iFT9S4Dlw==", + "dependencies": { + "css.escape": "^1.5.1", + "didi": "^8.0.1", + "hammerjs": "^2.0.1", + "inherits-browser": "0.0.1", + "min-dash": "^3.5.2", + "min-dom": "^3.2.0", + "object-refs": "^0.3.0", + "path-intersection": "^2.2.1", + "tiny-svg": "^2.2.2" + } + }, + "node_modules/bpmn-js/node_modules/diagram-js-direct-editing": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/diagram-js-direct-editing/-/diagram-js-direct-editing-1.7.0.tgz", + "integrity": "sha512-ZfTLF4hdWr7NSoruwxGvVmu7aVaUjWRXjwgK5dx58LbXAsNjBS3Ap7zjVuGxjWUpCZ/MMwyZ00lpTHPH2P7BFQ==", + "dependencies": { + "min-dash": "^3.5.2", + "min-dom": "^3.1.3" + }, + "peerDependencies": { + "diagram-js": "^0.x || ^1.x || ^2.x || ^3.x || ^4.x || ^5.x || ^6.x || ^7.x || ^8.x" + } + }, + "node_modules/bpmn-js/node_modules/didi": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/didi/-/didi-8.0.2.tgz", + "integrity": "sha512-Wpq46GzfER5kVkqFCJtHTXsdlqh6SRPA60jTrKECQ1cl84/ALpQJrqAFlEXpue+Lxi7/6xzFIxC5V3UsS/x9aA==" + }, "node_modules/bpmn-moddle": { "version": "7.1.3", "resolved": "https://registry.npmjs.org/bpmn-moddle/-/bpmn-moddle-7.1.3.tgz", @@ -3193,33 +3259,26 @@ } }, "node_modules/camunda-bpmn-js-behaviors": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/camunda-bpmn-js-behaviors/-/camunda-bpmn-js-behaviors-0.1.0.tgz", - "integrity": "sha512-YJs4kAkRhZ1GyE4VVPTJlZ/GjuDHnSGvzuLTa87HIfpEonVMHsmRrQL0Gr/bkSVcQaA4s6XB0XKV6rz32LHNUA==", + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/camunda-bpmn-js-behaviors/-/camunda-bpmn-js-behaviors-0.2.0.tgz", + "integrity": "sha512-pIaSLBUfJSObCBvfH2WHPTzZbdW4rV0vN4PObyXX1iqy0idKy2uJURQj/lLy7cGmZAWO4GVpDuco8+f8WzH9HA==", "peer": true, "dependencies": { "ids": "^1.0.0", - "min-dash": "^3.7.0" - }, - "peerDependencies": { - "bpmn-js": "9.x", - "camunda-bpmn-moddle": "6.x", - "zeebe-bpmn-moddle": "0.12.x" - } - }, - "node_modules/camunda-bpmn-moddle": { - "version": "6.1.2", - "resolved": "https://registry.npmjs.org/camunda-bpmn-moddle/-/camunda-bpmn-moddle-6.1.2.tgz", - "integrity": "sha512-DfhOTeq8oN01cB5sLE6Rq34/9xGD15/Y14pEM+YBIjgvV6Rclh+BgIa/2aRMm8An4Kc/itm2tECYiDr8p/FyTQ==", - "peer": true, - "dependencies": { "min-dash": "^3.8.1" }, "peerDependencies": { - "bpmn-js": "^6.x || ^7.x || ^8.x || ^9.x", - "diagram-js": "^5.x || ^6.x || ^7.x || ^8.x" + "bpmn-js": "9.x", + "camunda-bpmn-moddle": "7.x", + "zeebe-bpmn-moddle": "0.15.x" } }, + "node_modules/camunda-bpmn-moddle": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/camunda-bpmn-moddle/-/camunda-bpmn-moddle-7.0.1.tgz", + "integrity": "sha512-Br8Diu6roMpziHdpl66Dhnm0DTnCFMrSD9zwLV08LpD52QA0UsXxU87XfHf08HjuB7ly0Hd1bvajZRpf9hbmYQ==", + "peer": true + }, "node_modules/caniuse-lite": { "version": "1.0.30001366", "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001366.tgz", @@ -3592,7 +3651,8 @@ "node_modules/crelt": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/crelt/-/crelt-1.0.5.tgz", - "integrity": "sha512-+BO9wPPi+DWTDcNYhr/W90myha8ptzftZT+LwcmUbbok0rcP/fequmFYCw8NMoH7pkAZQzU78b3kYrlua5a9eA==" + "integrity": "sha512-+BO9wPPi+DWTDcNYhr/W90myha8ptzftZT+LwcmUbbok0rcP/fequmFYCw8NMoH7pkAZQzU78b3kYrlua5a9eA==", + "peer": true }, "node_modules/cross-spawn": { "version": "7.0.3", @@ -3723,12 +3783,12 @@ "dev": true }, "node_modules/diagram-js": { - "version": "8.9.0", - "resolved": "https://registry.npmjs.org/diagram-js/-/diagram-js-8.9.0.tgz", - "integrity": "sha512-577bUEbkwZ7id4SCXcD2qrlKoRPXry2SDSPt5T6tEOjwKrTllKr5d1HZoJzGws4VMQq5fmY51Gce1iFT9S4Dlw==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/diagram-js/-/diagram-js-9.0.0.tgz", + "integrity": "sha512-lZorI/9FlTqUf0l8xzjtd5xnIHkOcpZ/QJpjiuE4YPY05Ikp80O2W/GeS8utSfQkSbPrAjGd5LICpWYLF7adSg==", "dependencies": { "css.escape": "^1.5.1", - "didi": "^8.0.1", + "didi": "^9.0.0", "hammerjs": "^2.0.1", "inherits-browser": "0.0.1", "min-dash": "^3.5.2", @@ -3738,22 +3798,10 @@ "tiny-svg": "^2.2.2" } }, - "node_modules/diagram-js-direct-editing": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/diagram-js-direct-editing/-/diagram-js-direct-editing-1.7.0.tgz", - "integrity": "sha512-ZfTLF4hdWr7NSoruwxGvVmu7aVaUjWRXjwgK5dx58LbXAsNjBS3Ap7zjVuGxjWUpCZ/MMwyZ00lpTHPH2P7BFQ==", - "dependencies": { - "min-dash": "^3.5.2", - "min-dom": "^3.1.3" - }, - "peerDependencies": { - "diagram-js": "^0.x || ^1.x || ^2.x || ^3.x || ^4.x || ^5.x || ^6.x || ^7.x || ^8.x" - } - }, "node_modules/didi": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/didi/-/didi-8.0.1.tgz", - "integrity": "sha512-7oXiXbp8DHE3FfQsVBkc2pwePo3Jy2uyGS9trAeBmfxiZAP4WV23LWokRpMmyl3hlu8OEAsyMxx19i5P6TVaJQ==" + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/didi/-/didi-9.0.0.tgz", + "integrity": "sha512-bOZ7WAah3t8TxKV81pbIivHjWyABot49YXG1M3QztnUlZDHz3MRNJ1nZO87JbqrkqNI/2GR4ncHfXdGIP9LX+w==" }, "node_modules/diff": { "version": "5.0.0", @@ -6090,6 +6138,7 @@ "version": "0.4.0", "resolved": "https://registry.npmjs.org/lezer-feel/-/lezer-feel-0.4.0.tgz", "integrity": "sha512-yd+AWsOE4NGVeW4x50HXUA9dKs9MUa7H8PATPNEmBiXKfIijPlC6+FEy8OLjOzb4b9y9pPPpAqnZ2/kvLmvZVw==", + "peer": true, "dependencies": { "@lezer/lr": "^0.16.0" } @@ -6097,12 +6146,14 @@ "node_modules/lezer-feel/node_modules/@lezer/common": { "version": "0.16.1", "resolved": "https://registry.npmjs.org/@lezer/common/-/common-0.16.1.tgz", - "integrity": "sha512-qPmG7YTZ6lATyTOAWf8vXE+iRrt1NJd4cm2nJHK+v7X9TsOF6+HtuU/ctaZy2RCrluxDb89hI6KWQ5LfQGQWuA==" + "integrity": "sha512-qPmG7YTZ6lATyTOAWf8vXE+iRrt1NJd4cm2nJHK+v7X9TsOF6+HtuU/ctaZy2RCrluxDb89hI6KWQ5LfQGQWuA==", + "peer": true }, "node_modules/lezer-feel/node_modules/@lezer/lr": { "version": "0.16.3", "resolved": "https://registry.npmjs.org/@lezer/lr/-/lr-0.16.3.tgz", "integrity": "sha512-pau7um4eAw94BEuuShUIeQDTf3k4Wt6oIUOYxMmkZgDHdqtIcxWND4LRxi8nI9KuT4I1bXQv67BCapkxt7Ywqw==", + "peer": true, "dependencies": { "@lezer/common": "^0.16.0" } @@ -8341,7 +8392,8 @@ "node_modules/style-mod": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/style-mod/-/style-mod-4.0.0.tgz", - "integrity": "sha512-OPhtyEjyyN9x3nhPsu76f52yUGXiZcgvsrFVtvTkyGRQJ0XK+GPc6ov1z+lRpbeabka+MYEQxOYRnt5nF30aMw==" + "integrity": "sha512-OPhtyEjyyN9x3nhPsu76f52yUGXiZcgvsrFVtvTkyGRQJ0XK+GPc6ov1z+lRpbeabka+MYEQxOYRnt5nF30aMw==", + "peer": true }, "node_modules/supports-color": { "version": "7.2.0", @@ -8377,9 +8429,9 @@ } }, "node_modules/terser": { - "version": "5.14.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.14.0.tgz", - "integrity": "sha512-JC6qfIEkPBd9j1SMO3Pfn+A6w2kQV54tv+ABQLgZr7dA3k/DL/OBoYSWxzVpZev3J+bUHXfr55L8Mox7AaNo6g==", + "version": "5.15.0", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.15.0.tgz", + "integrity": "sha512-L1BJiXVmheAQQy+as0oF3Pwtlo4s3Wi1X2zNZ2NxOB4wx9bdS9Vk67XQENLFdLYGCK/Z2di53mTj/hBafR+dTA==", "dev": true, "dependencies": { "@jridgewell/source-map": "^0.3.2", @@ -8815,7 +8867,8 @@ "node_modules/w3c-keyname": { "version": "2.2.6", "resolved": "https://registry.npmjs.org/w3c-keyname/-/w3c-keyname-2.2.6.tgz", - "integrity": "sha512-f+fciywl1SJEniZHD6H+kUO8gOnwIr7f4ijKA6+ZvJFjeGi1r4PDLl53Ayud9O/rk64RqgoQine0feoeOU0kXg==" + "integrity": "sha512-f+fciywl1SJEniZHD6H+kUO8gOnwIr7f4ijKA6+ZvJFjeGi1r4PDLl53Ayud9O/rk64RqgoQine0feoeOU0kXg==", + "peer": true }, "node_modules/watchpack": { "version": "2.4.0", @@ -9159,9 +9212,9 @@ } }, "node_modules/zeebe-bpmn-moddle": { - "version": "0.12.1", - "resolved": "https://registry.npmjs.org/zeebe-bpmn-moddle/-/zeebe-bpmn-moddle-0.12.1.tgz", - "integrity": "sha512-rnUoK+A/gzinOGUlmJKeXmnjorgEm4yf7qgeaowXGZOFtFqtM2lvJ7XYTJNsKClaNfFG245JtKHH3G/caJxE6g==", + "version": "0.15.0", + "resolved": "https://registry.npmjs.org/zeebe-bpmn-moddle/-/zeebe-bpmn-moddle-0.15.0.tgz", + "integrity": "sha512-cgn6bjkjrtOGcRumrgWnT1J93wTKmnFlSGGuwGXjF7pOksPF28ssbKiwKVMU6IXHnBDIVLQdf8fVNZn7JiBtQQ==", "peer": true } }, @@ -10455,12 +10508,12 @@ } }, "@bpmn-io/element-templates-validator": { - "version": "0.9.0", - "resolved": "https://registry.npmjs.org/@bpmn-io/element-templates-validator/-/element-templates-validator-0.9.0.tgz", - "integrity": "sha512-oS5eaXPKxl5bV8x4dJYPCWJpWMumr16TTS39S1oJEh/bKke/nhMBuhsk6wWCp7+G3jWWDkUcS1jGAAaKtvQneA==", + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/@bpmn-io/element-templates-validator/-/element-templates-validator-0.10.0.tgz", + "integrity": "sha512-dQFJDCh2u3YhlGW2V/YBe3OaO15Sq4sx6GZYiO/eUK9SCvvD/iwObliHs9Z1LkTzOITel+J8nS5Yoaab+E2QRw==", "requires": { - "@camunda/element-templates-json-schema": "^0.10.0", - "@camunda/zeebe-element-templates-json-schema": "^0.5.0", + "@camunda/element-templates-json-schema": "^0.10.1", + "@camunda/zeebe-element-templates-json-schema": "^0.6.0", "json-source-map": "^0.6.1", "min-dash": "^3.8.1" } @@ -10474,9 +10527,10 @@ } }, "@bpmn-io/feel-editor": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/@bpmn-io/feel-editor/-/feel-editor-0.2.0.tgz", - "integrity": "sha512-R85p56nFxffNp0fStNxz561EXJmcTdVZL7NyVhuB3qKS/mt4thuvK1B43YnXKdLx8WessjsbHzjvWkbCYZRWkQ==", + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@bpmn-io/feel-editor/-/feel-editor-0.3.0.tgz", + "integrity": "sha512-TPDDc2vCALrMletpBos+jM7d96Qp+RWEa3D95H/4EbbDr3+kyqjUy1Omp/+yQGC4a5ryBRrEwAGHbkoAPwwbIQ==", + "peer": true, "requires": { "@codemirror/autocomplete": "^6.0.3", "@codemirror/commands": "^6.0.0", @@ -10489,31 +10543,58 @@ } }, "@bpmn-io/properties-panel": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/@bpmn-io/properties-panel/-/properties-panel-0.19.0.tgz", - "integrity": "sha512-cw+MfA2gpCBsa9Q0+JT3Gc7OvR1NGXuyQj4yOk5QoQHNzxuIMNuz6EX2NvDsCrf0oSzc9z0FapbzDuJB+DSC1g==", + "version": "0.21.0", + "resolved": "https://registry.npmjs.org/@bpmn-io/properties-panel/-/properties-panel-0.21.0.tgz", + "integrity": "sha512-y9R6vMBFKNL2de4AAP8ep5X8temJMWHfDMTfMHM63G9oKhwEu15Q3Lidm3JmnobT7vUK3POugZJ/ZNK5Ko8igQ==", + "peer": true, "requires": { - "@bpmn-io/feel-editor": "0.2.0", + "@bpmn-io/feel-editor": "0.3.0", "classnames": "^2.3.1", - "diagram-js": "^8.1.2", - "min-dash": "^3.7.0", - "min-dom": "^3.1.3" + "diagram-js": "^8.9.0", + "min-dash": "^3.8.1", + "min-dom": "^3.2.1" + }, + "dependencies": { + "diagram-js": { + "version": "8.9.0", + "resolved": "https://registry.npmjs.org/diagram-js/-/diagram-js-8.9.0.tgz", + "integrity": "sha512-577bUEbkwZ7id4SCXcD2qrlKoRPXry2SDSPt5T6tEOjwKrTllKr5d1HZoJzGws4VMQq5fmY51Gce1iFT9S4Dlw==", + "peer": true, + "requires": { + "css.escape": "^1.5.1", + "didi": "^8.0.1", + "hammerjs": "^2.0.1", + "inherits-browser": "0.0.1", + "min-dash": "^3.5.2", + "min-dom": "^3.2.0", + "object-refs": "^0.3.0", + "path-intersection": "^2.2.1", + "tiny-svg": "^2.2.2" + } + }, + "didi": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/didi/-/didi-8.0.2.tgz", + "integrity": "sha512-Wpq46GzfER5kVkqFCJtHTXsdlqh6SRPA60jTrKECQ1cl84/ALpQJrqAFlEXpue+Lxi7/6xzFIxC5V3UsS/x9aA==", + "peer": true + } } }, "@camunda/element-templates-json-schema": { - "version": "0.10.0", - "resolved": "https://registry.npmjs.org/@camunda/element-templates-json-schema/-/element-templates-json-schema-0.10.0.tgz", - "integrity": "sha512-igc5o6/Dn2LlnhvbtYy6D34v6yU9RqlfiUbb/zjyLjXQ7+dgWyJFICBPoNjXltlJPjx5XAnIT1mKDD+45/44mA==" + "version": "0.10.1", + "resolved": "https://registry.npmjs.org/@camunda/element-templates-json-schema/-/element-templates-json-schema-0.10.1.tgz", + "integrity": "sha512-sw8RNecjQgY7tX26PMLRJGNX/2QCnlwCvZfxQWh606qlJZsLbpvEbvfgIGCRoYlHYTlsP6PxVcWYx5LPo7yisg==" }, "@camunda/zeebe-element-templates-json-schema": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/@camunda/zeebe-element-templates-json-schema/-/zeebe-element-templates-json-schema-0.5.0.tgz", - "integrity": "sha512-BVHVl4cuK9LxL1eDSdWs8AzuZd981/+CPkw7xlwcB1Xkn6Di8E2iRbDUCBhOIqkahjJYq957nVtbM6jlqXX5qw==" + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/@camunda/zeebe-element-templates-json-schema/-/zeebe-element-templates-json-schema-0.6.0.tgz", + "integrity": "sha512-qawIFM52lp1hW2vWrHaX8ywguZsp2olE0DRTHUY+KWH5GwszZwGWECP3tji1KVih2TasQyf28kcQVh8TeQ6dAg==" }, "@codemirror/autocomplete": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/@codemirror/autocomplete/-/autocomplete-6.1.0.tgz", - "integrity": "sha512-wtO4O5WDyXhhCd4q4utDIDZxnQfmJ++3dGBCG9LMtI79+92OcA1DVk/n7BEupKmjIr8AzvptDz7YQ9ud6OkU+A==", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/@codemirror/autocomplete/-/autocomplete-6.2.0.tgz", + "integrity": "sha512-yNCm2CEE4kE4L2Sf7WeyCej1Q3951ccaCWfomrlBkoERKCss+TzuEeqGe5VnAJTEybLy1yzf1BdMUY/988bfpg==", + "peer": true, "requires": { "@codemirror/language": "^6.0.0", "@codemirror/state": "^6.0.0", @@ -10522,9 +10603,10 @@ } }, "@codemirror/commands": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/@codemirror/commands/-/commands-6.0.1.tgz", - "integrity": "sha512-iNHDByicYqQjs0Wo1MKGfqNbMYMyhS9WV6EwMVwsHXImlFemgEUC+c5X22bXKBStN3qnwg4fArNZM+gkv22baQ==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@codemirror/commands/-/commands-6.1.0.tgz", + "integrity": "sha512-qCj2YqmbBjj0P1iumnlL5lBqZvJPzT+t2UvgjcaXErp5ZvMqFRVgQyrEfdXX6SX5UcvcHKBjXqno+MkUp0aYvQ==", + "peer": true, "requires": { "@codemirror/language": "^6.0.0", "@codemirror/state": "^6.0.0", @@ -10536,6 +10618,7 @@ "version": "6.2.1", "resolved": "https://registry.npmjs.org/@codemirror/language/-/language-6.2.1.tgz", "integrity": "sha512-MC3svxuvIj0MRpFlGHxLS6vPyIdbTr2KKPEW46kCoCXw2ktb4NTkpkPBI/lSP/FoNXLCBJ0mrnUi1OoZxtpW1Q==", + "peer": true, "requires": { "@codemirror/state": "^6.0.0", "@codemirror/view": "^6.0.0", @@ -10549,6 +10632,7 @@ "version": "6.0.0", "resolved": "https://registry.npmjs.org/@codemirror/lint/-/lint-6.0.0.tgz", "integrity": "sha512-nUUXcJW1Xp54kNs+a1ToPLK8MadO0rMTnJB8Zk4Z8gBdrN0kqV7uvUraU/T2yqg+grDNR38Vmy/MrhQN/RgwiA==", + "peer": true, "requires": { "@codemirror/state": "^6.0.0", "@codemirror/view": "^6.0.0", @@ -10556,14 +10640,16 @@ } }, "@codemirror/state": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/@codemirror/state/-/state-6.1.1.tgz", - "integrity": "sha512-2s+aXsxmAwnR3Rd+JDHPG/1lw0YsA9PEwl7Re88gHJHGfxyfEzKBmsN4rr53RyPIR4lzbbhJX0DCq0WlqlBIRw==" + "version": "6.1.2", + "resolved": "https://registry.npmjs.org/@codemirror/state/-/state-6.1.2.tgz", + "integrity": "sha512-Mxff85Hp5va+zuj+H748KbubXjrinX/k28lj43H14T2D0+4kuvEFIEIO7hCEcvBT8ubZyIelt9yGOjj2MWOEQA==", + "peer": true }, "@codemirror/view": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/@codemirror/view/-/view-6.2.0.tgz", - "integrity": "sha512-3emW1symh+GoteFMBPsltjmF790U/trouLILATh3JodbF/z98HvcQh2g3+H6dfNIHx16uNonsAF4mNzVr1TJNA==", + "version": "6.2.4", + "resolved": "https://registry.npmjs.org/@codemirror/view/-/view-6.2.4.tgz", + "integrity": "sha512-Zc5qDv+CD2ubWs6ShGJL0tf4y2w5vObdg7Eus0ouhg9g5lrvsAnwO9PvavDZdK4bpH6O+cnNDRhFlvDuieXo/g==", + "peer": true, "requires": { "@codemirror/state": "^6.0.0", "style-mod": "^4.0.0", @@ -10685,22 +10771,25 @@ } }, "@lezer/common": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@lezer/common/-/common-1.0.0.tgz", - "integrity": "sha512-ohydQe+Hb+w4oMDvXzs8uuJd2NoA3D8YDcLiuDsLqH+yflDTPEpgCsWI3/6rH5C3BAedtH1/R51dxENldQceEA==" + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@lezer/common/-/common-1.0.1.tgz", + "integrity": "sha512-8TR5++Q/F//tpDsLd5zkrvEX5xxeemafEaek7mUp7Y+bI8cKQXdSqhzTOBaOogETcMOVr0pT3BBPXp13477ciw==", + "peer": true }, "@lezer/highlight": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@lezer/highlight/-/highlight-1.0.0.tgz", - "integrity": "sha512-nsCnNtim90UKsB5YxoX65v3GEIw3iCHw9RM2DtdgkiqAbKh9pCdvi8AWNwkYf10Lu6fxNhXPpkpHbW6mihhvJA==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@lezer/highlight/-/highlight-1.1.0.tgz", + "integrity": "sha512-DAGFnxWil6aMrfpJ1clvOQrMvgDXjah8K5eA6+TsETioHlSi7Z2n/KSpbJPeuItcI2OeOR5tIWsqZqLnFSGN/w==", + "peer": true, "requires": { "@lezer/common": "^1.0.0" } }, "@lezer/lr": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@lezer/lr/-/lr-1.2.1.tgz", - "integrity": "sha512-RpHRs+Q+5tPsXtobSfSeRFRAnTRD0e4bApDvo74O+JiaWq9812x5S8WgftNX67owdaTQXCB5E8XZGALo4Wt77A==", + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/@lezer/lr/-/lr-1.2.3.tgz", + "integrity": "sha512-qpB7rBzH8f6Mzjv2AVZRahcm+2Cf7nbIH++uXbvVOL1yIRvVWQ3HAM/saeBLCyz/togB7LGo76qdJYL1uKQlqA==", + "peer": true, "requires": { "@lezer/common": "^1.0.0" } @@ -11408,9 +11497,9 @@ } }, "bpmn-js": { - "version": "9.4.0", - "resolved": "https://registry.npmjs.org/bpmn-js/-/bpmn-js-9.4.0.tgz", - "integrity": "sha512-7dusZBYCFognA0TmspWaKZ47UjFhyRT+//hMdyLtPCKY1M0uAPXHoFv73MohlsEa7a75h0q6zjCj5W0/RHBwvg==", + "version": "9.4.1", + "resolved": "https://registry.npmjs.org/bpmn-js/-/bpmn-js-9.4.1.tgz", + "integrity": "sha512-uid1EctbT0c3dO5+Ghm9Qu8EQCSVjZS1Ff7z9qQ0ZoxRWayvbWaHUYSVdKlzXZi7911Pe7rkSqCuXpQ68ouPRw==", "requires": { "bpmn-moddle": "^7.1.3", "css.escape": "^1.5.1", @@ -11422,14 +11511,46 @@ "min-dom": "^3.2.1", "object-refs": "^0.3.0", "tiny-svg": "^2.2.4" + }, + "dependencies": { + "diagram-js": { + "version": "8.9.0", + "resolved": "https://registry.npmjs.org/diagram-js/-/diagram-js-8.9.0.tgz", + "integrity": "sha512-577bUEbkwZ7id4SCXcD2qrlKoRPXry2SDSPt5T6tEOjwKrTllKr5d1HZoJzGws4VMQq5fmY51Gce1iFT9S4Dlw==", + "requires": { + "css.escape": "^1.5.1", + "didi": "^8.0.1", + "hammerjs": "^2.0.1", + "inherits-browser": "0.0.1", + "min-dash": "^3.5.2", + "min-dom": "^3.2.0", + "object-refs": "^0.3.0", + "path-intersection": "^2.2.1", + "tiny-svg": "^2.2.2" + } + }, + "diagram-js-direct-editing": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/diagram-js-direct-editing/-/diagram-js-direct-editing-1.7.0.tgz", + "integrity": "sha512-ZfTLF4hdWr7NSoruwxGvVmu7aVaUjWRXjwgK5dx58LbXAsNjBS3Ap7zjVuGxjWUpCZ/MMwyZ00lpTHPH2P7BFQ==", + "requires": { + "min-dash": "^3.5.2", + "min-dom": "^3.1.3" + } + }, + "didi": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/didi/-/didi-8.0.2.tgz", + "integrity": "sha512-Wpq46GzfER5kVkqFCJtHTXsdlqh6SRPA60jTrKECQ1cl84/ALpQJrqAFlEXpue+Lxi7/6xzFIxC5V3UsS/x9aA==" + } } }, "bpmn-js-properties-panel": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/bpmn-js-properties-panel/-/bpmn-js-properties-panel-1.5.0.tgz", - "integrity": "sha512-0VAPk6xK/u+GepjGjt8HAXtBa2ab5o4Dkn5II8UgnFMoQThpvrsLras3vh1il8j/2vPhngAsfiA8z7Y9nJ6/Hw==", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/bpmn-js-properties-panel/-/bpmn-js-properties-panel-1.7.0.tgz", + "integrity": "sha512-06qjWOGqFO3iTAk0IWp7WwwjNeOPuXmI5DkXop6sgqDuVZDLDTeI1VWl/7IpTXy4Ku4QPfuq51Ljptu2oLbPMA==", "requires": { - "@bpmn-io/element-templates-validator": "^0.9.0", + "@bpmn-io/element-templates-validator": "^0.10.0", "@bpmn-io/extract-process-variables": "^0.5.0", "array-move": "^3.0.1", "classnames": "^2.3.1", @@ -11542,23 +11663,20 @@ "dev": true }, "camunda-bpmn-js-behaviors": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/camunda-bpmn-js-behaviors/-/camunda-bpmn-js-behaviors-0.1.0.tgz", - "integrity": "sha512-YJs4kAkRhZ1GyE4VVPTJlZ/GjuDHnSGvzuLTa87HIfpEonVMHsmRrQL0Gr/bkSVcQaA4s6XB0XKV6rz32LHNUA==", + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/camunda-bpmn-js-behaviors/-/camunda-bpmn-js-behaviors-0.2.0.tgz", + "integrity": "sha512-pIaSLBUfJSObCBvfH2WHPTzZbdW4rV0vN4PObyXX1iqy0idKy2uJURQj/lLy7cGmZAWO4GVpDuco8+f8WzH9HA==", "peer": true, "requires": { "ids": "^1.0.0", - "min-dash": "^3.7.0" + "min-dash": "^3.8.1" } }, "camunda-bpmn-moddle": { - "version": "6.1.2", - "resolved": "https://registry.npmjs.org/camunda-bpmn-moddle/-/camunda-bpmn-moddle-6.1.2.tgz", - "integrity": "sha512-DfhOTeq8oN01cB5sLE6Rq34/9xGD15/Y14pEM+YBIjgvV6Rclh+BgIa/2aRMm8An4Kc/itm2tECYiDr8p/FyTQ==", - "peer": true, - "requires": { - "min-dash": "^3.8.1" - } + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/camunda-bpmn-moddle/-/camunda-bpmn-moddle-7.0.1.tgz", + "integrity": "sha512-Br8Diu6roMpziHdpl66Dhnm0DTnCFMrSD9zwLV08LpD52QA0UsXxU87XfHf08HjuB7ly0Hd1bvajZRpf9hbmYQ==", + "peer": true }, "caniuse-lite": { "version": "1.0.30001366", @@ -11848,7 +11966,8 @@ "crelt": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/crelt/-/crelt-1.0.5.tgz", - "integrity": "sha512-+BO9wPPi+DWTDcNYhr/W90myha8ptzftZT+LwcmUbbok0rcP/fequmFYCw8NMoH7pkAZQzU78b3kYrlua5a9eA==" + "integrity": "sha512-+BO9wPPi+DWTDcNYhr/W90myha8ptzftZT+LwcmUbbok0rcP/fequmFYCw8NMoH7pkAZQzU78b3kYrlua5a9eA==", + "peer": true }, "cross-spawn": { "version": "7.0.3", @@ -11943,12 +12062,12 @@ "dev": true }, "diagram-js": { - "version": "8.9.0", - "resolved": "https://registry.npmjs.org/diagram-js/-/diagram-js-8.9.0.tgz", - "integrity": "sha512-577bUEbkwZ7id4SCXcD2qrlKoRPXry2SDSPt5T6tEOjwKrTllKr5d1HZoJzGws4VMQq5fmY51Gce1iFT9S4Dlw==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/diagram-js/-/diagram-js-9.0.0.tgz", + "integrity": "sha512-lZorI/9FlTqUf0l8xzjtd5xnIHkOcpZ/QJpjiuE4YPY05Ikp80O2W/GeS8utSfQkSbPrAjGd5LICpWYLF7adSg==", "requires": { "css.escape": "^1.5.1", - "didi": "^8.0.1", + "didi": "^9.0.0", "hammerjs": "^2.0.1", "inherits-browser": "0.0.1", "min-dash": "^3.5.2", @@ -11958,19 +12077,10 @@ "tiny-svg": "^2.2.2" } }, - "diagram-js-direct-editing": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/diagram-js-direct-editing/-/diagram-js-direct-editing-1.7.0.tgz", - "integrity": "sha512-ZfTLF4hdWr7NSoruwxGvVmu7aVaUjWRXjwgK5dx58LbXAsNjBS3Ap7zjVuGxjWUpCZ/MMwyZ00lpTHPH2P7BFQ==", - "requires": { - "min-dash": "^3.5.2", - "min-dom": "^3.1.3" - } - }, "didi": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/didi/-/didi-8.0.1.tgz", - "integrity": "sha512-7oXiXbp8DHE3FfQsVBkc2pwePo3Jy2uyGS9trAeBmfxiZAP4WV23LWokRpMmyl3hlu8OEAsyMxx19i5P6TVaJQ==" + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/didi/-/didi-9.0.0.tgz", + "integrity": "sha512-bOZ7WAah3t8TxKV81pbIivHjWyABot49YXG1M3QztnUlZDHz3MRNJ1nZO87JbqrkqNI/2GR4ncHfXdGIP9LX+w==" }, "diff": { "version": "5.0.0", @@ -13745,6 +13855,7 @@ "version": "0.4.0", "resolved": "https://registry.npmjs.org/lezer-feel/-/lezer-feel-0.4.0.tgz", "integrity": "sha512-yd+AWsOE4NGVeW4x50HXUA9dKs9MUa7H8PATPNEmBiXKfIijPlC6+FEy8OLjOzb4b9y9pPPpAqnZ2/kvLmvZVw==", + "peer": true, "requires": { "@lezer/lr": "^0.16.0" }, @@ -13752,12 +13863,14 @@ "@lezer/common": { "version": "0.16.1", "resolved": "https://registry.npmjs.org/@lezer/common/-/common-0.16.1.tgz", - "integrity": "sha512-qPmG7YTZ6lATyTOAWf8vXE+iRrt1NJd4cm2nJHK+v7X9TsOF6+HtuU/ctaZy2RCrluxDb89hI6KWQ5LfQGQWuA==" + "integrity": "sha512-qPmG7YTZ6lATyTOAWf8vXE+iRrt1NJd4cm2nJHK+v7X9TsOF6+HtuU/ctaZy2RCrluxDb89hI6KWQ5LfQGQWuA==", + "peer": true }, "@lezer/lr": { "version": "0.16.3", "resolved": "https://registry.npmjs.org/@lezer/lr/-/lr-0.16.3.tgz", "integrity": "sha512-pau7um4eAw94BEuuShUIeQDTf3k4Wt6oIUOYxMmkZgDHdqtIcxWND4LRxi8nI9KuT4I1bXQv67BCapkxt7Ywqw==", + "peer": true, "requires": { "@lezer/common": "^0.16.0" } @@ -15445,7 +15558,8 @@ "style-mod": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/style-mod/-/style-mod-4.0.0.tgz", - "integrity": "sha512-OPhtyEjyyN9x3nhPsu76f52yUGXiZcgvsrFVtvTkyGRQJ0XK+GPc6ov1z+lRpbeabka+MYEQxOYRnt5nF30aMw==" + "integrity": "sha512-OPhtyEjyyN9x3nhPsu76f52yUGXiZcgvsrFVtvTkyGRQJ0XK+GPc6ov1z+lRpbeabka+MYEQxOYRnt5nF30aMw==", + "peer": true }, "supports-color": { "version": "7.2.0", @@ -15469,9 +15583,9 @@ "dev": true }, "terser": { - "version": "5.14.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.14.0.tgz", - "integrity": "sha512-JC6qfIEkPBd9j1SMO3Pfn+A6w2kQV54tv+ABQLgZr7dA3k/DL/OBoYSWxzVpZev3J+bUHXfr55L8Mox7AaNo6g==", + "version": "5.15.0", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.15.0.tgz", + "integrity": "sha512-L1BJiXVmheAQQy+as0oF3Pwtlo4s3Wi1X2zNZ2NxOB4wx9bdS9Vk67XQENLFdLYGCK/Z2di53mTj/hBafR+dTA==", "dev": true, "requires": { "@jridgewell/source-map": "^0.3.2", @@ -15771,7 +15885,8 @@ "w3c-keyname": { "version": "2.2.6", "resolved": "https://registry.npmjs.org/w3c-keyname/-/w3c-keyname-2.2.6.tgz", - "integrity": "sha512-f+fciywl1SJEniZHD6H+kUO8gOnwIr7f4ijKA6+ZvJFjeGi1r4PDLl53Ayud9O/rk64RqgoQine0feoeOU0kXg==" + "integrity": "sha512-f+fciywl1SJEniZHD6H+kUO8gOnwIr7f4ijKA6+ZvJFjeGi1r4PDLl53Ayud9O/rk64RqgoQine0feoeOU0kXg==", + "peer": true }, "watchpack": { "version": "2.4.0", @@ -16001,9 +16116,9 @@ "dev": true }, "zeebe-bpmn-moddle": { - "version": "0.12.1", - "resolved": "https://registry.npmjs.org/zeebe-bpmn-moddle/-/zeebe-bpmn-moddle-0.12.1.tgz", - "integrity": "sha512-rnUoK+A/gzinOGUlmJKeXmnjorgEm4yf7qgeaowXGZOFtFqtM2lvJ7XYTJNsKClaNfFG245JtKHH3G/caJxE6g==", + "version": "0.15.0", + "resolved": "https://registry.npmjs.org/zeebe-bpmn-moddle/-/zeebe-bpmn-moddle-0.15.0.tgz", + "integrity": "sha512-cgn6bjkjrtOGcRumrgWnT1J93wTKmnFlSGGuwGXjF7pOksPF28ssbKiwKVMU6IXHnBDIVLQdf8fVNZn7JiBtQQ==", "peer": true } } diff --git a/package.json b/package.json index b316a51..add7d7c 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,8 @@ "name": "bpmn-js-spiffworkflow", "version": "0.0.9", "description": "Extensions and modifications of BPMN.js to improve BPMN development for SpiffWorkflow", + "main": "dist/bpmn_spiffworkflow.js", + "files": ["dist"], "scripts": { "all": "run-s lint test build", "build": "webpack --mode production", @@ -73,10 +75,9 @@ "webpack-cli": "^4.9.2" }, "dependencies": { - "@bpmn-io/properties-panel": "^0.19.0", - "bpmn-js": "^9.4.0", - "bpmn-js-properties-panel": "^1.5.0", - "diagram-js": "^8.5.0", + "bpmn-js": "^9.4.1", + "bpmn-js-properties-panel": "^1.7.0", + "diagram-js": "^9.0.0", "inherits": "^2.0.4", "inherits-browser": "^0.0.1", "min-dash": "^3.8.1", diff --git a/webpack.config.js b/webpack.config.js index 0774e48..f8752f1 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,49 +1,74 @@ const CopyWebpackPlugin = require('copy-webpack-plugin'); -module.exports = { - entry: { - bundle: ['./app/app.js'] - }, - output: { - path: __dirname + '/public', - filename: 'app.js' - }, - module: { - rules: [ +const myModule = { + rules: [ + { + test: /\.m?js$/, + exclude: /node_modules/, + use: { + loader: 'babel-loader', + options: { + plugins: [ + [ + '@babel/plugin-transform-react-jsx', + { + importSource: '@bpmn-io/properties-panel/preact', + runtime: 'automatic', + }, + ], + ], + }, + }, + }, + { + test: /\.bpmn$/, + use: 'raw-loader', + }, + ], +}; + +const myPlugins = [ + new CopyWebpackPlugin({ + patterns: [ { - test: /\.m?js$/, - exclude: /node_modules/, - use: { - loader: 'babel-loader', - options: { - plugins: [ - [ '@babel/plugin-transform-react-jsx', { - 'importSource': '@bpmn-io/properties-panel/preact', - 'runtime': 'automatic' - } ] - ] - } - } + from: 'assets/**', + to: 'vendor/bpmn-js', + context: 'node_modules/bpmn-js/dist/', }, { - test: /\.bpmn$/, - use: 'raw-loader' - } - ] + from: 'assets/**', + to: 'vendor/bpmn-js-properties-panel', + context: 'node_modules/bpmn-js-properties-panel/dist/', + }, + { from: '**/*.{html,css}', context: 'app/' }, + ], + }), +]; + +module.exports = [ + { + entry: { + bundle: ['./app/spiffworkflow'], + }, + output: { + path: `${__dirname}/dist`, + filename: 'bpmn_spiffworkflow.js', + }, + module: myModule, + mode: 'development', + devtool: 'source-map', }, - plugins: [ - new CopyWebpackPlugin({ - patterns: [ - { from: 'assets/**', to: 'vendor/bpmn-js', context: 'node_modules/bpmn-js/dist/' }, - { - from: 'assets/**', - to: 'vendor/bpmn-js-properties-panel', - context: 'node_modules/bpmn-js-properties-panel/dist/' - }, - {from: '**/*.{html,css}', context: 'app/'} - ] - }) - ], - mode: 'development', - devtool: 'source-map' -}; + { + entry: { + bundle: ['./app/app.js'], + }, + output: { + path: `${__dirname}/public`, + filename: 'app.js', + }, + module: myModule, + plugins: myPlugins, + mode: 'development', + devtool: 'source-map', + }, +];