Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: SocketDev/socket-patch
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.7.1
Choose a base ref
...
head repository: SocketDev/socket-patch
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.0.0
Choose a head ref
  • 2 commits
  • 18 files changed
  • 3 contributors

Commits on Mar 6, 2026

  1. feat: interactive prompts and smart patch selection (#37)

    * feat: add interactive prompts and smart patch selection
    
    - Add shared confirm() and select_one() prompt utilities to output.rs
    - Smart patch selection: paid users auto-select best paid patch per PURL,
      free users with multiple patches get dialoguer interactive selection
    - Default-YES confirmation prompts (Y/n) for get, scan, and remove
    - Add -y/--yes flag to scan and remove commands to skip prompts
    - JSON mode never prompts; returns selection_required error with full
      vulnerability details when explicit selection is needed
    - Scan now shows detailed patch summary (severity, CVEs, descriptions)
      before confirming download
    - Remove shows what will be removed before confirming rollback
    - Extract download_and_apply_patches() shared between get and scan
    - Add patch update detection in scan table and download flow
    
    Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
    
    * fix: resolve clippy lints for CI
    
    - Use is_none_or instead of map_or(true, ...)
    - Use .values() instead of destructuring with unused key
    
    Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
    
    ---------
    
    Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
    mikolalysenko and claude authored Mar 6, 2026
    Configuration menu
    Copy the full SHA
    4271625 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6127887 View commit details
    Browse the repository at this point in the history
Loading