Socket
Socket
Sign inDemoInstall

machinepack-process

Package Overview
Dependencies
19
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.0.0-1 to 4.0.0-2

4

lib/spawn-child-process.js

@@ -92,3 +92,3 @@ module.exports = {

// Determine the appropriate `cwd` for `child_process.spawn()`.
if (_.isUndefined(inputs.dir)) {
if (inputs.dir === undefined) {
// Default directory to current working directory

@@ -105,3 +105,3 @@ childProcOpts.cwd = process.cwd();

// (Otherwise, by default, the child process receives the parent process's `process.env`)
if (!_.isUndefined(inputs.environmentVars)) {
if (inputs.environmentVars !== undefined) {
// Notice that we carefully expose parent process's env variables to the

@@ -108,0 +108,0 @@ // child process's environment, while still letting the deliberately passed-in

{
"name": "machinepack-process",
"version": "4.0.0-1",
"version": "4.0.0-2",
"description": "Work with child procs and the running process.",

@@ -19,3 +19,3 @@ "scripts": {

"@sailshq/lodash": "^3.10.2",
"machine": "^15.0.0-3",
"machine": "^15.0.0-23",
"machinepack-json": "^2.0.0",

@@ -26,5 +26,5 @@ "open": "0.0.5"

"async": "2.0.1",
"eslint": "3.19.0",
"eslint": "4.11.0",
"mocha": "3.0.2",
"test-machinepack-mocha": "^2.1.7"
"test-machinepack-mocha": "^3.0.0"
},

@@ -31,0 +31,0 @@ "machinepack": {

@@ -153,6 +153,6 @@ /**

childProc = Pack.spawnChildProcess({
command: 'blah blah, space separated args arent allowed see',
command: 'blah blah, space separated command stuff isnt allowed see',
}).execSync();
}
catch (e) {
catch (unusedErr) {
return done();

@@ -159,0 +159,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc