Skip to main content

Fix Command

The fix command applies fixes from a previous analysis without re-running the analysis.

Usage

Options

How It Works

Session Caching

When you run npx depfixer and complete the payment but don’t apply fixes, the session is saved:

Applying Fixes Later

Hash Verification

DepFixer verifies your package.json hasn’t changed since the analysis:

Session File Structure

The session is stored in .depfixer/session.json:

Use Cases

Deferred Fixes

  1. Run analysis during work hours
  2. Review changes with team
  3. Apply fixes during maintenance window

Backup

When fixes are applied, DepFixer creates a backup:
To restore:

Error Handling

No Session Found

Unpaid Session