bpmn-js-bpmnlint
Advanced tools
Comparing version 0.12.0 to 0.12.1
@@ -9,2 +9,6 @@ # Changelog | ||
## 0.12.1 | ||
* `CHORE`: support `bpmnlint@6` | ||
## 0.12.0 | ||
@@ -11,0 +15,0 @@ |
@@ -27,5 +27,5 @@ import { Linter } from 'bpmnlint'; | ||
function Linting( | ||
config, bpmnjs, canvas, | ||
elementRegistry, eventBus, | ||
overlays | ||
config, bpmnjs, canvas, | ||
elementRegistry, eventBus, | ||
overlays | ||
) { | ||
@@ -77,2 +77,3 @@ | ||
} | ||
Linting.prototype.setLinterConfig = function(linterConfig) { | ||
@@ -139,3 +140,2 @@ | ||
Linting.prototype.activateLinting = function() { | ||
this.setActive(true); | ||
@@ -183,14 +183,14 @@ }; | ||
for (var id in self._issues) { | ||
if (!newIssues[id]) { | ||
remove[id] = self._issues[id]; | ||
for (var id1 in self._issues) { | ||
if (!newIssues[id1]) { | ||
remove[id1] = self._issues[id1]; | ||
} | ||
} | ||
for (var id in newIssues) { | ||
if (!self._issues[id]) { | ||
add[id] = newIssues[id]; | ||
for (var id2 in newIssues) { | ||
if (!self._issues[id2]) { | ||
add[id2] = newIssues[id2]; | ||
} else { | ||
if (newIssues[id] !== self._issues[id]) { | ||
update[id] = newIssues[id]; | ||
if (newIssues[id2] !== self._issues[id2]) { | ||
update[id2] = newIssues[id2]; | ||
} | ||
@@ -246,3 +246,3 @@ } | ||
elementIssues = groupBy(elementIssues, function(elementIssue) { | ||
return elementIssue.category | ||
return elementIssue.category; | ||
}); | ||
@@ -249,0 +249,0 @@ |
@@ -29,5 +29,5 @@ 'use strict'; | ||
function Linting( | ||
config, bpmnjs, canvas, | ||
elementRegistry, eventBus, | ||
overlays | ||
config, bpmnjs, canvas, | ||
elementRegistry, eventBus, | ||
overlays | ||
) { | ||
@@ -79,2 +79,3 @@ | ||
} | ||
Linting.prototype.setLinterConfig = function(linterConfig) { | ||
@@ -141,3 +142,2 @@ | ||
Linting.prototype.activateLinting = function() { | ||
this.setActive(true); | ||
@@ -185,14 +185,14 @@ }; | ||
for (var id in self._issues) { | ||
if (!newIssues[id]) { | ||
remove[id] = self._issues[id]; | ||
for (var id1 in self._issues) { | ||
if (!newIssues[id1]) { | ||
remove[id1] = self._issues[id1]; | ||
} | ||
} | ||
for (var id in newIssues) { | ||
if (!self._issues[id]) { | ||
add[id] = newIssues[id]; | ||
for (var id2 in newIssues) { | ||
if (!self._issues[id2]) { | ||
add[id2] = newIssues[id2]; | ||
} else { | ||
if (newIssues[id] !== self._issues[id]) { | ||
update[id] = newIssues[id]; | ||
if (newIssues[id2] !== self._issues[id2]) { | ||
update[id2] = newIssues[id2]; | ||
} | ||
@@ -248,3 +248,3 @@ } | ||
elementIssues = minDash.groupBy(elementIssues, function(elementIssue) { | ||
return elementIssue.category | ||
return elementIssue.category; | ||
}); | ||
@@ -251,0 +251,0 @@ |
{ | ||
"name": "bpmn-js-bpmnlint", | ||
"version": "0.12.0", | ||
"version": "0.12.1", | ||
"description": "bpmn-js integration for bpmnlint", | ||
@@ -9,3 +9,4 @@ "main": "dist/index.js", | ||
"scripts": { | ||
"all": "run-s test distro", | ||
"all": "run-s lint test distro", | ||
"lint": "eslint .", | ||
"test": "karma start --no-auto-test --single-run", | ||
@@ -33,6 +34,8 @@ "dev": "karma start", | ||
"bpmn-js": "^4.0.3", | ||
"bpmnlint": "^5.1.1", | ||
"bpmnlint-loader": "^0.1.3", | ||
"bpmnlint": "^6.0.0", | ||
"bpmnlint-loader": "^0.1.4", | ||
"chai": "^4.2.0", | ||
"cpx": "^1.5.0", | ||
"eslint": "^5.16.0", | ||
"eslint-plugin-bpmn-io": "^0.8.2", | ||
"karma": "^4.2.0", | ||
@@ -59,4 +62,4 @@ "karma-chrome-launcher": "^3.0.0", | ||
"peerDependencies": { | ||
"bpmnlint": "^3.2.0 || ^4.0.0 || ^5.0.0" | ||
"bpmnlint": "^3.2.0 || ^4.0.0 || ^5.0.0 || ^6.0.0" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
204440
22
10