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.2.0 to 3.3.0

6

out/main/libs/FixFlows.js

@@ -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

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