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

execa

Package Overview
Dependencies
Maintainers
2
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

execa - npm Package Compare versions

Comparing version 4.0.2 to 4.0.3

6

index.js

@@ -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

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