Socket
Socket
Sign inDemoInstall

bpmnlint

Package Overview
Dependencies
Maintainers
8
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 6.4.0 to 6.5.0

17

bin/bpmnlint.js

@@ -15,2 +15,3 @@ #!/usr/bin/env node

const tinyGlob = require('tiny-glob');
const readFile = promisify(fs.readFile);

@@ -37,2 +38,10 @@

function glob(files) {
return Promise.all(
cli.input.map(
file => tinyGlob(file, { dot: true })
)
).then(files => [].concat(...files));
}
/**

@@ -281,5 +290,7 @@ * Reads XML form path and return moddle object

for (let i = 0; i < cli.input.length; i++) {
let results = await lintDiagram(cli.input[i], config);
const files = await glob(cli.input);
for (let i = 0; i < files.length; i++) {
let results = await lintDiagram(files[i], config);
errorCount += results.errorCount;

@@ -348,2 +359,2 @@ warningCount += results.warningCount;

run().catch(logAndExit);
run().catch(logAndExit);

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

## 6.5.0
* `FEAT`: add globbing support ([#46](https://github.com/bpmn-io/bpmnlint/issues/46))
* `DOCS`: add explaination to `no-inclusive-gateway` rule
## 6.4.0

@@ -11,0 +16,0 @@

5

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

@@ -45,3 +45,4 @@ "keywords": [

"meow": "^5.0.0",
"pluralize": "^7.0.0"
"pluralize": "^7.0.0",
"tiny-glob": "^0.2.8"
},

@@ -48,0 +49,0 @@ "devDependencies": {

# bpmnlint
[![Build Status](https://travis-ci.org/bpmn-io/bpmnlint.svg?branch=master)](https://travis-ci.org/bpmn-io/bpmnlint)
[![Build Status](https://travis-ci.com/bpmn-io/bpmnlint.svg?branch=master)](https://travis-ci.com/bpmn-io/bpmnlint)

@@ -5,0 +5,0 @@ Validate your BPMN diagrams based on configurable lint rules.

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