Socket
Socket
Sign inDemoInstall

bpmnlint

Package Overview
Dependencies
10
Maintainers
10
Versions
60
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.6.0 to 7.7.0

4

CHANGELOG.md

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

## 7.7.0
* `FEAT`: fuzzy test for equality of nodes when using `RuleTester#verify` ([#79](https://github.com/bpmn-io/bpmnlint/pull/79/files))
## 7.6.0

@@ -11,0 +15,0 @@

@@ -14,3 +14,3 @@ /* global it, describe, beforeEach */

function expectEqual(a, b) {
assert.deepStrictEqual(a, b);
assert.deepStrictEqual(JSON.stringify(a, replacer, 2), JSON.stringify(b, replacer, 2));
}

@@ -103,4 +103,36 @@

module.exports = {
expectEqual,
verify,
getTitle
};
getTitle,
replacer
};
function replacer(_, value) {
if (!value) {
return value;
}
const { $type } = value;
if ($type) {
const { $descriptor } = value;
const { idProperty } = $descriptor;
if (idProperty) {
const { name } = idProperty;
const id = value.get(name);
if (id) {
return id;
} else {
return $type;
}
} else {
return $type;
}
}
return value;
}

2

package.json
{
"name": "bpmnlint",
"description": "Validate your BPMN diagrams based on configurable lint rules",
"version": "7.6.0",
"version": "7.7.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