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

### _Used in both the VSCode extension as well as SFDX plugin with the same name._

  • 1.0.11
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4.3K
decreased by-11.33%
Maintainers
1
Weekly downloads
 
Created
Source

Lightning Flow Scanner(Core)

Used in both the VSCode extension as well as SFDX plugin with the same name.

Rules Included:

  DML statements in a loop,
  Duplicate DML operations,
  Hardcoded Ids,
  Missing flow description,
  Missing error handlers,
  Missing null handlers,
  Unconnected elements(auto-fix),
  Unused variables(auto-fix)

Functions

getRules(ruleNames? : string[]): IRuleDefinition[];

Returns all rules if there are no ruleNames specified. In case ruleNames are specified, it will only return rules which are included by name.

scan(flows: Flow[], ruleOptions?: ScannerOptions): ScanResult[];

If there are no ruleNames specified, it will run all available rules by default. In case that there are ruleNames specified, only the specified rules will be ran.

fix(flows :Flow[]): ScanResult[];

Remove unused variables and unconnected elements from selected flows automatically.

FAQs

Package last updated on 18 Sep 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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