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

bpmn-js

Package Overview
Dependencies
Maintainers
9
Versions
344
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bpmn-js - npm Package Compare versions

Comparing version 13.0.5 to 13.0.6

6

lib/features/auto-place/BpmnAutoPlaceUtil.js

@@ -16,2 +16,4 @@ import { is } from '../../util/ModelUtil';

import { isConnection } from 'diagram-js/lib/util/ModelUtil';
/**

@@ -173,6 +175,2 @@ * @typedef {import('../../model/Types').Shape} Shape

return findFreePosition(source, element, position, generateGetNextPosition(nextPositionDirection));
}
function isConnection(element) {
return !!element.waypoints;
}

@@ -193,2 +193,2 @@ import {

'moddleCopy'
];
];

@@ -18,2 +18,4 @@ import inherits from 'inherits-browser';

import { isConnection } from 'diagram-js/lib/util/ModelUtil';
/**

@@ -233,6 +235,2 @@ * @typedef {import('diagram-js/lib/core/Canvas').default} Canvas

function isConnection(element) {
return !!element.waypoints;
}
function findParticipant(elements) {

@@ -239,0 +237,0 @@ return find(elements, function(element) {

@@ -17,2 +17,4 @@ import {

import { isConnection } from 'diagram-js/lib/util/ModelUtil';
/**

@@ -148,6 +150,2 @@ * @typedef {import('diagram-js/lib/command/CommandHandler').default} CommandHandler

function isConnection(element) {
return !!element.waypoints;
}
/**

@@ -154,0 +152,0 @@ * Add legacy properties if required.

@@ -39,2 +39,4 @@ import {

import { isConnection } from 'diagram-js/lib/util/ModelUtil';
/**

@@ -493,11 +495,2 @@ * @typedef {import('diagram-js/lib/core/EventBus').default} EventBus

*
* @return {boolean}
*/
function isConnection(element) {
return element.waypoints;
}
/**
* @param {Element} element
*
* @return {Shape[]}

@@ -504,0 +497,0 @@ */

@@ -62,9 +62,2 @@ /**

*/
export function isLabel(element: Element): boolean;
/**
* @param element
*
* @return
*/
export function getLabel(element: Element): string;

@@ -80,2 +73,4 @@

export { isLabel } from "diagram-js/lib/util/ModelUtil";
export namespace DEFAULT_LABEL_SIZE {

@@ -82,0 +77,0 @@ const width: number;

@@ -7,2 +7,6 @@ import {

import { isLabel } from 'diagram-js/lib/util/ModelUtil';
export { isLabel } from 'diagram-js/lib/util/ModelUtil';
/**

@@ -175,11 +179,2 @@ * @typedef {import('diagram-js/lib/util/Types').Point} Point

/**
* @param {Element} element
*
* @return {boolean}
*/
export function isLabel(element) {
return element && !!element.labelTarget;
}
/**
* @param {ModdleElement} semantic

@@ -186,0 +181,0 @@ *

{
"name": "bpmn-js",
"version": "13.0.5",
"version": "13.0.6",
"description": "A bpmn 2.0 toolkit and web modeler",

@@ -64,3 +64,3 @@ "main": "index.js",

"@babel/core": "^7.20.2",
"@rollup/plugin-commonjs": "^24.0.1",
"@rollup/plugin-commonjs": "^25.0.0",
"@rollup/plugin-json": "^6.0.0",

@@ -99,3 +99,3 @@ "@rollup/plugin-node-resolve": "^15.0.1",

"npm-run-all": "^4.1.2",
"puppeteer": "^19.4.1",
"puppeteer": "^20.0.0",
"remark-cli": "^11.0.0",

@@ -102,0 +102,0 @@ "remark-preset-bpmn-io": "^0.2.1",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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