Socket
Socket
Sign inDemoInstall

bpmnlint

Package Overview
Dependencies
Maintainers
3
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bpmnlint - npm Package Compare versions

Comparing version 3.2.1 to 3.3.0

8

CHANGELOG.md

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

## 3.3.0
* `FEAT`: do not expose disabled rules when bundling `.bpmnlintrc`
## 3.2.1
* `DOCS`: fix readme code snippet
## 3.2.0

@@ -11,0 +19,0 @@

19

lib/support/compile-config.js

@@ -21,4 +21,17 @@ const Linter = require('../linter');

const serializedRules = JSON.stringify(resolvedRules, null, ' ');
// only process and serialize enabled rules
const enabledRules = Object.keys(resolvedRules).reduce(function(enabledRules, key) {
const value = resolvedRules[key];
const { ruleFlag } = linter.parseRuleValue(value);
if (ruleFlag !== 'off') {
enabledRules[key] = value;
}
return enabledRules;
}, {});
const serializedRules = JSON.stringify(enabledRules, null, ' ');
const preambleCode = `

@@ -70,5 +83,3 @@ var cache = {};

const importCode = Object.entries(resolvedRules).filter(
([ key, value ]) => linter.parseRuleValue(value).ruleFlag !== 'off'
).map(([ key, value ], idx) => {
const importCode = Object.keys(enabledRules).map((key, idx) => {

@@ -75,0 +86,0 @@ const {

{
"name": "bpmnlint",
"version": "3.2.1",
"version": "3.3.0",
"main": "lib/index.js",

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

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