@bpmn-io/dmn-migrate
Advanced tools
Comparing version 0.4.1 to 0.4.2
@@ -9,2 +9,6 @@ # Changelog | ||
## 0.4.2 | ||
* `FIX`: generate semantic ids for DMNDI elements | ||
## 0.4.1 | ||
@@ -11,0 +15,0 @@ |
@@ -176,7 +176,7 @@ import DmnModdle from 'dmn-moddle'; | ||
if (is(element, 'dmndi:DMNDiagramElement')) { | ||
element.id = element.dmnElementRef.id + '_di'; | ||
} | ||
if (isAny(element, [ 'dmn:DMNElement', 'dmndi:DMNDiagram' ])) { | ||
if (isAny(element, [ | ||
'dmn:DMNElement', | ||
'dmndi:DMNDiagram', | ||
'dmndi:DMNDiagramElement' | ||
])) { | ||
element.id = ids.nextPrefixed(element.$type.split(':')[1] + '_', element); | ||
@@ -183,0 +183,0 @@ } |
@@ -182,7 +182,7 @@ 'use strict'; | ||
if (is(element, 'dmndi:DMNDiagramElement')) { | ||
element.id = element.dmnElementRef.id + '_di'; | ||
} | ||
if (isAny(element, [ 'dmn:DMNElement', 'dmndi:DMNDiagram' ])) { | ||
if (isAny(element, [ | ||
'dmn:DMNElement', | ||
'dmndi:DMNDiagram', | ||
'dmndi:DMNDiagramElement' | ||
])) { | ||
element.id = ids.nextPrefixed(element.$type.split(':')[1] + '_', element); | ||
@@ -189,0 +189,0 @@ } |
{ | ||
"name": "@bpmn-io/dmn-migrate", | ||
"version": "0.4.1", | ||
"version": "0.4.2", | ||
"description": "Migrate DMN diagrams to the latest DMN standard.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
741
22524