#51675: build: replace abstract-socket git fork with yarn patch
Merged
Created: May 18, 2026, 2:40:19 AM
Merged: May 18, 2026, 2:33:11 PM
2 comments
Target: main
The deepak1556/node-abstractsocket fork carries an N-API rewrite of src/abstract_socket.cc plus cross-OS install support on top of upstream's unpublished v2.1.1. Neither is on npm (latest is 2.0.0) or in upstream git, so this vendors the diff as a yarn patch to drop the external git dependency.
.yarn/patches/abstract-socket-npm-2.0.0-b025d8ca5a.patch— npm 2.0.0 → fork diff (binding.gyp, lib, src, package.json)packageExtensionsin.yarnrc.ymladdsnode-addon-apisince Yarn'spatch:protocol ignoresdependenciesedits in patched manifests- The base
os: ["linux"]is left intact; under Yarn Berry it skips linking on non-Linux rather than erroring, which is fine for a Linux-only dbus test dep
Notes: none
Backports
No Backports Requested
This pull request doesn't have any backports requested or created for older release branches.
What are backports?
Backports are copies of changes made to the main branch that are applied to older release branches. They ensure that bug fixes and important changes are available in maintained older versions of Electron.
Semver Impact
Major
Breaking changes
Minor
New features
Patch
Bug fixes
None
Docs, tests, etc.
Semantic Versioning helps users understand the impact of updates:
- Major (X.y.z): Breaking changes that may require code modifications
- Minor (x.Y.z): New features that maintain backward compatibility
- Patch (x.y.Z): Bug fixes that don't change the API
- None: Changes that don't affect using facing parts of Electron