fallow 3.6.0 → 3.7.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/capabilities.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fallow",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.7.0",
|
|
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.
|
|
3
|
+
"version": "3.7.0",
|
|
4
4
|
"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.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -87,13 +87,13 @@
|
|
|
87
87
|
"@tanstack/intent": "0.3.5"
|
|
88
88
|
},
|
|
89
89
|
"optionalDependencies": {
|
|
90
|
-
"@fallow-cli/darwin-arm64": "3.
|
|
91
|
-
"@fallow-cli/darwin-x64": "3.
|
|
92
|
-
"@fallow-cli/linux-x64-gnu": "3.
|
|
93
|
-
"@fallow-cli/linux-arm64-gnu": "3.
|
|
94
|
-
"@fallow-cli/linux-x64-musl": "3.
|
|
95
|
-
"@fallow-cli/linux-arm64-musl": "3.
|
|
96
|
-
"@fallow-cli/win32-arm64-msvc": "3.
|
|
97
|
-
"@fallow-cli/win32-x64-msvc": "3.
|
|
90
|
+
"@fallow-cli/darwin-arm64": "3.7.0",
|
|
91
|
+
"@fallow-cli/darwin-x64": "3.7.0",
|
|
92
|
+
"@fallow-cli/linux-x64-gnu": "3.7.0",
|
|
93
|
+
"@fallow-cli/linux-arm64-gnu": "3.7.0",
|
|
94
|
+
"@fallow-cli/linux-x64-musl": "3.7.0",
|
|
95
|
+
"@fallow-cli/linux-arm64-musl": "3.7.0",
|
|
96
|
+
"@fallow-cli/win32-arm64-msvc": "3.7.0",
|
|
97
|
+
"@fallow-cli/win32-x64-msvc": "3.7.0"
|
|
98
98
|
}
|
|
99
99
|
}
|
|
@@ -510,7 +510,7 @@ fallow health --format json --quiet --trend
|
|
|
510
510
|
{
|
|
511
511
|
"kind": "health",
|
|
512
512
|
"schema_version": 7,
|
|
513
|
-
"version": "3.
|
|
513
|
+
"version": "3.7.0",
|
|
514
514
|
"elapsed_ms": 32,
|
|
515
515
|
"summary": {
|
|
516
516
|
"files_analyzed": 482,
|
|
@@ -908,7 +908,7 @@ fallow audit \
|
|
|
908
908
|
{
|
|
909
909
|
"kind": "audit",
|
|
910
910
|
"schema_version": 7,
|
|
911
|
-
"version": "3.
|
|
911
|
+
"version": "3.7.0",
|
|
912
912
|
"command": "audit",
|
|
913
913
|
"verdict": "fail",
|
|
914
914
|
"changed_files_count": 12,
|
|
@@ -983,7 +983,7 @@ fallow flags --format json --quiet --workspace my-package
|
|
|
983
983
|
```json
|
|
984
984
|
{
|
|
985
985
|
"schema_version": 7,
|
|
986
|
-
"version": "3.
|
|
986
|
+
"version": "3.7.0",
|
|
987
987
|
"elapsed_ms": 116,
|
|
988
988
|
"feature_flags": [],
|
|
989
989
|
"total_flags": 0
|
|
@@ -1084,7 +1084,7 @@ fallow security --gate newly-reachable --changed-since origin/main
|
|
|
1084
1084
|
{
|
|
1085
1085
|
"kind": "security",
|
|
1086
1086
|
"schema_version": "4",
|
|
1087
|
-
"version": "3.
|
|
1087
|
+
"version": "3.7.0",
|
|
1088
1088
|
"elapsed_ms": 42,
|
|
1089
1089
|
"config": {
|
|
1090
1090
|
"rules": {
|
|
@@ -1113,7 +1113,7 @@ fallow security --gate newly-reachable --changed-since origin/main
|
|
|
1113
1113
|
{
|
|
1114
1114
|
"kind": "security",
|
|
1115
1115
|
"schema_version": "4",
|
|
1116
|
-
"version": "3.
|
|
1116
|
+
"version": "3.7.0",
|
|
1117
1117
|
"elapsed_ms": 42,
|
|
1118
1118
|
"config": {
|
|
1119
1119
|
"rules": {
|
|
@@ -1838,7 +1838,7 @@ The HTTP layer mirrors the bash `gh_api_retry` / `curl_retry` helpers: `FALLOW_A
|
|
|
1838
1838
|
{
|
|
1839
1839
|
"kind": "dead-code",
|
|
1840
1840
|
"schema_version": 7,
|
|
1841
|
-
"version": "3.
|
|
1841
|
+
"version": "3.7.0",
|
|
1842
1842
|
"elapsed_ms": 45,
|
|
1843
1843
|
"total_issues": 12,
|
|
1844
1844
|
"entry_points": {
|
|
@@ -1998,7 +1998,7 @@ When `--baseline` is used in combined output, the JSON includes a `baseline_delt
|
|
|
1998
1998
|
{
|
|
1999
1999
|
"kind": "dupes",
|
|
2000
2000
|
"schema_version": 7,
|
|
2001
|
-
"version": "3.
|
|
2001
|
+
"version": "3.7.0",
|
|
2002
2002
|
"elapsed_ms": 82,
|
|
2003
2003
|
"total_clones": 15,
|
|
2004
2004
|
"total_lines_duplicated": 230,
|
|
@@ -2042,11 +2042,11 @@ When running `fallow` with no subcommand (all analyses), the JSON output combine
|
|
|
2042
2042
|
{
|
|
2043
2043
|
"kind": "combined",
|
|
2044
2044
|
"schema_version": 7,
|
|
2045
|
-
"version": "3.
|
|
2045
|
+
"version": "3.7.0",
|
|
2046
2046
|
"elapsed_ms": 159,
|
|
2047
2047
|
"check": {
|
|
2048
2048
|
"schema_version": 7,
|
|
2049
|
-
"version": "3.
|
|
2049
|
+
"version": "3.7.0",
|
|
2050
2050
|
"elapsed_ms": 45,
|
|
2051
2051
|
"total_issues": 12,
|
|
2052
2052
|
"unused_files": [],
|
|
@@ -14,7 +14,7 @@ const dupes = await detectDuplication({ root: process.cwd(), mode: 'mild', minTo
|
|
|
14
14
|
const health = await computeHealth({ root: process.cwd(), score: true, ownershipEmails: 'handle' });
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
Seven async functions: `detectDeadCode`, `detectCircularDependencies`, `detectBoundaryViolations`, `detectDuplication`, `detectFeatureFlags`, `computeComplexity`, `computeHealth`. Each returns the same JSON envelope the CLI emits for `--format json`. Rejected promises throw a `FallowNodeError` with `message`, `exitCode`, and optional `code`, `help`, `context` fields that mirror the CLI's structured error surface.
|
|
18
18
|
|
|
19
19
|
Enum-like fields take lowercase CLI-style literals (`"mild"`, `"cyclomatic"`, `"handle"`, `"low"`). Write-path commands (`fix`, `init`, `hooks install`, `hooks uninstall`, `license activate`, `coverage setup`) are not exposed; use the CLI for those.
|
|
20
20
|
|