chore: cascade bump — socket-registry refs + @socketsecurity/lib 5.19.1 + register .claude/hooks/* + lib-stub expansion#596
Open
John-David Dalton (jdalton) wants to merge 1 commit intomainfrom
Conversation
3917f67 to
c98d145
Compare
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
3 tasks
2 tasks
…workspace hooks + lib-stub expansion Squash of the full cascade sync branch: 1. socket-registry action refs bumped to @3362af95fadd1e325cb48e9ad6daff21c112bd72. Cascades the pnpm 11.0.0-rc.0 → 11.0.0-rc.2 bump from socket-registry. 2. .github/workflows/weekly-update.yml reduced to a thin 20-line delegator calling SocketDev/socket-registry/.github/workflows/weekly-update.yml. 3. @socketsecurity/lib bumped 5.18.2 → 5.20.1 (via 5.19.0, 5.19.1). Hook manifest .claude/hooks/check-new-deps/package.json kept in lockstep. Brings the new dlx pin pipeline, pacote shim fix, DlxBinaryOptions.hash, and stdio/prompts restoration. 4. pnpm-workspace.yaml packages glob now includes .claude/hooks/* so taze bumps hook manifests automatically. 5. createLibStubPlugin in .config/esbuild.config.mts also stubs external/del.js + external/cacache.js (eagerly loaded by lib/fs + lib/cacache but unused by the SDK). 6. fix(publish): gate --provenance on GITHUB_ACTIONS so local publish runs don't break. 7. Fixes pre-existing printFooter imports in scripts/build.mts + scripts/check.mts that pulled from lib/stdio/header where printFooter never lived. 5.18.2's loose subpath exports hid the bug; 5.19.x surfaces it. Folds PR #601 (socket-registry 3362af95 bump) into this cascade.
092bbd0 to
48a4b16
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Multi-repo cascade sync:
1. socket-registry refs (SHA pin bump)
SocketDev/socket-registry/.github/...@<SHA>refs in.github/workflows/→@3362af95fadd1e325cb48e9ad6daff21c112bd72.This cascades the pnpm 11.0.0-rc.0 → 11.0.0-rc.2 bump from socket-registry. Folds #601 into this PR.
2. weekly-update delegation
.github/workflows/weekly-update.ymlreduced to a thin 20-line delegator callingSocketDev/socket-registry/.github/workflows/weekly-update.yml@3362af95.3. @socketsecurity/lib 5.19.1 bump
package.jsondev dep@socketsecurity/libbumped from5.18.2→5.19.1. Hook manifest.claude/hooks/check-new-deps/package.jsonalso bumped (subsequently synced to5.20.1on this branch).lib 5.19.x brings:
dlx/integrity,dlx/arborist,dlx/lockfile) withgeneratePackagePin()+ default 7-day minimum-release-agepacoteshim exposestarball/manifest/packument(fixes latent runtime crash infetchPackageManifest/fetchPackagePackument)DlxBinaryOptions.hash?/DlxPackageOptions.hash?/DlxPackageOptions.lockfile?optionsdist/external/via stub coverage of sigstore/tuf/arborist internals + zod v4 locales + debug/browserstdio/{prompts,progress,clear}+ vendored@inquirer/*shims that 5.19.0 accidentally removedFixes pre-existing
printFooterimports inscripts/build.mts+scripts/check.mtsthat pulled fromlib/stdio/header(whereprintFooternever lived). 5.18.2's loose subpath exports hid the bug; 5.19.x surfaces it.4. Register
.claude/hooks/*as workspace packagespnpm-workspace.yamlpackages:glob now includes.claude/hooks/*. Taze (run viapnpm run update) now sees and bumps the hook manifests automatically, so they stay in lockstep with the root without manual sed.5. Expand SDK's libStubPlugin pattern
createLibStubPluginin.config/esbuild.config.mtsnow also stubsexternal/del.js+external/cacache.js. Both are eagerly loaded by@socketsecurity/lib/dist/fs.js(lazygetDel()) and@socketsecurity/lib/dist/cacache.js, but SDK never callssafeDelete/safeDeleteSyncandcache-with-ttldegrades gracefully.Cascade
Test plan
grep -rn "SocketDev/socket-registry" .github/ | grep "@" | grep -v 3362af95returns nothinggrep @socketsecurity/lib package.json .claude/hooks/check-new-deps/package.jsonshows 5.19.1+pnpm run updatenow traverses.claude/hooks/*package.jsons too