Socket
Socket
Sign inDemoInstall

execa

Package Overview
Dependencies
15
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.7.0 to 0.8.0

15

index.js

@@ -19,7 +19,12 @@ 'use strict';

if (opts && opts.env && opts.extendEnv !== false) {
opts = Object.assign({
extendEnv: true,
env: {}
}, opts);
if (opts.extendEnv) {
opts.env = Object.assign({}, process.env, opts.env);
}
if (opts && opts.__winShell === true) {
if (opts.__winShell === true) {
delete opts.__winShell;

@@ -199,3 +204,3 @@ parsed = {

const promise = pFinally(Promise.all([
const handlePromise = () => pFinally(Promise.all([
processDone,

@@ -272,4 +277,4 @@ getStream(spawned, 'stdout', encoding, maxBuffer),

spawned.then = promise.then.bind(promise);
spawned.catch = promise.catch.bind(promise);
spawned.then = (onfulfilled, onrejected) => handlePromise().then(onfulfilled, onrejected);
spawned.catch = onrejected => handlePromise().catch(onrejected);

@@ -276,0 +281,0 @@ return spawned;

{
"name": "execa",
"version": "0.7.0",
"version": "0.8.0",
"description": "A better `child_process`",

@@ -5,0 +5,0 @@ "license": "MIT",

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