Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@bpmn-io/dmn-migrate

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bpmn-io/dmn-migrate - npm Package Compare versions

Comparing version 0.4.1 to 0.4.2

4

CHANGELOG.md

@@ -9,2 +9,6 @@ # Changelog

## 0.4.2
* `FIX`: generate semantic ids for DMNDI elements
## 0.4.1

@@ -11,0 +15,0 @@

10

dist/index.esm.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc