lightning-flow-scanner-core
Advanced tools
Comparing version 3.2.0 to 3.3.0
@@ -30,5 +30,5 @@ "use strict"; | ||
function FixFlows(flow, ruleResults) { | ||
var _a, _b; | ||
const unusedVariableReferences = (_a = ruleResults.find((r) => r.ruleName === 'UnusedVariable').details.map((d) => d.name)) !== null && _a !== void 0 ? _a : []; | ||
const unconnectedElementsReferences = (_b = ruleResults.find((r) => r.ruleName === 'UnconnectedElement').details.map((d) => d.name)) !== null && _b !== void 0 ? _b : []; | ||
var _a, _b, _c, _d; | ||
const unusedVariableReferences = (_b = (_a = ruleResults.find((r) => r.ruleName === 'UnusedVariable').details) === null || _a === void 0 ? void 0 : _a.map((d) => d.name)) !== null && _b !== void 0 ? _b : []; | ||
const unconnectedElementsReferences = (_d = (_c = ruleResults.find((r) => r.ruleName === 'UnconnectedElement').details) === null || _c === void 0 ? void 0 : _c.map((d) => d.name)) !== null && _d !== void 0 ? _d : []; | ||
const nodesToBuild = flow.elements.filter(node => { | ||
@@ -35,0 +35,0 @@ switch (node.metaType) { |
{ | ||
"name": "lightning-flow-scanner-core", | ||
"version": "3.2.0", | ||
"version": "3.3.0", | ||
"main": "out/**", | ||
@@ -5,0 +5,0 @@ "types": "index.d.ts", |
@@ -6,4 +6,4 @@ import { BuildFlow } from './BuildFlow'; | ||
const unusedVariableReferences = ruleResults.find((r) => r.ruleName === 'UnusedVariable').details.map((d) => d.name) ?? []; | ||
const unconnectedElementsReferences = ruleResults.find((r) => r.ruleName === 'UnconnectedElement').details.map((d) => d.name) ?? []; | ||
const unusedVariableReferences = ruleResults.find((r) => r.ruleName === 'UnusedVariable').details?.map((d) => d.name) ?? []; | ||
const unconnectedElementsReferences = ruleResults.find((r) => r.ruleName === 'UnconnectedElement').details?.map((d) => d.name) ?? []; | ||
const nodesToBuild = flow.elements.filter(node => { | ||
@@ -10,0 +10,0 @@ switch (node.metaType) { |
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
1035520