New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

lightning-flow-scanner-core

Package Overview
Dependencies
Maintainers
0
Versions
206
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 4.13.9 to 4.13.10

4

index.d.ts

@@ -1,3 +0,3 @@

import IRuleDefinition from "./main/interfaces/IRuleDefinition";
import IRulesConfig from "./main/interfaces/IRulesConfig";
import { IRuleDefinition } from "./main/interfaces/IRuleDefinition";
import { IRulesConfig } from "./main/interfaces/IRulesConfig";
import { ParsedFlow } from "./main/models/ParsedFlow";

@@ -4,0 +4,0 @@ import { ScanResult } from "./main/models/ScanResult";

import { Flow } from "../models/Flow";
import { RuleResult } from "../models/RuleResult";
export default interface IRuleDefinition {
export interface IRuleDefinition {
name: string;

@@ -5,0 +5,0 @@ label: string;

import type IExceptions from "./IExceptions";
import type IRuleOptions from "./IRuleOptions";
export default interface IRulesConfig {
export interface IRulesConfig {
rules?: IRuleOptions;
exceptions?: IExceptions;
}

@@ -1,3 +0,3 @@

import type IRuleDefinition from "../interfaces/IRuleDefinition";
import type IRulesConfig from "../interfaces/IRulesConfig";
import { IRuleDefinition } from "../interfaces/IRuleDefinition";
import { IRulesConfig } from "../interfaces/IRulesConfig";
import { Compiler } from "../libs/Compiler";

@@ -14,3 +14,2 @@ import { Flow } from "../models/Flow";

import { ScanResult } from "../models/ScanResult";
export { FlowAttribute, FlowElement, FlowNode, FlowType, FlowVariable, FlowResource, Flow, Compiler, ScanResult, RuleResult, ResultDetails, };
export type { IRuleDefinition, IRulesConfig };
export { FlowAttribute, FlowElement, FlowNode, FlowType, FlowVariable, FlowResource, Flow, Compiler, ScanResult, RuleResult, ResultDetails, IRuleDefinition, IRulesConfig, };

@@ -1,2 +0,2 @@

import type IRuleDefinition from "../interfaces/IRuleDefinition";
import { IRuleDefinition } from "../interfaces/IRuleDefinition";
export declare function GetRuleDefinitions(ruleConfig?: Map<string, {}>): IRuleDefinition[];

@@ -1,4 +0,4 @@

import type IRuleDefinition from "../interfaces/IRuleDefinition";
import { IRuleDefinition } from "../interfaces/IRuleDefinition";
export declare class RuleLoader {
static loadCustomRule(ruleName: string, filePath: string): IRuleDefinition | undefined;
}

@@ -1,2 +0,2 @@

import type IRuleDefinition from "../interfaces/IRuleDefinition";
import type { IRuleDefinition } from "../interfaces/IRuleDefinition";
export declare class RuleParser {

@@ -3,0 +3,0 @@ static parseRuleFile(filePath: string): IRuleDefinition | undefined;

@@ -1,2 +0,2 @@

import type IRuleDefinition from "../interfaces/IRuleDefinition";
import type { IRuleDefinition } from "../interfaces/IRuleDefinition";
import { ResultDetails } from "./ResultDetails";

@@ -3,0 +3,0 @@ export declare class RuleResult {

{
"name": "lightning-flow-scanner-core",
"version": "4.13.9",
"version": "4.13.10",
"main": "index.js",

@@ -15,8 +15,2 @@ "types": "index.d.ts",

"tsc:cp:files": "cp ./readme.md ./package*.json ./tsconfig.cjs.json ./out/ && cp -R ./media ./out/",
"swc:build": "swc src --out-dir out",
"swc:build:link": "npm run prepack && npm run cp:files && npm link ./out/src",
"swc:gen:types": "tsc -p tsconfig.cjs.json --declaration --emitDeclarationOnly",
"swc:cp:types": "npm run gen:types && cp -R ./types/* ./out/src",
"swc:cp:files": "cp ./readme.md ./package*.json ./out/src && cp -R ./media ./out/src",
"sim:pack": "npm run build && npm run cp:files && npm run cp:types",
"prepare": "husky",

@@ -30,2 +24,8 @@ "precommit": "lint-staged",

"postversion": "cp package.json .. && cp package-lock.json ..",
"swc:build": "swc src --out-dir out",
"swc:build:link": "npm run prepack && npm run cp:files && npm link ./out/src",
"swc:gen:types": "tsc -p tsconfig.cjs.json --declaration --emitDeclarationOnly",
"swc:cp:types": "npm run gen:types && cp -R ./types/* ./out/src",
"swc:cp:files": "cp ./readme.md ./package*.json ./out/src && cp -R ./media ./out/src",
"swc:sim:pack": "npm run build && npm run cp:files && npm run cp:types",
"swc:postversion": "cp package.json ../.. && cp package-lock.json ../.."

@@ -56,3 +56,3 @@ },

"jest": "^29.7.0",
"lint-staged": "^15.4.2",
"lint-staged": "^15.4.3",
"prettier": "^3.4.2",

@@ -59,0 +59,0 @@ "rollup": "^4.32.0",

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