fallow 3.33.0 → 3.33.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fallow",
3
- "version": "3.33.0",
3
+ "version": "3.33.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": [
@@ -142,7 +142,7 @@
142
142
  "name": "--baseline",
143
143
  "type": "string",
144
144
  "required": false,
145
- "description": "Compare against a previously saved baseline file. Used by bare `fallow`, `dead-code`, `architecture`, `dupes` and `health`; other subcommands reject it"
145
+ "description": "Compare against a previously saved baseline file. Used by bare `fallow`, `dead-code`, `architecture`, `dupes` and `health`; other subcommands reject it. On bare `fallow` it holds the dead-code baseline only: pass health and duplication baselines with `--health-baseline` and `--dupes-baseline`"
146
146
  },
147
147
  {
148
148
  "name": "--baseline-mode",
@@ -164,7 +164,7 @@
164
164
  "name": "--save-baseline",
165
165
  "type": "string",
166
166
  "required": false,
167
- "description": "Save the current results as a baseline file. Used by bare `fallow`, `dead-code`, `architecture`, `dupes` and `health`; other subcommands reject it. The path must resolve inside the project root, its Git work tree, the CI workspace or a temp directory"
167
+ "description": "Save the current results as a baseline file. Used by bare `fallow`, `dead-code`, `architecture`, `dupes` and `health`; other subcommands reject it. On bare `fallow` it saves the dead-code baseline only: save the others with `fallow health --save-baseline` and `fallow dupes --save-baseline`. The path must resolve inside the project root, its Git work tree, the CI workspace or a temp directory"
168
168
  },
169
169
  {
170
170
  "name": "--production",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fallow",
3
- "version": "3.33.0",
3
+ "version": "3.33.1",
4
4
  "mcpName": "io.github.fallow-rs/fallow",
5
5
  "description": "Codebase intelligence for TypeScript and JavaScript: health, complexity, duplication, architecture, styling drift, and unused code from one graph. CLI, LSP, and MCP server. Zero config for over 100 frameworks.",
6
6
  "license": "MIT",
@@ -89,14 +89,14 @@
89
89
  "@tanstack/intent": "0.4.0"
90
90
  },
91
91
  "optionalDependencies": {
92
- "@fallow-cli/darwin-arm64": "3.33.0",
93
- "@fallow-cli/darwin-x64": "3.33.0",
94
- "@fallow-cli/linux-x64-gnu": "3.33.0",
95
- "@fallow-cli/linux-arm64-gnu": "3.33.0",
96
- "@fallow-cli/linux-x64-musl": "3.33.0",
97
- "@fallow-cli/linux-arm64-musl": "3.33.0",
98
- "@fallow-cli/win32-arm64-msvc": "3.33.0",
99
- "@fallow-cli/win32-x64-msvc": "3.33.0",
100
- "fallow-type-aware": "3.33.0"
92
+ "@fallow-cli/darwin-arm64": "3.33.1",
93
+ "@fallow-cli/darwin-x64": "3.33.1",
94
+ "@fallow-cli/linux-x64-gnu": "3.33.1",
95
+ "@fallow-cli/linux-arm64-gnu": "3.33.1",
96
+ "@fallow-cli/linux-x64-musl": "3.33.1",
97
+ "@fallow-cli/linux-arm64-musl": "3.33.1",
98
+ "@fallow-cli/win32-arm64-msvc": "3.33.1",
99
+ "@fallow-cli/win32-x64-msvc": "3.33.1",
100
+ "fallow-type-aware": "3.33.1"
101
101
  }
102
102
  }
@@ -286,7 +286,7 @@ fallow dead-code --format json --quiet --save-baseline .fallow/snapshot.json
286
286
  fallow dead-code --format json --quiet --baseline .fallow/snapshot.json
287
287
  ```
288
288
 
289
- `--save-regression-baseline` / `--regression-baseline` / `--fail-on-regression` / `--tolerance` are count-based gates for `dead-code`, `architecture`, bare combined mode, and `flags --retirement` (a flags baseline needs a PATH; without `--retirement` the options have no effect on `flags` and it warns). `--save-baseline` / `--baseline` are identity-based (track finding identity, fail on new). `audit` rejects the global baseline flags and uses `--dead-code-baseline` / `--health-baseline` / `--dupes-baseline` instead.
289
+ `--save-regression-baseline` / `--regression-baseline` / `--fail-on-regression` / `--tolerance` are count-based gates for `dead-code`, `architecture`, bare combined mode, and `flags --retirement` (a flags baseline needs a PATH; without `--retirement` the options have no effect on `flags` and it warns). `--save-baseline` / `--baseline` are identity-based (track finding identity, fail on new). On bare `fallow` they hold the dead-code baseline only; pass health and duplication baselines with `--health-baseline` / `--dupes-baseline`. `audit` rejects the global baseline flags and uses `--dead-code-baseline` / `--health-baseline` / `--dupes-baseline` instead.
290
290
 
291
291
  With no path, `--save-regression-baseline` updates `regression.baseline` in the discovered fallow config, or creates `.fallowrc.json` when none exists. Pass a path only when a standalone baseline file is preferred.
292
292
 
@@ -520,7 +520,7 @@ Human output groups paths under "Shared with your team (commit these)" and "Loca
520
520
  {
521
521
  "kind": "agent-install",
522
522
  "schema_version": 1,
523
- "fallow_version": "3.33.0",
523
+ "fallow_version": "3.33.1",
524
524
  "root": "/abs/path",
525
525
  "mode": "install",
526
526
  "dry_run": false,
@@ -730,7 +730,7 @@ fallow health --format json --quiet --trend
730
730
  {
731
731
  "kind": "health",
732
732
  "schema_version": 7,
733
- "version": "3.33.0",
733
+ "version": "3.33.1",
734
734
  "elapsed_ms": 32,
735
735
  "summary": {
736
736
  "files_analyzed": 482,
@@ -1146,7 +1146,7 @@ fallow audit \
1146
1146
  {
1147
1147
  "kind": "audit",
1148
1148
  "schema_version": 7,
1149
- "version": "3.33.0",
1149
+ "version": "3.33.1",
1150
1150
  "command": "audit",
1151
1151
  "verdict": "fail",
1152
1152
  "changed_files_count": 12,
@@ -1234,7 +1234,7 @@ fallow flags --format json --quiet --workspace my-package
1234
1234
  ```json
1235
1235
  {
1236
1236
  "schema_version": 7,
1237
- "version": "3.33.0",
1237
+ "version": "3.33.1",
1238
1238
  "elapsed_ms": 116,
1239
1239
  "feature_flags": [],
1240
1240
  "total_flags": 0
@@ -1335,7 +1335,7 @@ fallow security --gate newly-reachable --changed-since origin/main
1335
1335
  {
1336
1336
  "kind": "security",
1337
1337
  "schema_version": "4",
1338
- "version": "3.33.0",
1338
+ "version": "3.33.1",
1339
1339
  "elapsed_ms": 42,
1340
1340
  "config": {
1341
1341
  "rules": {
@@ -1364,7 +1364,7 @@ fallow security --gate newly-reachable --changed-since origin/main
1364
1364
  {
1365
1365
  "kind": "security",
1366
1366
  "schema_version": "4",
1367
- "version": "3.33.0",
1367
+ "version": "3.33.1",
1368
1368
  "elapsed_ms": 42,
1369
1369
  "config": {
1370
1370
  "rules": {
@@ -1957,10 +1957,10 @@ Available on all commands:
1957
1957
  | `--diff-stdin` | `bool` | `false` | Read the unified diff from stdin. Equivalent to `--diff-file -` |
1958
1958
  | `--churn-file` | `string` | - | Import change history from a `fallow-churn/v1` JSON file instead of `git log`, powering hotspots, ownership, and bus-factor on projects with no git repository (Yandex Arc, Mercurial, Perforce). A small wrapper translates your VCS log into the contract. Resolved relative to `--root`. Affects `health --hotspots` / `--ownership` / `--targets` only; `audit`, `impact`, and `--changed-since` still require git |
1959
1959
  | `--max-file-size` | `string` | - | Skip source files larger than this many megabytes (default 5) instead of parsing them, guarding against the out-of-memory blowup a single multi-MB generated/vendored/bundled file causes on large repos. Use `0` for no limit. Declaration files (`.d.ts`) are always analyzed. Skipped files are reported and excluded from every analysis. Also settable via `FALLOW_MAX_FILE_SIZE` |
1960
- | `--baseline` | `string` | - | Compare to baseline |
1960
+ | `--baseline` | `string` | - | Compare to baseline. On bare `fallow` it holds the dead-code baseline only; use `--health-baseline` and `--dupes-baseline` for the others |
1961
1961
  | `--baseline-mode` | `count\|identity` | - | How `--baseline` matches health findings: per file and category (`count`, the default) or per function identity (`identity`, strict, and only against a baseline saved with `--baseline-mode identity`; such a baseline still reads in count mode). Identity is file path plus function name, so renaming or moving a function that is still in the baseline reports it as new; re-save after that kind of refactor. |
1962
1962
  | `--parent-run` | `string` | - | Correlate this run with a previous telemetry analysis run |
1963
- | `--save-baseline` | `string` | - | Save results as baseline |
1963
+ | `--save-baseline` | `string` | - | Save results as baseline. On bare `fallow` it saves the dead-code baseline only |
1964
1964
  | `--production` | `bool` | `false` | Exclude test/dev files, only start/build scripts (applies to every analysis) |
1965
1965
  | `--no-production` | `bool` | `false` | Force production mode OFF for every analysis, overriding a project config's `production: true` (and `FALLOW_PRODUCTION`). Conflicts with `--production` |
1966
1966
  | `--production-dead-code` | `bool` | `false` | Run dead-code analysis in production mode when using bare combined mode |
@@ -2179,7 +2179,7 @@ The HTTP layer mirrors the bash `gh_api_retry` / `curl_retry` helpers: `FALLOW_A
2179
2179
  {
2180
2180
  "kind": "dead-code",
2181
2181
  "schema_version": 7,
2182
- "version": "3.33.0",
2182
+ "version": "3.33.1",
2183
2183
  "elapsed_ms": 45,
2184
2184
  "total_issues": 12,
2185
2185
  "entry_points": {
@@ -2339,7 +2339,7 @@ When `--baseline` is used in combined output, the JSON includes a `baseline_delt
2339
2339
  {
2340
2340
  "kind": "dupes",
2341
2341
  "schema_version": 7,
2342
- "version": "3.33.0",
2342
+ "version": "3.33.1",
2343
2343
  "elapsed_ms": 82,
2344
2344
  "total_clones": 15,
2345
2345
  "total_lines_duplicated": 230,
@@ -2383,11 +2383,11 @@ When running `fallow` with no subcommand (all analyses), the JSON output combine
2383
2383
  {
2384
2384
  "kind": "combined",
2385
2385
  "schema_version": 7,
2386
- "version": "3.33.0",
2386
+ "version": "3.33.1",
2387
2387
  "elapsed_ms": 159,
2388
2388
  "check": {
2389
2389
  "schema_version": 7,
2390
- "version": "3.33.0",
2390
+ "version": "3.33.1",
2391
2391
  "elapsed_ms": 45,
2392
2392
  "total_issues": 12,
2393
2393
  "unused_files": [],
@@ -58,4 +58,4 @@ fallow health --format json --quiet --save-baseline fallow-baselines/health.json
58
58
  fallow dupes --format json --quiet --save-baseline fallow-baselines/dupes.json
59
59
  ```
60
60
 
61
- Commit the baseline files. Pass each file to the matching command with `--baseline <path>`. `fallow audit` uses `--dead-code-baseline`, `--health-baseline`, and `--dupes-baseline` instead. `--fail-on-baseline-growth` makes a committed baseline shrink-only. After a fix, `fallow baselines prune` removes the entries that match no current finding, so `--fail-on-stale-baseline` stays green. Point `audit.deadCodeBaseline`, `audit.healthBaseline` and `audit.dupesBaseline` at the files so that one command prunes all three. Tell the user how many findings the baseline contains, and suggest that the team removes them by category.
61
+ Commit the baseline files. Pass each file to the matching command with `--baseline <path>`. On bare `fallow`, `--baseline` holds the dead-code baseline only: pass the health and duplication files with `--health-baseline` and `--dupes-baseline`. The GitHub Action takes them as the `baseline`, `health-baseline` and `dupes-baseline` inputs, and the GitLab template as `FALLOW_BASELINE`, `FALLOW_HEALTH_BASELINE` and `FALLOW_DUPES_BASELINE`. `fallow audit` uses `--dead-code-baseline`, `--health-baseline`, and `--dupes-baseline` instead. `--fail-on-baseline-growth` makes a committed baseline shrink-only. After a fix, `fallow baselines prune` removes the entries that match no current finding, so `--fail-on-stale-baseline` stays green. Point `audit.deadCodeBaseline`, `audit.healthBaseline` and `audit.dupesBaseline` at the files so that one command prunes all three. Tell the user how many findings the baseline contains, and suggest that the team removes them by category.