@flow-scanner/lightning-flow-scanner-core 6.3.0 → 6.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -259,6 +259,8 @@ const results = scan(
259
259
  );
260
260
  ```
261
261
 
262
+ **Privacy:** Zero user data collected. All processing is client-side. → See our [Security Policy](https://github.com/Flow-Scanner/lightning-flow-scanner-core?tab=security-ov-file).
263
+
262
264
  ### Functions
263
265
 
264
266
  #### [`getRules(ruleNames?: string[]): IRuleDefinition[]`](https://github.com/Flow-Scanner/lightning-flow-scanner-core/tree/main/src/main/libs/GetRuleDefinitions.ts)
@@ -289,9 +291,11 @@ _Get SARIF output including exact line numbers of violations._
289
291
 
290
292
  ## Installation
291
293
 
292
- `lightning-flow-scanner-core` is [scanned with Snyk](https://github.com/Flow-Scanner/lightning-flow-scanner-core?tab=security-ov-file) prior to publication on **npm**.
293
-
294
- [![npm version](https://img.shields.io/npm/v/@flow-scanner/lightning-flow-scanner-core?label=npm)](https://www.npmjs.com/package/@flow-scanner/lightning-flow-scanner-core) [![Known Vulnerabilities](https://snyk.io/test/github/Flow-Scanner/lightning-flow-scanner-core/badge.svg)](https://snyk.io/test/github/Flow-Scanner/lightning-flow-scanner-core)
294
+ [![GitHub stars](https://img.shields.io/github/stars/Flow-Scanner/lightning-flow-scanner-core)](https://img.shields.io/github/stars/Flow-Scanner/lightning-flow-scanner-core)
295
+ [![GitHub contributors](https://img.shields.io/github/contributors/Flow-Scanner/lightning-flow-scanner-core.svg)](https://gitHub.com/Flow-Scanner/lightning-flow-scanner-core/graphs/contributors/)
296
+ [![License](https://img.shields.io/npm/l/lightning-flow-scanner-core.svg)](https://github.com/Flow-Scanner/lightning-flow-scanner-core/raw/main/LICENSE.md)
297
+ [![npm version](https://img.shields.io/npm/v/lightning-flow-scanner?label=npm)](https://www.npmjs.com/package/lightning-flow-scanner)
298
+ [![Known Vulnerabilities](https://snyk.io/test/github/Flow-Scanner/lightning-flow-scanner-core/badge.svg)](https://snyk.io/test/github/Flow-Scanner/lightning-flow-scanner-core)
295
299
 
296
300
  **To install with npm:**
297
301
 
@@ -356,4 +360,4 @@ npm install @flow-scanner/lightning-flow-scanner-core
356
360
  npm run vite:dist // creates UMD at`dist/lightning-flow-scanner-core.umd.js`.
357
361
  ```
358
362
 
359
- ###### Want to help improve Lightning Flow Scanner? See our [Contributing Guidelines](https://github.com/Flow-Scanner/lightning-flow-scanner-core/blob/main/CONTRIBUTING.md).
363
+ <p><strong>Want to help improve Lightning Flow Scanner? See our <a href="https://github.com/Flow-Scanner/lightning-flow-scanner-core?tab=contributing-ov-file">Contributing Guidelines</a></strong></p>
package/SECURITY.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  - Code is open-source and peer-reviewed by the community.
6
6
  - Vulnerabilities can be reported privately via [GitHub vulnerability reporting](https://github.com/Flow-Scanner/lightning-flow-scanner-core/security).
7
- - All changes are **scanned with Snyk** and reviewed before merging.
7
+ - All changes are scanned with [Snyk](https://github.com/snyk/cli) prior to publication.
8
8
  - Releases are published to npm using **GitHub Actions Trusted Publishing (OIDC)**.
9
9
  - Tags (`v*`) trigger automated `npm publish`, providing a full audit trail.
10
10
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@flow-scanner/lightning-flow-scanner-core",
3
3
  "description": "A lightweight and purpose-built engine for Flow metadata in Node.js, and browser environments. Assess and enhance Salesforce Flow automations for best practices, security, governor limits, and performance issues.",
4
- "version": "6.3.0",
4
+ "version": "6.3.1",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
7
7
  "engines": {
@@ -11,12 +11,11 @@
11
11
  "clean": "rimraf out",
12
12
  "build:js": "swc src --out-dir out --copy-files --strip-leading-paths --config-file .swcrc",
13
13
  "build:types": "tsc -p tsconfig.types.json --declaration --emitDeclarationOnly --outDir out",
14
- "copy:index": "cp out/main/index.js out/index.js || true",
15
- "copy:media": "mkdir -p out/assets/media && cp -r assets/media/* out/assets/media/ || true",
16
- "copy:root-files:out": "cp README.md LICENSE.md SECURITY.md CONTRIBUTING.md package.json out/ || true",
17
- "copy:root-files:dist": "cp LICENSE.md dist/ || true",
14
+ "copy:media": "node -e \"require('fs').cpSync('assets/media','out/assets/media',{recursive:true,force:true}) || require('fs').mkdirSync('out/assets/media',{recursive:true})\"",
15
+ "copy:root-files:out": "node -e \"['README.md','LICENSE.md','SECURITY.md','CONTRIBUTING.md','package.json'].forEach(f=>require('fs').copyFileSync(f,'out/'+f))\"",
16
+ "copy:root-files:dist": "node -e \"require('fs').copyFileSync('LICENSE.md','dist/LICENSE.md')\"",
18
17
  "____main____": "__DEVELOPER COMMANDS__",
19
- "build": "npm run clean && npm run build:js && npm run build:types && npm run copy:index && npm run copy:media && npm run copy:root-files:out",
18
+ "build": "npm run clean && npm run build:js && npm run build:types && npm run copy:media && npm run copy:root-files:out",
20
19
  "test": "jest",
21
20
  "lint": "eslint src tests",
22
21
  "link": "npm run build && npm link ./out",