@codacy/tools-flawfinder-2 0.21.0 → 0.23.0

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
@@ -1,6 +1,7 @@
1
1
  # @codacy/tools-flawfinder-2
2
2
 
3
3
  ## Table of Contents
4
+
4
5
  - [Overview](#overview)
5
6
  - [Updating patterns](#updating-patterns)
6
7
  - [Updating the Flawfinder version](#updating-the-flawfinder-version)
@@ -13,16 +14,16 @@
13
14
 
14
15
  C/C++ security scanner using the [Flawfinder](https://dwheeler.com/flawfinder/) Python script. Uses the CLI execution strategy -- spawns `flawfinder` via `spawnTool()` and parses its SARIF JSON output.
15
16
 
16
- | Property | Value |
17
- |----------|-------|
18
- | Tool ID | `flawfinder` |
19
- | Codacy UUID | `81806a42-1d70-40e6-ad07-9a1a9da9e500` |
20
- | Strategy | CLI |
21
- | Languages | C, CPP |
22
- | Binary | `flawfinder` (Python script) |
17
+ | Property | Value |
18
+ | ------------- | ----------------------------------------------------------------- |
19
+ | Tool ID | `flawfinder` |
20
+ | Codacy UUID | `81806a42-1d70-40e6-ad07-9a1a9da9e500` |
21
+ | Strategy | CLI |
22
+ | Languages | C, CPP |
23
+ | Binary | `flawfinder` (Python script) |
23
24
  | File patterns | `**/*.c`, `**/*.h`, `**/*.cpp`, `**/*.cc`, `**/*.cxx`, `**/*.hpp` |
24
- | Pattern count | ~222 |
25
- | Prerequisites | Python >= 3.8.0 |
25
+ | Pattern count | ~222 |
26
+ | Prerequisites | Python >= 3.8.0 |
26
27
 
27
28
  ## Updating patterns
28
29
 
@@ -55,7 +56,7 @@ pnpm test # Run tests (requires flawfinder in PATH or venv)
55
56
 
56
57
  ```bash
57
58
  # Via pip (recommended)
58
- pip install flawfinder==2.0.19
59
+ pip install flawfinder==2.0.20
59
60
 
60
61
  # macOS
61
62
  brew install flawfinder
package/dist/index.js CHANGED
@@ -2059,7 +2059,7 @@ var patterns_default = [
2059
2059
  var descriptor = {
2060
2060
  id: "flawfinder",
2061
2061
  displayName: "Flawfinder",
2062
- preferredVersion: "2.0.19",
2062
+ preferredVersion: "2.0.20",
2063
2063
  languages: ["C", "CPP"],
2064
2064
  filePatterns: ["**/*.c", "**/*.h", "**/*.cpp", "**/*.cc", "**/*.cxx", "**/*.hpp"],
2065
2065
  supportedOS: ["linux", "darwin", "win32"],
@@ -2069,7 +2069,7 @@ var descriptor = {
2069
2069
 
2070
2070
  // src/adapter.ts
2071
2071
  var TOOL_ID = "flawfinder";
2072
- var PIP_PACKAGE = "flawfinder==2.0.19";
2072
+ var PIP_PACKAGE = "flawfinder==2.0.20";
2073
2073
  var BINARY = "flawfinder";
2074
2074
  var PATTERN_META = new Map(
2075
2075
  patterns_default.map((p) => [
@@ -2185,7 +2185,7 @@ var adapter = {
2185
2185
  * Steps:
2186
2186
  * 1. Find a Python 3 interpreter on the system.
2187
2187
  * 2. Create (or reuse) a venv at `~/.codacy/runtimes/flawfinder/venv/`.
2188
- * 3. Run `pip install flawfinder==2.0.19` inside the venv.
2188
+ * 3. Run `pip install flawfinder==2.0.20` inside the venv.
2189
2189
  * 4. Verify the installed binary runs and return its path and version.
2190
2190
  */
2191
2191
  async install(ctx) {
package/dist/metadata.js CHANGED
@@ -26,7 +26,7 @@ module.exports = __toCommonJS(metadata_exports);
26
26
  var descriptor = {
27
27
  id: "flawfinder",
28
28
  displayName: "Flawfinder",
29
- preferredVersion: "2.0.19",
29
+ preferredVersion: "2.0.20",
30
30
  languages: ["C", "CPP"],
31
31
  filePatterns: ["**/*.c", "**/*.h", "**/*.cpp", "**/*.cc", "**/*.cxx", "**/*.hpp"],
32
32
  supportedOS: ["linux", "darwin", "win32"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codacy/tools-flawfinder-2",
3
- "version": "0.21.0",
3
+ "version": "0.23.0",
4
4
  "description": "Flawfinder adapter — CLI-mode C/C++ security analyzer",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -8,7 +8,7 @@
8
8
  "dist"
9
9
  ],
10
10
  "dependencies": {
11
- "@codacy/tooling": "0.21.0"
11
+ "@codacy/tooling": "0.23.0"
12
12
  },
13
13
  "license": "MIT",
14
14
  "author": "Codacy <support@codacy.com> (https://www.codacy.com)",