Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ Use our side bar or the **Command Palette** and type `Flow Scanner` to see the l

## Development

> This project optionally uses [Volta](https://volta.sh) to manage Node.js versions. Install Volta with:
>
> ```sh
> curl https://get.volta.sh | bash
> ```
>
> Volta will automatically use the Node.js version defined in `package.json`.

1. Clone the repo:

```bash
Expand Down
28 changes: 28 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Security Policy for Lightning Flow Scanner

## Security Practices

- Code is open-source and peer-reviewed by the community.
- Vulnerabilities can be reported privately via GitHub security features.
- Changes to the repository are scanned and reviewed before merging.

## Reporting a Vulnerability

If you discover a security vulnerability, please report it using [GitHub vulnerability reporting](https://github.com/Flow-Scanner/lightning-flow-scanner-vsx/security).

## Data Handling

This project collects zero user data. No credentials, PII, payment info, or health data is ever stored, transmitted, or shared. All analysis runs 100% client-side with no network calls to any external services.

## Dependencies

We actively track and maintain an up-to-date inventory of all third-party dependencies to ensure security and compatibility. Our dependencies include:

| Package | License | Purpose` |
| ------------------------------- | ------------------------------------------------------------------------------------ | ---------------------------------------------- |
| `convert-array-to-csv` | [MIT](https://github.com/zemirco/convert-array-to-csv/blob/master/LICENSE) | Converts JavaScript arrays into CSV format |
| `lightning-flow-scanner-core` | [MIT](https://github.com/Flow-Scanner/lightning-flow-scanner-core/blob/main/LICENSE.md) | Salesforce Flow scanning utilities |
| `tabulator-tables` | [MIT](https://github.com/olifolkerd/tabulator/blob/master/LICENSE) | Interactive tables and data grids for web apps |
| `uuid` | [MIT](https://github.com/uuidjs/uuid/blob/main/LICENSE.md) | Generates RFC-compliant UUIDs |
| `xml2js` | [MIT](https://github.com/Leonidas-from-XIV/node-xml2js/blob/master/LICENSE) | XML-to-JavaScript object converter |
| `yaml` | [ISC](https://github.com/eemeli/yaml/blob/main/LICENSE) | YAML parser and stringifier for JavaScript |
32 changes: 7 additions & 25 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 11 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"icon": "media/lightningflow.png",
"description": "A VS Code Extension for analysis and optimization of Salesforce Flows. Scans metadata for 20+ issues such as hardcoded IDs, unsafe contexts, inefficient SOQL/DML operations, recursion risks, and missing fault handling. Supports auto-fixes, rule configurations, and tests integration.",
"version": "1.8.2",
"version": "1.8.3",
"engines": {
"vscode": "^1.99.1"
},
Expand Down Expand Up @@ -90,10 +90,10 @@
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack --config ./build/node-extension.webpack.config.js",
"watch": "npm run v:update && concurrently \"rollup -c -w\" \"webpack --watch --config ./build/node-extension.webpack.config.js\"",
"watch": "concurrently \"rollup -c -w\" \"webpack --watch --config ./build/node-extension.webpack.config.js\"",
"build-webapp": "rollup -c",
"build": "npm run v:update && rollup -c && vsce package",
"build:beta": "npm run v:update && rollup -c && vsce package --pre-release",
"build": "rollup -c && vsce package",
"build:beta": "rollup -c && vsce package --pre-release",
"package": "webpack --mode production --devtool hidden-source-map --config ./build/node-extension.webpack.config.js",
"test-compile": "tsc -p ./",
"test-watch": "tsc -watch -p ./",
Expand All @@ -105,15 +105,14 @@
"________": "scripts for reactive-vscode",
"v:dev": "run-p v:dev:*",
"v:build:reactive": "tsup --env.NODE_ENV production --treeshake",
"v:build:vite": "npm run v:update && vue-tsc --noEmit -p beta-vscode.tsconfig.json && vite build",
"v:build:vite": "vue-tsc --noEmit -p beta-vscode.tsconfig.json && vite build",
"v:dev:reactive": "tsup --watch ./src --env.NODE_ENV development",
"v:dev:vite": "vite",
"v:vite:preview": "vite preview",
"v:typecheck:reactive": "tsc --noEmit -p reactive-vscode.tsconfig.json",
"v:vscode:prepublish:reactive": "pnpm run build",
"v:test:reactive": "jest",
"v:test": "vitest",
"v:update": "vscode-ext-gen --output src/generated/meta.ts"
"v:test": "vitest"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^28.0.2",
Expand Down Expand Up @@ -166,7 +165,6 @@
"vite": "^6.3.5",
"vite-plugin-vue-devtools": "^7.7.6",
"vitest": "^3.1.3",
"vscode-ext-gen": "^1.0.2",
"vue": "3.5.14",
"vue-tsc": "2.2.10",
"wdio-vscode-service": "^6.1.2",
Expand All @@ -175,7 +173,7 @@
},
"dependencies": {
"convert-array-to-csv": "^2.0.0",
"lightning-flow-scanner-core": "^5.9.4",
"lightning-flow-scanner-core": "^5.9.7",
"tabulator-tables": "^6.3.1",
"uuid": "^11.0.5",
"xml2js": "^0.6.2",
Expand All @@ -192,5 +190,8 @@
"best practices",
"code quality",
"salesforce automation"
]
],
"volta": {
"node": "20.13.1"
}
}
6 changes: 0 additions & 6 deletions rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@ export default fs
file: "out/compiled/" + name + ".js",
assetFileNames: name + '.css',
},
onwarn: function (message) {
if (message.code !== 'EVAL'){
console.log(JSON.stringify(message));
throw new Error(message);
}
},
plugins: [
svelte({
compilerOptions: {
Expand Down
Loading