Comparing version 4.0.2 to 4.0.3
@@ -27,3 +27,3 @@ 'use strict'; | ||
const handleArgs = (file, args, options = {}) => { | ||
const handleArguments = (file, args, options = {}) => { | ||
const parsed = crossSpawn._parse(file, args, options); | ||
@@ -76,3 +76,3 @@ file = parsed.command; | ||
const execa = (file, args, options) => { | ||
const parsed = handleArgs(file, args, options); | ||
const parsed = handleArguments(file, args, options); | ||
const command = joinCommand(file, args); | ||
@@ -164,3 +164,3 @@ | ||
module.exports.sync = (file, args, options) => { | ||
const parsed = handleArgs(file, args, options); | ||
const parsed = handleArguments(file, args, options); | ||
const command = joinCommand(file, args); | ||
@@ -167,0 +167,0 @@ |
@@ -47,3 +47,3 @@ 'use strict'; | ||
if (!Number.isInteger(forceKillAfterTimeout) || forceKillAfterTimeout < 0) { | ||
if (!Number.isFinite(forceKillAfterTimeout) || forceKillAfterTimeout < 0) { | ||
throw new TypeError(`Expected the \`forceKillAfterTimeout\` option to be a non-negative integer, got \`${forceKillAfterTimeout}\` (${typeof forceKillAfterTimeout})`); | ||
@@ -75,3 +75,3 @@ } | ||
if (!Number.isInteger(timeout) || timeout < 0) { | ||
if (!Number.isFinite(timeout) || timeout < 0) { | ||
throw new TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${timeout}\` (${typeof timeout})`); | ||
@@ -78,0 +78,0 @@ } |
{ | ||
"name": "execa", | ||
"version": "4.0.2", | ||
"version": "4.0.3", | ||
"description": "Process execution for humans", | ||
@@ -11,3 +11,3 @@ "license": "MIT", | ||
"email": "sindresorhus@gmail.com", | ||
"url": "sindresorhus.com" | ||
"url": "https://sindresorhus.com" | ||
}, | ||
@@ -14,0 +14,0 @@ "engines": { |
<img src="media/logo.svg" width="400"> | ||
<br> | ||
[![Build Status](https://travis-ci.org/sindresorhus/execa.svg?branch=master)](https://travis-ci.org/sindresorhus/execa) [![Coverage Status](https://coveralls.io/repos/github/sindresorhus/execa/badge.svg?branch=master)](https://coveralls.io/github/sindresorhus/execa?branch=master) | ||
[![Build Status](https://travis-ci.com/sindresorhus/execa.svg?branch=master)](https://travis-ci.com/github/sindresorhus/execa) [![Coverage Status](https://coveralls.io/repos/github/sindresorhus/execa/badge.svg?branch=master)](https://coveralls.io/github/sindresorhus/execa?branch=master) | ||
@@ -6,0 +6,0 @@ > Process execution for humans |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
55590