You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add JavaScript/TypeScript dependency analyzer
- New JavaScriptDependencyAnalyzer supporting ESM and CommonJS imports
- Handles scoped packages (@org/pkg), Node.js built-ins, dynamic imports
- Add generic get_dependencies() method to base class for consistent API
- Update CLI to support javascript/typescript languages
- Add comprehensive tests (19 new tests) and perf benchmarks
- Update docs with Go and JavaScript analyzer documentation
* Update roadmap
* Bump version to 3.1.0
* Remove unnecessary export from __init__.py
Whether to include indirect dependencies. Defaults to `False`.
390
+
391
+
**Returns:**
392
+
393
+
* List of package import paths this package depends on
394
+
395
+
### JavaScriptDependencyAnalyzer
396
+
397
+
**Class: `JavaScriptDependencyAnalyzer`**
398
+
*(defined in `kit/dependency_analyzer/javascript_dependency_analyzer.py`)*
399
+
400
+
The `JavaScriptDependencyAnalyzer` extends the base `DependencyAnalyzer` to analyze JavaScript and TypeScript codebases, supporting both ESM (`import`) and CommonJS (`require`) module systems.
- All dependency analyzers store absolute file paths for resources, making it easy to locate components in complex codebases with files that might have the same name in different directories.
- Visualizations require the Graphviz software to be installed on your system.
364
483
365
484
- The dependency graph is built on first use and cached. If the codebase changes, you may need to call `build_dependency_graph()` again to refresh the analysis.
0 commit comments