Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
zeebe-bpmn-moddle
Advanced tools
This project defines the Zeebe namespace extensions for BPMN 2.0 as a moddle descriptor.
Use it together with bpmn-moddle to validate Zeebe BPMN 2.0 extensions.
var BpmnModdle = require('bpmn-moddle');
var zeebeModdle = require('zeebe-bpmn-moddle/resources/zeebe.json');
var moddle = new BpmnModdle({ zeebe: zeebeModdle });
var taskDefinition = moddle.create('zeebe:TaskDefinition', {
type: 'payment-service',
retries: '5'
});
var serviceTask = moddle.create('bpmn:ServiceTask', {
extensionElements: [ taskDefinition ]
});
Execute the test via
npm test
Perform a complete build of the application via
npm run all
We include an extension that makes bpmn-js copy and replace mechanisms aware of Zeebe properties.
var BpmnJS = require('bpmn-js/lib/Modeler'),
zeebeExtensionModule = require('zeebe-bpmn-moddle/lib'),
zeebeModdle = require('zeebe-bpmn-moddle/resources/zeebe');
var modeler = new BpmnJS({
additionalModules: [
zeebeExtensionModule
],
moddleExtensions: {
zeebe: zeebeModdle
}
});
This extension hooks into the copy mechanism provided by the BPMN editor and ensures Zeebe properties are kept and or dropped on copy and element replace.
Use under the terms of the MIT license.
FAQs
Zeebe moddle extensions for BPMN 2.0
The npm package zeebe-bpmn-moddle receives a total of 3,047 weekly downloads. As such, zeebe-bpmn-moddle popularity was classified as popular.
We found that zeebe-bpmn-moddle demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.