Socket
Socket
Sign inDemoInstall

bpmnlint

Package Overview
Dependencies
6
Maintainers
3
Versions
60
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.0.0 to 6.1.0

6

CHANGELOG.md

@@ -9,5 +9,9 @@ # Changelog

## 6.1.0
* `FEAT`: resolve local rules in plug-ins without prefix ([`640e411a`](https://github.com/bpmn-io/bpmnlint/commit/ 640e411ac8c6045198bd09b79b5c53c6e29e251c))
## 6.0.0
* `FEAT`: resolve plug-in provided rules/configuration local to working directory
* `FEAT`: resolve plug-in provided rules/configuration local to working directory ([`f1bf331f`](https://github.com/bpmn-io/bpmnlint/commit/f1bf331f4bcece62de16da34bb3f8fda08182fbc))
* `CHORE`: improve errors on rule/plugin resolution failures

@@ -14,0 +18,0 @@ * `CHORE`: require `>= node@10.12`

@@ -345,2 +345,4 @@ const testRule = require('./test-rule');

const rulePrefix = pkg.startsWith('bpmnlint-plugin-') && pkg.replace('bpmnlint-plugin-', '');
const validatedRules = Object.keys(rules).reduce((normalizedRules, name) => {

@@ -350,5 +352,13 @@

// prefix local rule definition
if (name.indexOf('bpmnlint/') === 0) {
name = name.substring('bpmnlint/'.length);
// drop bpmnlint prefix, if existing
if (name.startsWith('bpmnlint/')) {
name = name.replace('bpmnlint/', '');
} else
if (rulePrefix) {
// prefix local rule definition
if (!name.startsWith(rulePrefix)) {
name = `${rulePrefix}/${name}`;
}
}

@@ -355,0 +365,0 @@

2

package.json
{
"name": "bpmnlint",
"description": "Validate your BPMN diagrams based on configurable lint rules",
"version": "6.0.0",
"version": "6.1.0",
"main": "lib/index.js",

@@ -6,0 +6,0 @@ "keywords": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc