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: main
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: chore/update-patch-setup-command
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 3 commits
  • 6 files changed
  • 3 contributors

Commits on Apr 6, 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 committed Apr 6, 2026
    Configuration menu
    Copy the full SHA
    374de97 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2026

  1. fix: use npx @socketsecurity/socket-patch and add dependencies script

    Update the setup command to generate the correct npx/pnpx command
    prefix based on lockfile detection, and configure both postinstall
    and dependencies lifecycle scripts.
    
    - Add PackageManager enum (Npm/Pnpm) with lockfile detection
    - Generate `npx @socketsecurity/socket-patch apply` for npm projects
    - Generate `pnpx @socketsecurity/socket-patch apply` for pnpm projects
    - Add dependencies lifecycle script alongside postinstall
    - Thread PackageManager through detect -> update -> setup pipeline
    
    Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
    mikolalysenko and claude committed Apr 8, 2026
    Configuration menu
    Copy the full SHA
    2e97344 View commit details
    Browse the repository at this point in the history
  2. fix: use pnpm dlx instead of deprecated pnpx

    Replace pnpx with pnpm dlx for better compatibility. pnpx has been
    deprecated since pnpm v7 in favor of pnpm dlx.
    
    Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
    mikolalysenko and claude committed Apr 8, 2026
    Configuration menu
    Copy the full SHA
    8c5b2ca View commit details
    Browse the repository at this point in the history
Loading