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.1.5 to 1.1.6

9

lib/parse.js
// Generated by CoffeeScript 1.10.0
var argsObject, argsString, isString, isWin, path, ref, shellQuote, shellRequired;
var argsObject, argsString, fs, isString, isWin, path, ref, shellQuote, shellRequired;
fs = require('fs');
path = require('path');

@@ -49,3 +51,3 @@

module.exports = function(args, opts) {
var cmd, env, ref1, ref2, ref3;
var cmd, cmd_, env, ref1, ref2, ref3;
if (opts == null) {

@@ -63,2 +65,5 @@ opts = {};

cmd = path.normalize(cmd);
if (fs.existsSync(cmd_ = cmd + '.cmd')) {
cmd = cmd_;
}
args = ['/s', '/c', "\"" + cmd + "\""].concat(args);

@@ -65,0 +70,0 @@ cmd = 'cmd';

{
"name": "executive",
"version": "1.1.5",
"version": "1.1.6",
"description": "Elegant command execution.",

@@ -5,0 +5,0 @@ "main": "lib/",

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