Comparing version 1.5.13 to 1.6.1
@@ -1,11 +0,12 @@ | ||
export interface executive { | ||
(command: string | any[], options?: any, callback?: any): Promise<any> | ||
interactive: executive | ||
parallel: executive | ||
quiet: executive | ||
serial: executive | ||
strict: executive | ||
sync: (command: string | any[], options?: any, callback?: any) => any | ||
declare function exec(command: string | any[], options?: any, callback?: any): Promise<any> | ||
declare namespace exec { | ||
export function interactive(command: string | any[], options?: any, callback?: any): Promise<any> | ||
export function parallel(command: string | any[], options?: any, callback?: any): Promise<any> | ||
export function quiet(command: string | any[], options?: any, callback?: any): Promise<any> | ||
export function serial(command: string | any[], options?: any, callback?: any): Promise<any> | ||
export function strict(command: string | any[], options?: any, callback?: any): Promise<any> | ||
export function sync(command: string | any[], options?: any, callback?: any): any | ||
} | ||
export default executive | ||
export = exec |
{ | ||
"name": "executive", | ||
"version": "1.5.13", | ||
"version": "1.6.1", | ||
"description": "Elegant command execution with built-in control flow", | ||
"main": "lib/executive.js", | ||
"module": "lib/executive.mjs", | ||
"main": "lib/executive.cjs.js", | ||
"module": "lib/executive.es6.js", | ||
"jsnext:main": "lib/executive.es6.js", | ||
"types": "executive.d.ts", | ||
@@ -43,10 +44,13 @@ "files": [ | ||
"license": "MIT", | ||
"engines": { | ||
"node": ">=0.6" | ||
}, | ||
"devDependencies": { | ||
"coffeescript": "^2.2.3", | ||
"coffeescript": "^2.3.1", | ||
"es-is": "^3.3.10", | ||
"sake-bundle": "^0.6.4", | ||
"sake-cli": "^0.5.24", | ||
"sake-outdated": "^0.2.1", | ||
"sake-publish": "^0.1.16", | ||
"sake-test": "^0.1.5", | ||
"sake-bundle": "^0.6.14", | ||
"sake-cli": "^0.7.2", | ||
"sake-outdated": "^0.3.1", | ||
"sake-publish": "^0.1.17", | ||
"sake-test": "^0.2.1", | ||
"sake-version": "^0.1.19", | ||
@@ -53,0 +57,0 @@ "shell-quote": "^1.6.1", |
@@ -12,6 +12,6 @@ # executive | ||
Executive is a simple library which provides a more intuitive interface to | ||
[`child_process.spawn`][child_process]. Very useful with build tools and task | ||
runners. Async and sync command execution with built-in control flow for | ||
executing multiple commands and collecting results. | ||
Executive is simple and intuitive interface to | ||
[`child_process.spawn`][child_process] with zero depdencies. Built-in support | ||
for async and sync process creation, built-in flow control and automatic shell | ||
make working with external processes in Node easy. | ||
@@ -26,2 +26,4 @@ ## Features | ||
- Streams `stderr` and `stdout` rather than blocking on command completion | ||
- Included TypeScript type definition | ||
- Improved Windows support | ||
- No external dependencies | ||
@@ -31,3 +33,3 @@ | ||
```bash | ||
$ npm install executive | ||
$ npm install executive --save-dev | ||
``` | ||
@@ -34,0 +36,0 @@ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Potential vulnerability
Supply chain riskInitial human review suggests the presence of a vulnerability in this package. It is pending further analysis and confirmation.
Found 1 instance in 1 package
246095
213
4