
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
@context-action/deps-cli
Advanced tools
Enhanced dependency analysis CLI tool with 99%+ accuracy - AST-based TypeScript/JavaScript dependency analyzer
Enhanced Dependency Analysis CLI tool with 99%+ accuracy
AST 기반 고정밀도 의존성 분석으로 TypeScript/JavaScript 프로젝트의 복잡한 의존성 관계를 정확하게 파악하는 현대적 CLI 도구입니다.
.js import → .ts 파일 매칭# 프로젝트 클론
git clone <repository-url>
cd deps-cli
# 의존성 설치 및 빌드
npm install
npm run build
# 전체 프로젝트 분석
node dist/bin.js analyze-enhanced .
# 미사용 파일 찾기
node dist/bin.js find-unused-files-enhanced
# 특정 파일 사용처 찾기
node dist/bin.js find-usages-enhanced src/utils/helper.ts
# 미사용 메서드 찾기
node dist/bin.js find-unused-methods-enhanced
# 메서드 사용처 찾기
node dist/bin.js find-method-usages-enhanced UserService addUser
| 명령어 | 용도 | 실행 시간 | 정확도 |
|---|---|---|---|
analyze-enhanced | 전체 의존성 분석 | ~0.4초 | 99%+ |
find-usages-enhanced | 파일 사용처 찾기 | ~0.4초 | 100% |
find-method-usages-enhanced | 메서드 사용처 찾기 | ~0.4초 | 99%+ |
find-unused-files-enhanced | 미사용 파일 탐지 | ~0.4초 | 100% |
find-unused-methods-enhanced | 미사용 메서드 탐지 | ~0.4초 | 99%+ |
# JSON 형식 출력
node dist/bin.js analyze-enhanced . --format json
# 상세 출력
node dist/bin.js find-unused-files-enhanced --verbose
# 모든 옵션
node dist/bin.js <command> --help
| 항목 | Legacy System | Enhanced System | 개선율 |
|---|---|---|---|
| 정확도 | 87% | 99%+ | +12% |
| 파일 탐지 | 부정확 | 100% 정확 | 완전 해결 |
| 분석 속도 | 40ms+ | 즉시 | 그래프 기반 |
| 아키텍처 | 정규식 | AST 기반 | 현대적 |
자세한 성능 분석은 성능 비교 문서를 참조하세요.
Enhanced Dependency Analysis System
├── AST Parser # TypeScript/JavaScript 구문 분석
├── Export Extractor # Export 정보 정확 추출
├── Dependency Graph # 파일 간 의존성 관계 구축
├── Entry Point Detector # 엔트리 포인트 자동 식별
└── Analysis Engine # 5가지 분석 기능 제공
# 전체 테스트 실행
npm test
# Enhanced CLI 테스트만 실행
npm test enhanced-cli
# 테스트 커버리지
npm run test:coverage
테스트 결과: 30/30 통과 (100% 성공률)
src/
├── bin.ts # CLI 엔트리 포인트
├── analyzers/
│ └── EnhancedDependencyAnalyzer.ts # 메인 분석 엔진
├── config/ # 설정 관리
├── adapters/ # 환경 어댑터
└── types/ # 타입 정의
# 개발 모드
npm run dev
# 빌드
npm run build
# 린트
npm run lint
# 타입 체크
npm run type-check
| Legacy 명령어 | Enhanced 명령어 | 개선사항 |
|---|---|---|
analyze | analyze-enhanced | AST 기반, 99%+ 정확도 |
find-usages | find-usages-enhanced | TypeScript 완벽 지원 |
find-unused-files | find-unused-files-enhanced | False positive 제거 |
find-unused-methods | find-unused-methods-enhanced | 정밀한 메서드 분석 |
check-exports | (통합됨) | Enhanced 명령어에 포함 |
Legacy 명령어는 v2.0.0에서 완전히 제거되었습니다.
git checkout -b feature/amazing-feature)git commit -m 'Add amazing feature')git push origin feature/amazing-feature)MIT License - 자세한 내용은 LICENSE 파일을 참조하세요.
deps-cli v2.0.0 - AST 기반 99%+ 정확도 의존성 분석 시스템 🚀
FAQs
Enhanced dependency analysis CLI tool with 99%+ accuracy - AST-based TypeScript/JavaScript dependency analyzer
We found that @context-action/deps-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.