Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lightning-flow-scanner-core

Package Overview
Dependencies
Maintainers
1
Versions
173
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lightning-flow-scanner-core - npm Package Compare versions

Comparing version 3.3.0 to 3.4.0

7

out/main/libs/FixFlows.js

@@ -30,5 +30,6 @@ "use strict";

function FixFlows(flow, ruleResults) {
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 unusedVariableRes = ruleResults.find((r) => r.ruleName === 'UnusedVariable');
const unusedVariableReferences = (unusedVariableRes.details && unusedVariableRes.details.length > 0) ? unusedVariableRes.details.map((d) => d.name) : [];
const unconnectedElementsRes = ruleResults.find((r) => r.ruleName === 'UnconnectedElement');
const unconnectedElementsReferences = (unconnectedElementsRes.details && unconnectedElementsRes.details.length > 0) ? unconnectedElementsRes.details.map((d) => d.name) : [];
const nodesToBuild = flow.elements.filter(node => {

@@ -35,0 +36,0 @@ switch (node.metaType) {

{
"name": "lightning-flow-scanner-core",
"version": "3.3.0",
"version": "3.4.0",
"main": "out/**",

@@ -5,0 +5,0 @@ "types": "index.d.ts",

@@ -6,4 +6,6 @@ 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 unusedVariableRes = ruleResults.find((r) => r.ruleName === 'UnusedVariable');
const unusedVariableReferences = (unusedVariableRes.details && unusedVariableRes.details.length > 0) ? unusedVariableRes.details.map((d) => d.name) : [];
const unconnectedElementsRes = ruleResults.find((r) => r.ruleName === 'UnconnectedElement');
const unconnectedElementsReferences = (unconnectedElementsRes.details && unconnectedElementsRes.details.length > 0) ? unconnectedElementsRes.details.map((d) => d.name) : [];
const nodesToBuild = flow.elements.filter(node => {

@@ -10,0 +12,0 @@ switch (node.metaType) {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc