Title: fix: use npx/pnpm dlx @socketsecurity/socket-patch and add dependencies script by mikolalysenko · Pull Request #63 · SocketDev/socket-patch · GitHub
Open Graph Title: fix: use npx/pnpm dlx @socketsecurity/socket-patch and add dependencies script by mikolalysenko · Pull Request #63 · SocketDev/socket-patch
X Title: fix: use npx/pnpm dlx @socketsecurity/socket-patch and add dependencies script by mikolalysenko · Pull Request #63 · SocketDev/socket-patch
Description: Summary Update setup command to generate npx @socketsecurity/socket-patch apply (or pnpm dlx 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 Add PackageManager enum threaded through detect -> update -> setup pipeline Rebased on latest main (v2.1.4), incorporates upstream PackageJsonFindResult and pnpm monorepo root-only filtering. Supersedes #60. Test plan All 268 cargo tests pass (including upstream's new tests) New tests for PackageManager detection, pnpm dlx command generation, and dependencies script E2E tests in depscan repo (companion PR: SocketDev/depscan#19148) 🤖 Generated with Claude Code
Open Graph Description: Summary Update setup command to generate npx @socketsecurity/socket-patch apply (or pnpm dlx for pnpm projects) instead of bare socket patch apply Add dependencies lifecycle script alongside posti...
X Description: Summary Update setup command to generate npx @socketsecurity/socket-patch apply (or pnpm dlx for pnpm projects) instead of bare socket patch apply Add dependencies lifecycle script alongside posti...
Opengraph URL: https://github.com/SocketDev/socket-patch/pull/63
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:85b0c4ed-a0a2-dbdd-2d4e-3851798bf0a6 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CF90:1A12B5:3D1B14C:554D5DC:6A4F59E7 |
| html-safe-nonce | d49569a94d39ab14c339bdefcd4971c8470ead1675bff1de0c438f1aeb3531e5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjkwOjFBMTJCNTozRDFCMTRDOjU1NEQ1REM6NkE0RjU5RTciLCJ2aXNpdG9yX2lkIjoiNjg1NDUwNTA2NTg3MDIxOTc1MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 51b1bf2c7b65251e9c808e7538ca075c3994400fed51d2f0a7d999acfce55e23 |
| hovercard-subject-tag | pull_request:3510377807 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/SocketDev/socket-patch/pull/63/files |
| twitter:image | https://avatars.githubusercontent.com/u/231686?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/231686?s=400&v=4 |
| og:image:alt | Summary Update setup command to generate npx @socketsecurity/socket-patch apply (or pnpm dlx for pnpm projects) instead of bare socket patch apply Add dependencies lifecycle script alongside posti... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/SocketDev/socket-patch git https://github.com/SocketDev/socket-patch.git |
| octolytics-dimension-user_id | 69326764 |
| octolytics-dimension-user_login | SocketDev |
| octolytics-dimension-repository_id | 1093661456 |
| octolytics-dimension-repository_nwo | SocketDev/socket-patch |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1093661456 |
| octolytics-dimension-repository_network_root_nwo | SocketDev/socket-patch |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4b249b445842943ed31549e027f57a8ade9881ed |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width