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

bpmn-js-token-simulation

Package Overview
Dependencies
Maintainers
0
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bpmn-js-token-simulation - npm Package Compare versions

Comparing version 0.35.0 to 0.35.1

31

lib/simulator/behaviors/EventBehaviors.js

@@ -134,3 +134,5 @@ import {

// HINT: errors are handled in current scope only (does not bubble)
// HINT: errors are propagated up the scope
// chain and caught by the first matching boundary event
// or event sub-process

@@ -142,10 +144,27 @@ const {

const scopes = this._simulator.findScopes({
subscribedTo: {
event: element
},
trait: ScopeTraits.ACTIVE
});
let triggerScope = scope;
// TODO(nikku): ensure error always interrupts, also if no error
// catch is present
this._simulator.trigger({
event: element,
initiator: scope,
scope: findSubscriptionScope(scope)
});
while ((triggerScope = triggerScope.parent)) {
if (scopes.includes(triggerScope)) {
this._simulator.trigger({
event: element,
scope: triggerScope,
initiator: scope
});
break;
}
}
},
'bpmn:TerminateEventDefinition': (context) => {

@@ -152,0 +171,0 @@ const {

2

package.json
{
"name": "bpmn-js-token-simulation",
"version": "0.35.0",
"version": "0.35.1",
"description": "bpmn-js token simulation extension",

@@ -5,0 +5,0 @@ "module": "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