From 912de6950478a7bb940e385564a40e1b9620cd3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A5l=20Edman?= Date: Fri, 14 Jun 2024 12:19:52 +0200 Subject: [PATCH] allow bpmn-elements@>=14 --- CHANGELOG.md | 4 ++++ eslint.config.js | 1 + package.json | 5 +++-- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fd3cece..06f4738 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ # unreleased +# 8.2.0 + +- allow bpmn-elements@>=14 since bpmn-elements has moved beyond 14, and the tests still work + # 8.1.0 - process history time to live negative and zero days both result in time duration `P0D` diff --git a/eslint.config.js b/eslint.config.js index 3ef8ff7..badba38 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -43,6 +43,7 @@ const rules = { 'no-undef': 2, 'no-underscore-dangle': 0, 'no-unused-expressions': 2, + 'no-unused-vars': 2, 'no-use-before-define': 0, 'no-var': 0, 'no-with': 2, diff --git a/package.json b/package.json index 9d0755a..0de3bc5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@onify/flow-extensions", - "version": "8.1.0", + "version": "8.2.0", "description": "Onify Flow extensions", "type": "module", "module": "src/index.js", @@ -50,6 +50,7 @@ "@babel/core": "^7.23.9", "@babel/preset-env": "^7.23.9", "@babel/register": "^7.23.7", + "bpmn-elements": "^15.0.1", "bpmn-elements-8-1": "npm:bpmn-elements@8.1", "bpmn-engine": "^21.1.0", "bpmn-engine-14": "npm:bpmn-engine@14", @@ -68,7 +69,7 @@ "texample": "^0.0.5" }, "peerDependencies": { - "bpmn-elements": "^14.1.0" + "bpmn-elements": ">=14" }, "dependencies": { "@0dep/piso": "^0.1.4",