You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(sfw): use separate versions for SEA and npm CLI distributions
- SEA builds use GitHub binary from SocketDev/sfw-free (v1.6.1)
- npm CLI uses npm package sfw (2.0.4) which downloads binary on demand
- Rename 'version' to 'githubRelease' for github-release type tools
- Add 'npmVersion' field for sfw npm package version
- Update environment-variables, vfs-extract, and resolve-binary accordingly
Copy file name to clipboardExpand all lines: packages/cli/external-tools.json
+10-8Lines changed: 10 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"$schema": "External tools configuration for Socket CLI VFS bundling",
3
-
"$comment": "Build process uses @npmcli/arborist (scripts/sea-build-utils/npm-packages.mjs) to download npm packages with full dependency trees. npm packages are bundled with node_modules/ into VFS alongside security tool binaries.",
3
+
"$comment": "Build process uses @npmcli/arborist (scripts/sea-build-utils/npm-packages.mjs) to download npm packages with full dependency trees. npm packages are bundled with node_modules/ into VFS alongside security tool binaries. For github-release types, 'githubRelease' is the release tag (any format: v1.6.1, 3.11.14, etc.).",
4
4
"@coana-tech/cli": {
5
5
"description": "Coana CLI for static analysis and reachability detection",
6
6
"type": "npm",
@@ -17,13 +17,13 @@
17
17
"description": "OpenGrep SAST/code analysis engine (fork of Semgrep)",
18
18
"type": "github-release",
19
19
"repository": "opengrep/opengrep",
20
-
"version": "v1.16.0"
20
+
"githubRelease": "v1.16.0"
21
21
},
22
22
"python": {
23
23
"description": "Python runtime from python-build-standalone",
0 commit comments