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.2 to 0.4.3

4

CHANGELOG.md

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

## 0.4.3
* `FIX`: gracefully handle missing `biodi:Edge#source` ([#18](https://github.com/bpmn-io/dmn-migrate/issues/18))
## 0.4.2

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

10

dist/index.esm.js

@@ -364,2 +364,10 @@ import DmnModdle from 'dmn-moddle';

if (is(extensionElement, 'biodi:Edge')) {
const dmnElementRef = getDMNElementRef(semantic, extensionElement.get('source'));
// referenced DMN element does not exist,
// we can happily ignore this: https://github.com/bpmn-io/dmn-migrate/issues/18
if (!dmnElementRef) {
return;
}
const waypoints = extensionElement.get('waypoints').map(waypoint => {

@@ -372,4 +380,2 @@ return moddle.create('dc:Point', {

const dmnElementRef = getDMNElementRef(semantic, extensionElement.get('source'));
const edge = moddle.create('dmndi:DMNEdge', {

@@ -376,0 +382,0 @@ dmnElementRef,

@@ -370,2 +370,10 @@ 'use strict';

if (is(extensionElement, 'biodi:Edge')) {
const dmnElementRef = getDMNElementRef(semantic, extensionElement.get('source'));
// referenced DMN element does not exist,
// we can happily ignore this: https://github.com/bpmn-io/dmn-migrate/issues/18
if (!dmnElementRef) {
return;
}
const waypoints = extensionElement.get('waypoints').map(waypoint => {

@@ -378,4 +386,2 @@ return moddle.create('dc:Point', {

const dmnElementRef = getDMNElementRef(semantic, extensionElement.get('source'));
const edge = moddle.create('dmndi:DMNEdge', {

@@ -382,0 +388,0 @@ dmnElementRef,

{
"name": "@bpmn-io/dmn-migrate",
"version": "0.4.2",
"version": "0.4.3",
"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