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.5.1 to 0.6.0

4

index.js

@@ -267,2 +267,6 @@ 'use strict';

if (result.error || result.status !== 0) {
throw (result.error || new Error(result.stderr === '' ? result.stdout : result.stderr));
}
result.stdout = handleOutput(parsed.opts, result.stdout);

@@ -269,0 +273,0 @@ result.stderr = handleOutput(parsed.opts, result.stderr);

9

package.json
{
"name": "execa",
"version": "0.5.1",
"version": "0.6.0",
"description": "A better `child_process`",

@@ -47,4 +47,4 @@ "license": "MIT",

"dependencies": {
"cross-spawn": "^4.0.0",
"get-stream": "^2.2.0",
"cross-spawn": "^5.0.1",
"get-stream": "^3.0.0",
"is-stream": "^1.1.0",

@@ -62,3 +62,3 @@ "npm-run-path": "^2.0.0",

"is-running": "^2.0.0",
"nyc": "^8.3.0",
"nyc": "^10.0.0",
"xo": "*"

@@ -72,3 +72,2 @@ },

"exclude": [
"node_modules",
"**/fixtures/**",

@@ -75,0 +74,0 @@ "**/test.js",

@@ -99,2 +99,4 @@ # execa [![Build Status: Linux](https://travis-ci.org/sindresorhus/execa.svg?branch=master)](https://travis-ci.org/sindresorhus/execa) [![Build status: Windows](https://ci.appveyor.com/api/projects/status/x5ajamxtjtt93cqv/branch/master?svg=true)](https://ci.appveyor.com/project/sindresorhus/execa/branch/master) [![Coverage Status](https://coveralls.io/repos/github/sindresorhus/execa/badge.svg?branch=master)](https://coveralls.io/github/sindresorhus/execa?branch=master)

This method throws an `Error` if the command fails.
### execa.shellSync(file, [options])

@@ -101,0 +103,0 @@

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