Socket
Socket
Sign inDemoInstall

bpmn-js-bpmnlint

Package Overview
Dependencies
4
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.0 to 0.1.1

index.js

20

lib/features/Linting.js

@@ -59,3 +59,3 @@ import linter from 'bpmnlint/lib/linter';

var button = this._button = domify(
'<button class="bpmn-js-bpmnlint-button"></button>'
'<button class="bpmn-js-bpmnlint-button inactive"></button>'
);

@@ -305,4 +305,5 @@

this._button.classList.add('success');
this._button.classList.remove('error');
this._button.classList.remove('inactive');
this._button.classList.remove('error');
this._button.classList.remove('warning');
} else if (state === 'error') {

@@ -312,6 +313,13 @@ this._button.classList.add('error');

this._button.classList.remove('success');
this._button.classList.remove('warning');
} else if (state === 'warning') {
this._button.classList.add('warning');
this._button.classList.remove('error');
this._button.classList.remove('inactive');
this._button.classList.remove('success');
} else if (state === 'inactive') {
this._button.classList.add('inactive');
this._button.classList.remove('error');
this._button.classList.remove('success');
this._button.classList.remove('error');
this._button.classList.remove('warning');
}

@@ -323,5 +331,3 @@

Linting.prototype.updateButton = function() {
if (this._lintingActive) {
var errors = 0,

@@ -367,3 +373,5 @@ warnings = 0;

domRemove(html);
if (html) {
domRemove(html);
}
};

@@ -370,0 +378,0 @@

{
"name": "bpmn-js-bpmnlint",
"version": "0.1.0",
"version": "0.1.1",
"description": "bpmn-js integration for bpmnlint",

@@ -5,0 +5,0 @@ "main": "index.js",

Sorry, the diff of this file is not supported yet

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