fallow 3.24.0 → 3.24.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/capabilities.json +1 -1
- package/package.json +10 -10
- package/skills/fallow/references/cli-reference.md +12 -10
- package/types/output-contract.d.ts +10 -0
package/capabilities.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fallow",
|
|
3
|
-
"version": "3.24.
|
|
3
|
+
"version": "3.24.1",
|
|
4
4
|
"manifest_version": "1",
|
|
5
5
|
"description": "Codebase analyzer for TypeScript/JavaScript: unused code, circular dependencies, code duplication, complexity hotspots, and architecture boundary violations",
|
|
6
6
|
"global_flags": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fallow",
|
|
3
|
-
"version": "3.24.
|
|
3
|
+
"version": "3.24.1",
|
|
4
4
|
"mcpName": "io.github.fallow-rs/fallow",
|
|
5
5
|
"description": "Codebase intelligence for TypeScript and JavaScript. Free static analysis of code and styles, optional paid runtime intelligence (Fallow Runtime). Quality, risk, architecture, dependencies, duplication, and design-system drift for humans, CI, and the agents writing your code. Zero-config framework support.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -88,14 +88,14 @@
|
|
|
88
88
|
"@tanstack/intent": "0.3.8"
|
|
89
89
|
},
|
|
90
90
|
"optionalDependencies": {
|
|
91
|
-
"@fallow-cli/darwin-arm64": "3.24.
|
|
92
|
-
"@fallow-cli/darwin-x64": "3.24.
|
|
93
|
-
"@fallow-cli/linux-x64-gnu": "3.24.
|
|
94
|
-
"@fallow-cli/linux-arm64-gnu": "3.24.
|
|
95
|
-
"@fallow-cli/linux-x64-musl": "3.24.
|
|
96
|
-
"@fallow-cli/linux-arm64-musl": "3.24.
|
|
97
|
-
"@fallow-cli/win32-arm64-msvc": "3.24.
|
|
98
|
-
"@fallow-cli/win32-x64-msvc": "3.24.
|
|
99
|
-
"fallow-type-aware": "3.24.
|
|
91
|
+
"@fallow-cli/darwin-arm64": "3.24.1",
|
|
92
|
+
"@fallow-cli/darwin-x64": "3.24.1",
|
|
93
|
+
"@fallow-cli/linux-x64-gnu": "3.24.1",
|
|
94
|
+
"@fallow-cli/linux-arm64-gnu": "3.24.1",
|
|
95
|
+
"@fallow-cli/linux-x64-musl": "3.24.1",
|
|
96
|
+
"@fallow-cli/linux-arm64-musl": "3.24.1",
|
|
97
|
+
"@fallow-cli/win32-arm64-msvc": "3.24.1",
|
|
98
|
+
"@fallow-cli/win32-x64-msvc": "3.24.1",
|
|
99
|
+
"fallow-type-aware": "3.24.1"
|
|
100
100
|
}
|
|
101
101
|
}
|
|
@@ -446,7 +446,7 @@ Human output groups paths under "Shared with your team (commit these)" and "Loca
|
|
|
446
446
|
{
|
|
447
447
|
"kind": "agent-install",
|
|
448
448
|
"schema_version": 1,
|
|
449
|
-
"fallow_version": "3.24.
|
|
449
|
+
"fallow_version": "3.24.1",
|
|
450
450
|
"root": "/abs/path",
|
|
451
451
|
"mode": "install",
|
|
452
452
|
"dry_run": false,
|
|
@@ -650,7 +650,7 @@ fallow health --format json --quiet --trend
|
|
|
650
650
|
{
|
|
651
651
|
"kind": "health",
|
|
652
652
|
"schema_version": 7,
|
|
653
|
-
"version": "3.24.
|
|
653
|
+
"version": "3.24.1",
|
|
654
654
|
"elapsed_ms": 32,
|
|
655
655
|
"summary": {
|
|
656
656
|
"files_analyzed": 482,
|
|
@@ -1053,7 +1053,7 @@ fallow audit \
|
|
|
1053
1053
|
{
|
|
1054
1054
|
"kind": "audit",
|
|
1055
1055
|
"schema_version": 7,
|
|
1056
|
-
"version": "3.24.
|
|
1056
|
+
"version": "3.24.1",
|
|
1057
1057
|
"command": "audit",
|
|
1058
1058
|
"verdict": "fail",
|
|
1059
1059
|
"changed_files_count": 12,
|
|
@@ -1130,7 +1130,7 @@ fallow flags --format json --quiet --workspace my-package
|
|
|
1130
1130
|
```json
|
|
1131
1131
|
{
|
|
1132
1132
|
"schema_version": 7,
|
|
1133
|
-
"version": "3.24.
|
|
1133
|
+
"version": "3.24.1",
|
|
1134
1134
|
"elapsed_ms": 116,
|
|
1135
1135
|
"feature_flags": [],
|
|
1136
1136
|
"total_flags": 0
|
|
@@ -1231,7 +1231,7 @@ fallow security --gate newly-reachable --changed-since origin/main
|
|
|
1231
1231
|
{
|
|
1232
1232
|
"kind": "security",
|
|
1233
1233
|
"schema_version": "4",
|
|
1234
|
-
"version": "3.24.
|
|
1234
|
+
"version": "3.24.1",
|
|
1235
1235
|
"elapsed_ms": 42,
|
|
1236
1236
|
"config": {
|
|
1237
1237
|
"rules": {
|
|
@@ -1260,7 +1260,7 @@ fallow security --gate newly-reachable --changed-since origin/main
|
|
|
1260
1260
|
{
|
|
1261
1261
|
"kind": "security",
|
|
1262
1262
|
"schema_version": "4",
|
|
1263
|
-
"version": "3.24.
|
|
1263
|
+
"version": "3.24.1",
|
|
1264
1264
|
"elapsed_ms": 42,
|
|
1265
1265
|
"config": {
|
|
1266
1266
|
"rules": {
|
|
@@ -1709,6 +1709,8 @@ Cloud analysis emits the same `runtime_coverage` JSON block as local mode. Its s
|
|
|
1709
1709
|
|
|
1710
1710
|
Each finding's `actions[].type` uses the canonical kebab-case vocabulary: `delete-cold-code` is emitted on `verdict=safe_to_delete`, `review-runtime` on `verdict=review_required`. The sidecar may emit additional protocol-specific identifiers, so consumers should treat unknown values as forward-compat extensions rather than schema violations.
|
|
1711
1711
|
|
|
1712
|
+
Under `--production` the evidence block also carries `test_only_reference`. It is `true` when the function is unreachable in the production module graph but still referenced from a file production mode excludes (test, spec, story, fixture, benchmark). Such a function is never `safe_to_delete`: it is reported as `review_required` with the action "Only tests reference this export; delete the test usage together with the function or keep it". The field is absent when no production filter was applied, because there is no second reachability answer to report.
|
|
1713
|
+
|
|
1712
1714
|
### `upload-inventory` flags
|
|
1713
1715
|
|
|
1714
1716
|
| Flag | Type | Default | Description |
|
|
@@ -2026,7 +2028,7 @@ The HTTP layer mirrors the bash `gh_api_retry` / `curl_retry` helpers: `FALLOW_A
|
|
|
2026
2028
|
{
|
|
2027
2029
|
"kind": "dead-code",
|
|
2028
2030
|
"schema_version": 7,
|
|
2029
|
-
"version": "3.24.
|
|
2031
|
+
"version": "3.24.1",
|
|
2030
2032
|
"elapsed_ms": 45,
|
|
2031
2033
|
"total_issues": 12,
|
|
2032
2034
|
"entry_points": {
|
|
@@ -2186,7 +2188,7 @@ When `--baseline` is used in combined output, the JSON includes a `baseline_delt
|
|
|
2186
2188
|
{
|
|
2187
2189
|
"kind": "dupes",
|
|
2188
2190
|
"schema_version": 7,
|
|
2189
|
-
"version": "3.24.
|
|
2191
|
+
"version": "3.24.1",
|
|
2190
2192
|
"elapsed_ms": 82,
|
|
2191
2193
|
"total_clones": 15,
|
|
2192
2194
|
"total_lines_duplicated": 230,
|
|
@@ -2230,11 +2232,11 @@ When running `fallow` with no subcommand (all analyses), the JSON output combine
|
|
|
2230
2232
|
{
|
|
2231
2233
|
"kind": "combined",
|
|
2232
2234
|
"schema_version": 7,
|
|
2233
|
-
"version": "3.24.
|
|
2235
|
+
"version": "3.24.1",
|
|
2234
2236
|
"elapsed_ms": 159,
|
|
2235
2237
|
"check": {
|
|
2236
2238
|
"schema_version": 7,
|
|
2237
|
-
"version": "3.24.
|
|
2239
|
+
"version": "3.24.1",
|
|
2238
2240
|
"elapsed_ms": 45,
|
|
2239
2241
|
"total_issues": 12,
|
|
2240
2242
|
"unused_files": [],
|
|
@@ -7191,6 +7191,16 @@ static_status: string
|
|
|
7191
7191
|
* `not_covered` otherwise.
|
|
7192
7192
|
*/
|
|
7193
7193
|
test_coverage: string
|
|
7194
|
+
/**
|
|
7195
|
+
* `true` when the function is unreachable in the production module graph
|
|
7196
|
+
* but still referenced from a file that production mode excludes (test,
|
|
7197
|
+
* spec, story, fixture, or benchmark). Such a function is not dead code:
|
|
7198
|
+
* removing it breaks the referencing test. `false` when the production
|
|
7199
|
+
* graph was compared against the full tree and no such reference exists.
|
|
7200
|
+
* `null` when the report was produced without a production filter, or by
|
|
7201
|
+
* a surface that carries no second reachability answer.
|
|
7202
|
+
*/
|
|
7203
|
+
test_only_reference?: (boolean | null)
|
|
7194
7204
|
/**
|
|
7195
7205
|
* `tracked` when V8 observed the function, `untracked` otherwise.
|
|
7196
7206
|
*/
|