Socket
Socket
Sign inDemoInstall

concurrently

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

concurrently - npm Package Compare versions

Comparing version 2.1.0 to 2.2.0

2

package.json
{
"name": "concurrently",
"version": "2.1.0",
"version": "2.2.0",
"description": "Run commands concurrently",

@@ -5,0 +5,0 @@ "main": "src/main.js",

@@ -5,3 +5,3 @@ # Concurrently

**Version: 2.1.0** ([*previous stable*](https://github.com/kimmobrunfeldt/concurrently/tree/2.0.0))
**Version: 2.2.0** ([*previous stable*](https://github.com/kimmobrunfeldt/concurrently/tree/2.1.0))

@@ -49,4 +49,5 @@ Run multiple commands concurrently.

--no-color disable colors from logging
--names names different processes, i.e --name "web,api,hot-server" to be used in the prefix switch
-p, --prefix <prefix> prefix used in logging for each process.
Possible values: index, pid, time, command, none or a template. Default: index. Example template "{time}-{pid}"
Possible values: index, pid, time, command, name, none or a template. Default: index. Example template "{time}-{pid}"

@@ -53,0 +54,0 @@ -tf, --timestamp-format <format> specify the timestamp in moment format. Default: YYYY-MM-DD HH:mm:ss.SSS

@@ -11,2 +11,3 @@ #!/usr/bin/env node

var spawn = Promise.promisifyAll(require('cross-spawn'));
var isWindows = /^win/.test(process.platform);

@@ -213,2 +214,5 @@ var config = {

var spawnOpts = config.raw ? {stdio: 'inherit'} : {};
if (isWindows) {
spawnOpts.detached = false;
}
var child;

@@ -311,3 +315,7 @@ try {

_.each(aliveChildren, function(child) {
child.kill();
if (isWindows) {
spawn('taskkill', ["/pid", child.pid, '/f', '/t']);
} else {
child.kill('SIGINT');
}
});

@@ -314,0 +322,0 @@ });

@@ -44,3 +44,3 @@ // Test basic usage of cli

it('at least one unsuccessful commands should exit non-zero', function(done) {
run('node ./src/main.js "echo" "exit 1" "echo"', {pipe: DEBUG_TESTS})
run('node ./src/main.js "echo" "return 1" "echo"', {pipe: DEBUG_TESTS})
.then(function(exitCode) {

@@ -47,0 +47,0 @@ assert.notStrictEqual(exitCode, 0);

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