Repository navigation
Build Socket 2.1 prerelease as a Node 27 SEA - #1705
Open
John-David Dalton (jdalton) wants to merge 1 commit into
Open
John-David Dalton (jdalton) wants to merge 1 commit into
John-David Dalton (jdalton) wants to merge 1 commit into
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
John-David Dalton (jdalton)
force-pushed
the
feat/v1x-node27-sea-vfs-socket
branch
from
November 9, 2026 16:18
160ae31 to
6cf8cd8
Compare
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
John-David Dalton (jdalton)
force-pushed
the
feat/v1x-node27-sea-vfs-socket
branch
4 times, most recently
from
November 9, 2026 17:51
f2f0176 to
235a989
Compare
John-David Dalton (jdalton)
force-pushed
the
feat/v1x-node27-sea-vfs-socket
branch
from
November 9, 2026 17:59
235a989 to
1e5a252
Compare
John-David Dalton (jdalton)
marked this pull request as ready for review
November 9, 2026 18:18
This branch has not been deployed
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
socketpackage, using Node's virtual file system for the bundled runtime and supported tools.Verification
git diff --checkpassed.The unit suite was run with Node 24 and
NO_COLORunset; the missing.env.localmessage during build is a warning.Note
High Risk
Large build-pipeline and dependency-inlining changes affect every distribution path (npm dist vs SEA), bundled third-party legal compliance, and standalone tool resolution (Bazel/cdxgen/synp).
Overview
Node 27 SEA packaging lands as a 2.1.0 prerelease: new Rollup configs bundle cdxgen and Synp into the VFS, roll provenance via
includedModulesInventoryPlugin/THIRD-PARTY-NOTICES.json, and stage curated license material undersrc/sea/licenses/. Dist builds honorSOCKET_SEA_BUILD(inventories for core, blessed-contrib, and copied blessed; skip package.json churn where appropriate).Build/runtime decoupling from
@socketsecurity/registry: helpers move toscripts/utils/registry-helpers.js, runtime imports shift to localsrc/utils/*(logger, spawn, prompts, fs, etc.),@socketsecurity/registryis no longer external/copied, andbin/cli.jsspawns throughdist/utils.js. Build constants inscripts/constants.jsare local, withSOCKET_SEA_DIST_DIR/SOCKET_SEA_EXTERNAL_DIRoverrides.Standalone behavior:
isStandaloneSea()tightens Bazel resolution (native binary only, no Bazelisk/Node launchers); README documentsSOCKET_CLI_SOCKET_PATCH_PATH.Repo hygiene and CI:
.gitignoreswitches to deny-all with an explicit allowlist; integration (scripts/test/integration.mts) and native SEA (scripts/test/native.mts) test scripts join the matrix; Apple signing helpercapture.mtsis added; package bumps inquirer/cross-spawn, removes registry deps, and extends test scripts.Reviewed by Cursor Bugbot for commit 1e5a252. Configure here.