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
7
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.9.1 to 0.10.0

docs/screenshot.png

5

CHANGELOG.md

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

## 0.10.0
* `CHORE`: update colors
* `CHORE`: update to `bpmn-js@7`
## 0.9.1

@@ -11,0 +16,0 @@

4

lib/animation/Animation.js

@@ -20,2 +20,4 @@ 'use strict';

var STROKE_COLOR = getComputedStyle(document.documentElement).getPropertyValue('--token-simulation-green-base-44');
function isFirstSegment(index) {

@@ -176,3 +178,3 @@ return index === 1;

.circle(TOKEN_SIZE, TOKEN_SIZE)
.attr('fill', '#52b415')
.attr('fill', STROKE_COLOR)
.attr('class', 'circle');

@@ -179,0 +181,0 @@

@@ -8,3 +8,4 @@ 'use strict';

var NO_CONFIGURATION_COLOR = '#999';
var NOT_SELECTED_COLOR = getComputedStyle(document.documentElement).getPropertyValue('--token-simulation-grey-lighten-56'),
SELECTED_COLOR = getComputedStyle(document.documentElement).getPropertyValue('--token-simulation-grey-darken-30');

@@ -106,5 +107,5 @@ function getNext(gateway) {

if (outgoing === gateway.sequenceFlow) {
self.setColor(outgoing, '#000');
self.setColor(outgoing, SELECTED_COLOR);
} else {
self.setColor(outgoing, NO_CONFIGURATION_COLOR);
self.setColor(outgoing, NOT_SELECTED_COLOR);
}

@@ -111,0 +112,0 @@ });

@@ -17,2 +17,5 @@ 'use strict';

var FILL_COLOR = getComputedStyle(document.documentElement).getPropertyValue('--token-simulation-silver-base-97'),
STROKE_COLOR = getComputedStyle(document.documentElement).getPropertyValue('--token-simulation-green-base-44');
function isNull(value) {

@@ -159,3 +162,3 @@ return value === null;

ShowProcessInstance.prototype.addHighlightToProcess = function(element) {
this.setColor(element, '#52b415', '#ecfbe3');
this.setColor(element, STROKE_COLOR, FILL_COLOR);

@@ -162,0 +165,0 @@ if (!element.parent) {

{
"name": "bpmn-js-token-simulation",
"version": "0.9.1",
"version": "0.10.0",
"description": "bpmn-js token simulation extension",

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

"bpmn-font": "^0.8.0",
"bpmn-js": "^3.0.4",
"bpmn-js": "^7.2.0",
"chai": "^4.2.0",

@@ -43,0 +43,0 @@ "copy-webpack-plugin": "^4.5.2",

@@ -9,3 +9,3 @@ > Looking for the Camunda Modeler Plugin? Get it [here](https://github.com/philippfromme/bpmn-js-token-simulation-plugin)!

![Screencast](docs/screencast.gif)
![Screencast](docs/screenshot.png)

@@ -12,0 +12,0 @@ ## Installation

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