Update Dependencies
Update and modernize project dependencies with safety checks: $ARGUMENTS
Current Dependencies State
- Package manager: @package.json or @requirements.txt or @Cargo.toml (detect package manager)
- Outdated packages: !
npm outdated 2>/dev/null || pip list --outdated 2>/dev/null || echo "Manual check needed"
- Security issues: !
npm audit --audit-level=moderate 2>/dev/null || pip check 2>/dev/null || echo "Run security audit"
- Lock files: @package-lock.json or @poetry.lock or @Cargo.lock
Task
Systematically update project dependencies with comprehensive testing and compatibility validation:
Update Strategy: Use $ARGUMENTS to specify patch updates, minor updates, major updates, or security-only updates
Update Process:
- Dependency Analysis - Audit current versions, identify outdated packages, assess security vulnerabilities
- Impact Assessment - Check changelogs, breaking changes, deprecation warnings, compatibility matrix
- Staged Updates - Apply patch updates first, then minor, finally major versions with testing between stages
- Testing & Validation - Run full test suite, build verification, integration testing, performance checks
- Rollback Strategy - Document changes, create restore points, maintain rollback procedures
- Documentation Updates - Update README, dependencies list, migration guides, team notifications
Safety Features: Automated testing between updates, dependency conflict resolution, security vulnerability prioritization.
Output: Updated dependency manifest with comprehensive testing results, security audit report, and upgrade documentation.
1---2name: update-dependencies3description: Update and modernize project dependencies with safety checks: $ARGUMENTS4---56# Update Dependencies78Update and modernize project dependencies with safety checks: **$ARGUMENTS**910## Current Dependencies State1112- Package manager: @package.json or @requirements.txt or @Cargo.toml (detect package manager)13- Outdated packages: !`npm outdated 2>/dev/null || pip list --outdated 2>/dev/null || echo "Manual check needed"`14- Security issues: !`npm audit --audit-level=moderate 2>/dev/null || pip check 2>/dev/null || echo "Run security audit"`15- Lock files: @package-lock.json or @poetry.lock or @Cargo.lock1617## Task1819Systematically update project dependencies with comprehensive testing and compatibility validation:2021**Update Strategy**: Use $ARGUMENTS to specify patch updates, minor updates, major updates, or security-only updates2223**Update Process**:241. **Dependency Analysis** - Audit current versions, identify outdated packages, assess security vulnerabilities252. **Impact Assessment** - Check changelogs, breaking changes, deprecation warnings, compatibility matrix263. **Staged Updates** - Apply patch updates first, then minor, finally major versions with testing between stages274. **Testing & Validation** - Run full test suite, build verification, integration testing, performance checks285. **Rollback Strategy** - Document changes, create restore points, maintain rollback procedures296. **Documentation Updates** - Update README, dependencies list, migration guides, team notifications3031**Safety Features**: Automated testing between updates, dependency conflict resolution, security vulnerability prioritization.3233**Output**: Updated dependency manifest with comprehensive testing results, security audit report, and upgrade documentation.