From 57ba006605ffd2dd436c2ab429e0685436a670f7 Mon Sep 17 00:00:00 2001 From: Jarek Danielak Date: Wed, 6 Nov 2024 18:01:13 +0100 Subject: [PATCH] chore: update to `bpmn-js@18.0.0` --- CHANGELOG.md | 1 + package-lock.json | 151 ++++++++++++++++++++++++++++++---------------- package.json | 2 +- 3 files changed, 101 insertions(+), 53 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 04999ca..c406903 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ All notable changes to [bpmn-js-bpmnlint](https://github.com/bpmn-io/bpmn-js-bpm ___Note:__ Yet to be released changes appear here._ * `CHORE`: update to `diagram-js@15.1.0` +* `CHORE`: update to `bpmn-js@18.0.0` ## 0.22.1 diff --git a/package-lock.json b/package-lock.json index 03a1bde..ed3c26e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,7 @@ "@rollup/plugin-commonjs": "^28.0.0", "@rollup/plugin-node-resolve": "^15.2.3", "@rollup/plugin-terser": "^0.4.4", - "bpmn-js": "^17.0.0", + "bpmn-js": "^18.0.0", "bpmnlint": "^10.0.0", "bpmnlint-loader": "^0.1.6", "chai": "^4.4.1", @@ -1673,42 +1673,70 @@ "dev": true }, "node_modules/bpmn-js": { - "version": "17.0.0", - "resolved": "https://registry.npmjs.org/bpmn-js/-/bpmn-js-17.0.0.tgz", - "integrity": "sha512-ZA2oLAyqfeDHymFo9dmpyWcJDlUujiBJ8fsGDjI7MpZngsoi7wkMSR6c++leMbPUqY5pBZED4MOeclQq17dIGw==", + "version": "18.0.0", + "resolved": "https://registry.npmjs.org/bpmn-js/-/bpmn-js-18.0.0.tgz", + "integrity": "sha512-eZR4hqk2BT0m9jAGGtp/f1TD0m7LXXKfYle99q75d+NjSmxetIuvxGn48S9W+H8arJ7vgsls2GELzXoDuEE0eg==", "dev": true, "dependencies": { - "bpmn-moddle": "^8.1.0", - "diagram-js": "^14.0.0", - "diagram-js-direct-editing": "^2.1.1", + "bpmn-moddle": "^9.0.1", + "diagram-js": "^15.1.0", + "diagram-js-direct-editing": "^3.2.0", "ids": "^1.0.5", "inherits-browser": "^0.1.0", "min-dash": "^4.1.1", - "min-dom": "^4.0.3", - "tiny-svg": "^3.0.0" + "min-dom": "^4.2.1", + "tiny-svg": "^3.1.2" }, "engines": { "node": "*" } }, - "node_modules/bpmn-js/node_modules/diagram-js": { - "version": "14.11.3", - "resolved": "https://registry.npmjs.org/diagram-js/-/diagram-js-14.11.3.tgz", - "integrity": "sha512-Seq9BHAXfzKS60L4v4Gvgvv72wOtvrfJQAyyPm9pntSZDMzjoodPSXnEUPud1G2zVCMGEUUW++s0reEdaWgkXA==", + "node_modules/bpmn-js/node_modules/bpmn-moddle": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/bpmn-moddle/-/bpmn-moddle-9.0.1.tgz", + "integrity": "sha512-jO2P5RBx0cZCCd+imqhpNE5anttaYuGd71u76NEA/qMZwJSW1t5ETAtw9/E2InfiPU2w0TR8oxPyopJXRc9VQg==", "dev": true, "dependencies": { - "@bpmn-io/diagram-js-ui": "^0.2.3", - "clsx": "^2.1.0", - "didi": "^10.2.2", - "inherits-browser": "^0.1.0", - "min-dash": "^4.1.0", - "min-dom": "^4.2.1", - "object-refs": "^0.4.0", - "path-intersection": "^3.0.0", - "tiny-svg": "^3.1.2" + "min-dash": "^4.2.1", + "moddle": "^7.0.0", + "moddle-xml": "^11.0.0" }, "engines": { - "node": "*" + "node": ">= 18" + } + }, + "node_modules/bpmn-js/node_modules/moddle": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/moddle/-/moddle-7.0.0.tgz", + "integrity": "sha512-Hpte2hfKDwoZWPvDngsEHjloPnO+sKMUVkAPc0r9PrpnVLqsyPUTV0ZQU8CAp87YmRZ9QzeQMJxdKbaP9vEIKA==", + "dev": true, + "dependencies": { + "min-dash": "^4.2.1" + } + }, + "node_modules/bpmn-js/node_modules/moddle-xml": { + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/moddle-xml/-/moddle-xml-11.0.0.tgz", + "integrity": "sha512-L3Sseepfcq9Uy0iIfqEDTXSoYLva1Y/JGbN/4AMOeQ6cqbu8Ma/SDJIdOFm7smsAa64j2z3SwCGG3FIilQVnUg==", + "dev": true, + "dependencies": { + "min-dash": "^4.0.0", + "saxen": "^10.0.0" + }, + "engines": { + "node": ">= 18" + }, + "peerDependencies": { + "moddle": ">= 6.2.0" + } + }, + "node_modules/bpmn-js/node_modules/saxen": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/saxen/-/saxen-10.0.0.tgz", + "integrity": "sha512-RXsmWok/SAWqOG/f5ADEz51DN9WtZEzqih3e08ranldcaXekxjx8NBKjGh/y5hlowjo0JH/LekBu6gtPFD1G6g==", + "dev": true, + "engines": { + "node": ">= 18" } }, "node_modules/bpmn-moddle": { @@ -2573,13 +2601,13 @@ } }, "node_modules/diagram-js-direct-editing": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/diagram-js-direct-editing/-/diagram-js-direct-editing-2.1.1.tgz", - "integrity": "sha512-XuNWIpcuUMayp/MZhNRLyJT7zikSvGr8RZWNrHsDpwOIjoRgfYmmJp8WRFCIflMSBHjFg62sqLNM/nXRKrZ2qw==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/diagram-js-direct-editing/-/diagram-js-direct-editing-3.2.0.tgz", + "integrity": "sha512-+pyxeQGBSdLiZX0/tmmsm2qZSvm9YtVzod5W3RMHSTR7VrkUMD6E7EX/W9JQv3ebxO7oIdqFmytmNDDpSHnYEw==", "dev": true, "dependencies": { "min-dash": "^4.0.0", - "min-dom": "^4.0.2" + "min-dom": "^4.2.1" }, "engines": { "node": "*" @@ -9161,37 +9189,56 @@ } }, "bpmn-js": { - "version": "17.0.0", - "resolved": "https://registry.npmjs.org/bpmn-js/-/bpmn-js-17.0.0.tgz", - "integrity": "sha512-ZA2oLAyqfeDHymFo9dmpyWcJDlUujiBJ8fsGDjI7MpZngsoi7wkMSR6c++leMbPUqY5pBZED4MOeclQq17dIGw==", + "version": "18.0.0", + "resolved": "https://registry.npmjs.org/bpmn-js/-/bpmn-js-18.0.0.tgz", + "integrity": "sha512-eZR4hqk2BT0m9jAGGtp/f1TD0m7LXXKfYle99q75d+NjSmxetIuvxGn48S9W+H8arJ7vgsls2GELzXoDuEE0eg==", "dev": true, "requires": { - "bpmn-moddle": "^8.1.0", - "diagram-js": "^14.0.0", - "diagram-js-direct-editing": "^2.1.1", + "bpmn-moddle": "^9.0.1", + "diagram-js": "^15.1.0", + "diagram-js-direct-editing": "^3.2.0", "ids": "^1.0.5", "inherits-browser": "^0.1.0", "min-dash": "^4.1.1", - "min-dom": "^4.0.3", - "tiny-svg": "^3.0.0" + "min-dom": "^4.2.1", + "tiny-svg": "^3.1.2" }, "dependencies": { - "diagram-js": { - "version": "14.11.3", - "resolved": "https://registry.npmjs.org/diagram-js/-/diagram-js-14.11.3.tgz", - "integrity": "sha512-Seq9BHAXfzKS60L4v4Gvgvv72wOtvrfJQAyyPm9pntSZDMzjoodPSXnEUPud1G2zVCMGEUUW++s0reEdaWgkXA==", + "bpmn-moddle": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/bpmn-moddle/-/bpmn-moddle-9.0.1.tgz", + "integrity": "sha512-jO2P5RBx0cZCCd+imqhpNE5anttaYuGd71u76NEA/qMZwJSW1t5ETAtw9/E2InfiPU2w0TR8oxPyopJXRc9VQg==", + "dev": true, + "requires": { + "min-dash": "^4.2.1", + "moddle": "^7.0.0", + "moddle-xml": "^11.0.0" + } + }, + "moddle": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/moddle/-/moddle-7.0.0.tgz", + "integrity": "sha512-Hpte2hfKDwoZWPvDngsEHjloPnO+sKMUVkAPc0r9PrpnVLqsyPUTV0ZQU8CAp87YmRZ9QzeQMJxdKbaP9vEIKA==", + "dev": true, + "requires": { + "min-dash": "^4.2.1" + } + }, + "moddle-xml": { + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/moddle-xml/-/moddle-xml-11.0.0.tgz", + "integrity": "sha512-L3Sseepfcq9Uy0iIfqEDTXSoYLva1Y/JGbN/4AMOeQ6cqbu8Ma/SDJIdOFm7smsAa64j2z3SwCGG3FIilQVnUg==", "dev": true, "requires": { - "@bpmn-io/diagram-js-ui": "^0.2.3", - "clsx": "^2.1.0", - "didi": "^10.2.2", - "inherits-browser": "^0.1.0", - "min-dash": "^4.1.0", - "min-dom": "^4.2.1", - "object-refs": "^0.4.0", - "path-intersection": "^3.0.0", - "tiny-svg": "^3.1.2" + "min-dash": "^4.0.0", + "saxen": "^10.0.0" } + }, + "saxen": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/saxen/-/saxen-10.0.0.tgz", + "integrity": "sha512-RXsmWok/SAWqOG/f5ADEz51DN9WtZEzqih3e08ranldcaXekxjx8NBKjGh/y5hlowjo0JH/LekBu6gtPFD1G6g==", + "dev": true } } }, @@ -9797,13 +9844,13 @@ } }, "diagram-js-direct-editing": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/diagram-js-direct-editing/-/diagram-js-direct-editing-2.1.1.tgz", - "integrity": "sha512-XuNWIpcuUMayp/MZhNRLyJT7zikSvGr8RZWNrHsDpwOIjoRgfYmmJp8WRFCIflMSBHjFg62sqLNM/nXRKrZ2qw==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/diagram-js-direct-editing/-/diagram-js-direct-editing-3.2.0.tgz", + "integrity": "sha512-+pyxeQGBSdLiZX0/tmmsm2qZSvm9YtVzod5W3RMHSTR7VrkUMD6E7EX/W9JQv3ebxO7oIdqFmytmNDDpSHnYEw==", "dev": true, "requires": { "min-dash": "^4.0.0", - "min-dom": "^4.0.2" + "min-dom": "^4.2.1" } }, "didi": { diff --git a/package.json b/package.json index e8032e2..0600ecf 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "@rollup/plugin-commonjs": "^28.0.0", "@rollup/plugin-node-resolve": "^15.2.3", "@rollup/plugin-terser": "^0.4.4", - "bpmn-js": "^17.0.0", + "bpmn-js": "^18.0.0", "bpmnlint": "^10.0.0", "bpmnlint-loader": "^0.1.6", "chai": "^4.4.1",