New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@5minds/processcube_engine_sdk

Package Overview
Dependencies
Maintainers
4
Versions
950
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@5minds/processcube_engine_sdk - npm Package Compare versions

Comparing version 4.0.0-feature-0666f6-llf4dbyw to 4.0.0-feature-0ef217-llf6ecre

13

dist/amd/ProcessModel/ProcessModelParser/Parser/LoopMarkerParser.js

@@ -1,2 +0,2 @@

define(["require", "exports", "../../Model", "../../Model/Base", "../TypeFactory"], function (require, exports, Model_1, Base_1, TypeFactory_1) {
define(["require", "exports", "../../Model", "../../Model/Base"], function (require, exports, Model_1, Base_1) {
"use strict";

@@ -6,10 +6,9 @@ Object.defineProperty(exports, "__esModule", { value: true });

function parseLoopMarker(rawData) {
const possibleLoopMarker = (0, TypeFactory_1.getModelPropertyAsArray)(rawData, Model_1.BpmnTags.LoopMarkers.Loop);
const possibleMultiInstanceMarker = (0, TypeFactory_1.getModelPropertyAsArray)(rawData, Model_1.BpmnTags.LoopMarkers.MultiInstance);
if (possibleLoopMarker && possibleLoopMarker.length > 0) {
const possibleLoopMarker = rawData[Model_1.BpmnTags.LoopMarkers.Loop];
const possibleMultiInstanceMarker = rawData[Model_1.BpmnTags.LoopMarkers.MultiInstance];
if (possibleLoopMarker != null) {
return Base_1.LoopMarker.Loop;
}
if (possibleMultiInstanceMarker && possibleMultiInstanceMarker.length > 0) {
const multiInstanceMarker = possibleMultiInstanceMarker[0];
return multiInstanceMarker.isSequential == 'true' ? Base_1.LoopMarker.Sequential : Base_1.LoopMarker.Parallel;
if (possibleMultiInstanceMarker != null) {
return possibleMultiInstanceMarker.isSequential == 'true' ? Base_1.LoopMarker.Sequential : Base_1.LoopMarker.Parallel;
}

@@ -16,0 +15,0 @@ return undefined;

@@ -6,12 +6,10 @@ "use strict";

const Base_1 = require("../../Model/Base");
const TypeFactory_1 = require("../TypeFactory");
function parseLoopMarker(rawData) {
const possibleLoopMarker = (0, TypeFactory_1.getModelPropertyAsArray)(rawData, Model_1.BpmnTags.LoopMarkers.Loop);
const possibleMultiInstanceMarker = (0, TypeFactory_1.getModelPropertyAsArray)(rawData, Model_1.BpmnTags.LoopMarkers.MultiInstance);
if (possibleLoopMarker && possibleLoopMarker.length > 0) {
const possibleLoopMarker = rawData[Model_1.BpmnTags.LoopMarkers.Loop];
const possibleMultiInstanceMarker = rawData[Model_1.BpmnTags.LoopMarkers.MultiInstance];
if (possibleLoopMarker != null) {
return Base_1.LoopMarker.Loop;
}
if (possibleMultiInstanceMarker && possibleMultiInstanceMarker.length > 0) {
const multiInstanceMarker = possibleMultiInstanceMarker[0];
return multiInstanceMarker.isSequential == 'true' ? Base_1.LoopMarker.Sequential : Base_1.LoopMarker.Parallel;
if (possibleMultiInstanceMarker != null) {
return possibleMultiInstanceMarker.isSequential == 'true' ? Base_1.LoopMarker.Sequential : Base_1.LoopMarker.Parallel;
}

@@ -18,0 +16,0 @@ return undefined;

{
"name": "@5minds/processcube_engine_sdk",
"version": "4.0.0-feature-0666f6-llf4dbyw",
"version": "4.0.0-feature-0ef217-llf6ecre",
"description": "Software development kit for the Engine.",

@@ -5,0 +5,0 @@ "main": "dist/commonjs/index.js",

Sorry, the diff of this file is not supported yet

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