Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

child_process-remote

Package Overview
Dependencies
Maintainers
3
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

child_process-remote - npm Package Compare versions

Comparing version 1.0.1 to 1.1.0

2

package.json
{
"name": "child_process-remote",
"version": "1.0.1",
"version": "1.1.0",
"description": "child_process spawn over TCP",

@@ -5,0 +5,0 @@ "main": "spawn.js",

@@ -35,3 +35,3 @@ "use strict";

var child = spawn(data.cmd, data.args);
var child = spawn(...data.query);

@@ -53,4 +53,6 @@ var payload = { type : 'pid', pid : child.pid };

child.stdout.pipe(remotestdout);
child.stderr.pipe(remotestderr);
if(child.stdout)
child.stdout.pipe(remotestdout);
if(child.stderr)
child.stderr.pipe(remotestderr);
}

@@ -57,0 +59,0 @@ }

@@ -18,3 +18,3 @@ "use strict";

return function(cmd, args) {
return function(...query) {

@@ -32,3 +32,3 @@ const multi = multiplex();

var payload = { cmd, args };
var payload = {query};
debug('Send payload', payload);

@@ -35,0 +35,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc