@process-analytics/bpmn-visualization-addons 0.9.0 → 0.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/bpmn-elements.js +2 -0
- package/package.json +11 -13
package/lib/bpmn-elements.js
CHANGED
|
@@ -13,6 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
13
13
|
See the License for the specific language governing permissions and
|
|
14
14
|
limitations under the License.
|
|
15
15
|
*/
|
|
16
|
+
// eslint-disable-next-line unicorn/prevent-abbreviations -- ShapeUtil is a common name in bpmn-visualization, and changing it would break compatibility
|
|
16
17
|
import { FlowKind, ShapeBpmnElementKind, ShapeUtil as BaseShapeUtil } from 'bpmn-visualization';
|
|
17
18
|
const allBpmnElementKinds = [...Object.values(ShapeBpmnElementKind), ...Object.values(FlowKind)];
|
|
18
19
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
@@ -115,6 +116,7 @@ export class BpmnElementsIdentifier {
|
|
|
115
116
|
return false;
|
|
116
117
|
}
|
|
117
118
|
}
|
|
119
|
+
// eslint-disable-next-line unicorn/prevent-abbreviations -- ShapeUtil is a common name in bpmn-visualization, and changing it would break compatibility
|
|
118
120
|
export class ShapeUtil extends BaseShapeUtil {
|
|
119
121
|
static isBpmnArtifact(kind) {
|
|
120
122
|
return kind === ShapeBpmnElementKind.GROUP || kind === ShapeBpmnElementKind.TEXT_ANNOTATION;
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@process-analytics/bpmn-visualization-addons",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
7
|
-
"description": "
|
|
7
|
+
"description": "Add-ons for bpmn-visualization",
|
|
8
8
|
"keywords": [
|
|
9
9
|
"analytics",
|
|
10
10
|
"bpmn",
|
|
@@ -46,19 +46,17 @@
|
|
|
46
46
|
"test-check": "tsc --noEmit --project tsconfig.test.json"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
|
-
"bpmn-visualization": ">=0.42.0"
|
|
49
|
+
"bpmn-visualization": ">=0.42.0 <0.48.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@jest/globals": "~30.0
|
|
53
|
-
"@swc/core": "~1.
|
|
54
|
-
"@swc/jest": "~0.2.
|
|
55
|
-
"@testing-library/jest-dom": "~6.
|
|
56
|
-
"cross-env": "~
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"jest": "~30.0.1",
|
|
60
|
-
"jest-environment-jsdom": "~30.0.1",
|
|
52
|
+
"@jest/globals": "~30.2.0",
|
|
53
|
+
"@swc/core": "~1.15.11",
|
|
54
|
+
"@swc/jest": "~0.2.39",
|
|
55
|
+
"@testing-library/jest-dom": "~6.9.1",
|
|
56
|
+
"cross-env": "~10.1.0",
|
|
57
|
+
"jest": "~30.2.0",
|
|
58
|
+
"jest-environment-jsdom": "~30.2.0",
|
|
61
59
|
"npm-run-all": "~4.1.5",
|
|
62
|
-
"rimraf": "~6.
|
|
60
|
+
"rimraf": "~6.1.2"
|
|
63
61
|
}
|
|
64
62
|
}
|