dmn-js-shared
Advanced tools
Comparing version 1.2.2 to 1.3.0
@@ -57,3 +57,7 @@ import { forEach } from 'min-dash/lib/collection'; | ||
element.authorityRequirement.forEach(authorityRequirement => { | ||
const { requiredAuthority, requiredDecision, requiredInput } = authorityRequirement; | ||
const { | ||
requiredAuthority, | ||
requiredDecision, | ||
requiredInput | ||
} = authorityRequirement; | ||
@@ -60,0 +64,0 @@ if (requiredAuthority && requiredAuthority.href === `#${oldId}`) { |
@@ -22,2 +22,16 @@ 'use strict'; | ||
function isInput(element) { | ||
return is(element, 'dmn:InputClause'); | ||
} | ||
module.exports.isInput = isInput; | ||
function isOutput(element) { | ||
return is(element, 'dmn:OutputClause'); | ||
} | ||
module.exports.isOutput = isOutput; | ||
/** | ||
@@ -24,0 +38,0 @@ * Return the business object for a given element. |
{ | ||
"name": "dmn-js-shared", | ||
"description": "Shared components used by dmn-js", | ||
"version": "1.2.2", | ||
"version": "1.3.0", | ||
"scripts": { | ||
@@ -6,0 +6,0 @@ "test": "karma start", |
@@ -15,3 +15,6 @@ import View from 'lib/base/View'; | ||
this._modules = [].concat(options.modules || [], options.additionalModules || []).reverse(); | ||
this._modules = [].concat( | ||
options.modules || [], | ||
options.additionalModules || [] | ||
).reverse(); | ||
@@ -18,0 +21,0 @@ this._eventBus = new EventBus(); |
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
43233
15
986