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

executive

Package Overview
Dependencies
Maintainers
1
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

executive - npm Package Compare versions

Comparing version 1.5.1 to 1.5.2

30

lib/executive.js

@@ -1340,4 +1340,4 @@ 'use strict';

var parse$$1;
var parseEnv;
var parseObject;
var parseShell;
var parseString;

@@ -1368,22 +1368,22 @@ var shellRequired;

parseEnv = function(s) {
var args, cmd, env, k, ref, v;
env = {};
args = s.split(' ');
while (cmd = args.shift()) {
if ((cmd.indexOf('=')) === -1) {
break;
}
parseShell = function(s, env) {
var args, cmd, foundEnv, k, ref, v;
args = index.parse(s, env);
cmd = args.shift();
while (~cmd.indexOf('=')) {
foundEnv = true;
ref = cmd.split('=', 2), k = ref[0], v = ref[1];
env[k] = v;
cmd = args.shift();
}
return env;
if (foundEnv) {
return parseShell(s, env);
}
return [cmd, args, env];
};
parseString = function(s, opts) {
var args, cmd, env;
env = Object.assign({}, process.env, opts.env, parseEnv(s));
args = index.parse(s, env);
cmd = args.shift();
return [cmd, args, env];
var args, cmd, env, ref;
env = Object.assign({}, process.env, opts.env);
return ref = parseShell(s, env), cmd = ref[0], args = ref[1], env = ref[2], ref;
};

@@ -1390,0 +1390,0 @@

{
"name": "executive",
"version": "1.5.1",
"version": "1.5.2",
"description": "Elegant command execution with built-in control flow",

@@ -5,0 +5,0 @@ "main": "lib/executive.js",

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc