
Research
/Security News
Toptal’s GitHub Organization Hijacked: 10 Malicious Packages Published
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
[](https://travis-ci.org/bpmn-io/bpmnlint)
Validate and improve your BPMN diagrams.
npm install -s bpmnlint
Or:
yarn add bpmnlint
// .bpmnlintrc file
{
"rules": {
"label-required": "warn",
"start-event-required": "error",
"end-event-required": "error"
}
}
bpmnlint ./sample.bpmn
// some-config.json file
{
"rules": {
"label-required": "warn",
"start-event-required": "error",
"end-event-required": "error"
}
}
bpmnlint ./sample.bpmn -c some-config.json
or
bpmnlint ./sample.bpmn --config some-config.json
Note: For more information about the possible flags, run bpmnlint with the --help flag.
The configuration file is a JSON object where the keys represent the rule names and their values provide information about these rules.
These values can be specified in an implicit or explicit way.
Note: bpmnlint comes with a list of built-in rules: label-required, start-event-required, and end-event-required.
If the specified value for a rule is a number, it will hold the rule status flag:
{
"rules": {
"label-required": "warn"
}
}
bpmnlint will then look for the rule first in the built-in rules. If not found, bpmnlint will look for the rule in the npm packages installed as **bpmn-**rule-name (e.g. bpmn-no-implicit-parallel-gateway).
Important: if you're referring to a non built-in rule, make sure to have it installed as an npm dependency.
If the specified value for a rule is an object, it will hold the following information:
{
"plugins": [
"custom-rules"
],
"rules": {
"custom-rules/some-custom-rule": "error"
}
}
Important: The rule needs to have a suffix of 'bpmnlint-'.
Custom rules can be added in two ways:
Please check out the example of no-implicit-parallel-gateway
{
"plugins": [
"custom-rules"
],
"rules": {
"custom-rules/some-custom-rule": "error"
}
}
Please check out bpmn-js-bpmnlint.
1.0.0-alpha5
Initial stable release.
FEAT
: configure, resolve and execute local and external rulesFEAT
: extend external configuration via extends
FEAT
: make rule and configuration resolution asyncFEAT
: provide bpmnlint:recommended
configurationCHORE
: linter
is now a constructor, offering a #lint(moddleElement, config)
methodCHORE
: moved library to bpmn-io/bpmnlintCHORE
: full rewrite of internalsCHORE
: utils
API changeCheck git log
for earlier history.
FAQs
Validate your BPMN diagrams based on configurable lint rules
We found that bpmnlint demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 11 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
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
Research
/Security News
Socket researchers investigate 4 malicious npm and PyPI packages with 56,000+ downloads that install surveillance malware.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.