Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
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.
0.7.1
FIX
: correctly encode HTML entities in extension properties (#12)FAQs
Zeebe moddle extensions for BPMN 2.0
The npm package zeebe-bpmn-moddle receives a total of 4,403 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 found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.