fallow 1.3.1 → 1.5.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.
Files changed (2) hide show
  1. package/README.md +2 -1
  2. package/package.json +8 -8
package/README.md CHANGED
@@ -20,6 +20,7 @@ npm install -g fallow
20
20
  fallow check # Unused code analysis -- zero config, sub-second
21
21
  fallow dupes # Duplication detection -- find copy-paste clones
22
22
  fallow dupes --mode semantic # Catch clones with renamed variables
23
+ fallow health # Complexity metrics -- cyclomatic + cognitive
23
24
  fallow fix --dry-run # Preview auto-removal of unused exports and deps
24
25
  ```
25
26
 
@@ -31,7 +32,7 @@ fallow fix --dry-run # Preview auto-removal of unused exports and de
31
32
  - **Unused dependencies** -- packages in `dependencies` never imported
32
33
  - **Unused devDependencies** -- dev packages not referenced
33
34
  - **Unused enum members** -- enum values never referenced
34
- - **Unused class members** -- class methods and properties never referenced
35
+ - **Unused class members** -- class methods and properties never referenced (tracks instance usage: `const svc = new MyService(); svc.greet()` counts `greet` as used)
35
36
  - **Unresolved imports** -- import specifiers that cannot be resolved
36
37
  - **Unlisted dependencies** -- imported packages missing from `package.json`
37
38
  - **Duplicate exports** -- same symbol exported from multiple modules
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fallow",
3
- "version": "1.3.1",
3
+ "version": "1.5.0",
4
4
  "description": "Find unused code, circular dependencies, and code duplication in JavaScript/TypeScript projects",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -39,12 +39,12 @@
39
39
  "detect-libc": "^2.0.0"
40
40
  },
41
41
  "optionalDependencies": {
42
- "@fallow-cli/darwin-arm64": "1.3.1",
43
- "@fallow-cli/darwin-x64": "1.3.1",
44
- "@fallow-cli/linux-x64-gnu": "1.3.1",
45
- "@fallow-cli/linux-arm64-gnu": "1.3.1",
46
- "@fallow-cli/linux-x64-musl": "1.3.1",
47
- "@fallow-cli/linux-arm64-musl": "1.3.1",
48
- "@fallow-cli/win32-x64-msvc": "1.3.1"
42
+ "@fallow-cli/darwin-arm64": "1.5.0",
43
+ "@fallow-cli/darwin-x64": "1.5.0",
44
+ "@fallow-cli/linux-x64-gnu": "1.5.0",
45
+ "@fallow-cli/linux-arm64-gnu": "1.5.0",
46
+ "@fallow-cli/linux-x64-musl": "1.5.0",
47
+ "@fallow-cli/linux-arm64-musl": "1.5.0",
48
+ "@fallow-cli/win32-x64-msvc": "1.5.0"
49
49
  }
50
50
  }