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: v2.1.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.1.2
Choose a head ref
  • 6 commits
  • 24 files changed
  • 3 contributors

Commits on Apr 3, 2026

  1. Add explicit node types for TypeScript 6 compat (#51)

    TypeScript 6.0 changed the default types behavior
    so node types are no longer auto-included. This
    fixes builds in projects that use TS 6.
    
    Made-with: Cursor
    Raynos authored Apr 3, 2026
    Configuration menu
    Copy the full SHA
    5960fb5 View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2026

  1. fix: harden core error handling, blob verification, and force-mode re…

    …porting (#56)
    
    - Propagate real I/O and parse errors from read_manifest instead of
      silently returning Ok(None), so callers see the actual failure reason
    - Verify downloaded blob content hash before writing to disk, rejecting
      corrupted or mismatched data at fetch time
    - Distinguish all-AlreadyPatched from all-NotFound in --force mode,
      surfacing an informational message when patch files are skipped
    
    Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
    Wenxin-Jiang and claude authored Apr 7, 2026
    Configuration menu
    Copy the full SHA
    d25e60c View commit details
    Browse the repository at this point in the history
  2. fix: add diagnostics to apply command for silent no-op failures in CI (

    …#53)
    
    When `apply` runs in CI and no packages match manifest patches, it
    previously exited 0 silently, masking configuration errors. This change:
    
    - Tracks which manifest entries actually matched installed packages
    - Returns exit code 1 when targeted patches exist but nothing matched
    - Emits per-PURL warnings for unmatched manifest entries
    - Adds a post-apply summary (applied/already-patched/not-found counts)
    - Includes `unmatchedPatches` and `unmatchedPurls` in JSON output
    - Changes `apply_patches_inner` signature to return unmatched PURLs
    
    Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
    Wenxin-Jiang and claude authored Apr 7, 2026
    Configuration menu
    Copy the full SHA
    3764c0b View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2026

  1. fix: surface find_by_purls errors instead of silently swallowing them (

    …#55)
    
    Replace all `if let Ok(packages) = crawler.find_by_purls(...)` with
    `match` blocks that log warnings on Err when not in silent mode.
    Previously, per-path crawler failures (corrupt manifests, permission
    denied, etc.) were silently dropped, causing packages to vanish from
    discovery without any diagnostic output.
    
    Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
    Wenxin-Jiang and claude authored Apr 8, 2026
    Configuration menu
    Copy the full SHA
    1d59887 View commit details
    Browse the repository at this point in the history
  2. fix: add error handling to get command for blob writes, decodes, and …

    …dir creation (#54)
    
    Replace silent .ok() calls on directory creation, blob writes, and
    base64 decodes with proper error propagation. Fix the always-exit-0
    bug by returning non-zero exit codes on partial failures and apply
    failures. Track apply outcome to accurately report "applied" count
    in JSON output. Apply the same fixes to both batch and one-off
    (save_and_apply_patch) code paths.
    
    Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
    Wenxin-Jiang and claude authored Apr 8, 2026
    Configuration menu
    Copy the full SHA
    c1a2bc0 View commit details
    Browse the repository at this point in the history
  3. v2.1.2: bump and sync package versions (#57)

    Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
    Wenxin-Jiang and claude authored Apr 8, 2026
    Configuration menu
    Copy the full SHA
    717f556 View commit details
    Browse the repository at this point in the history
Loading