GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: use npx @socketsecurity/socket-patch and add dependencies script by mikolalysenko · Pull Request #60 · SocketDev/socket-patch

Conversation

@mikolalysenko

@mikolalysenko Mikola Lysenko (mikolalysenko) commented Apr 8, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Update setup command to generate npx @socketsecurity/socket-patch apply (or pnpx for pnpm projects) instead of bare socket patch apply
  • Add dependencies lifecycle script alongside postinstall for npm v7+ compatibility
  • Detect pnpm projects via pnpm-lock.yaml / pnpm-workspace.yaml lockfile presence

Test plan

  • All 253 cargo tests pass
  • New tests for PackageManager detection, pnpm command generation, and dependencies script
  • E2E tests in depscan repo (updated in companion PR)

🤖 Generated with Claude Code

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Jake Verbaten (Raynos) and others added 3 commits April 6, 2026 12:24
@Raynos
Add explicit node types for TypeScript 6 compat (#51)
374de97
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
@mikolalysenko @claude
fix: use npx @socketsecurity/socket-patch and add dependencies script
2e97344
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) <[email protected]>
@mikolalysenko @claude
fix: use pnpm dlx instead of deprecated pnpx
8c5b2ca
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) <[email protected]>
@mikolalysenko

Mikola Lysenko (mikolalysenko) commented Apr 9, 2026

Copy link
Copy Markdown
Collaborator Author

Superseded by new PR with rebased changes on latest main

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mikolalysenko Mikola Lysenko (mikolalysenko) closed this Apr 9, 2026
@mikolalysenko Mikola Lysenko (mikolalysenko) mentioned this pull request Apr 9, 2026
fix: use npx/pnpm dlx @socketsecurity/socket-patch and add dependencies script #63
Merged
2 of 3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@mikolalysenko @Raynos
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.