@socketsecurity/cli 2.0.4 → 2.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
6
6
 
7
+ ## [2.0.6](https://github.com/SocketDev/socket-cli/releases/tag/v2.0.6) - 2025-10-31
8
+
9
+ ### Fixed
10
+ - Shadow npm spawn mechanism now properly uses spawnNode abstraction for SEA binary compatibility
11
+ - IPC handshake structure for shadow npm processes with correct parent_pid and subprocess fields
12
+
7
13
  ## [2.0.2](https://github.com/SocketDev/socket-cli/releases/tag/v2.0.2) - 2025-10-30
8
14
 
9
15
  ### Fixed
package/dist/cli.js.bz CHANGED
Binary file
@@ -1 +1 @@
1
- 54f054cbe7072e3331a3527d7374257ce64ebee69e21bba4de2d539ed40bb2bb cli.js.bz
1
+ 898c710a8d8b1efeee928e94387d701e896759067702e65b72924ee05a971331 cli.js.bz
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- "use strict";var{mkdirSync:o,readFileSync:s,unlinkSync:l,writeFileSync:d}=require("node:fs"),t=require("node:module"),n=require("node:path"),{brotliDecompressSync:u}=require("node:zlib"),a=n.join(__dirname,"cli.js.bz"),c=n.join(__dirname,"..","build"),m=s(a),r=u(m);o(c,{recursive:!0});var e=n.join(c,`cli-runtime-${process.pid}.js`);d(e,r);try{let i=new t(e,module.parent);i.filename=e,i.paths=t._nodeModulePaths(__dirname),i._compile(r.toString("utf-8"),e)}finally{try{l(e)}catch{}}
2
+ "use strict";var{mkdirSync:o,readFileSync:s,unlinkSync:l,writeFileSync:d}=require("node:fs");var t=require("node:module");var n=require("node:path");var{brotliDecompressSync:u}=require("node:zlib");var a=n.join(__dirname,"cli.js.bz");var c=n.join(__dirname,"..","build");var m=s(a);var r=u(m);o(c,{recursive:true});var e=n.join(c,`cli-runtime-${process.pid}.js`);d(e,r);try{const i=new t(e,module.parent);i.filename=e;i.paths=t._nodeModulePaths(__dirname);i._compile(r.toString("utf-8"),e)}finally{try{l(e)}catch{}}