Socket
Socket
Sign inDemoInstall

concurrently

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

concurrently - npm Package Compare versions

Comparing version 4.1.2 to 5.0.0

4

package.json
{
"name": "concurrently",
"version": "4.1.2",
"version": "5.0.0",
"description": "Run commands concurrently",

@@ -33,3 +33,3 @@ "main": "index.js",

"chalk": "^2.4.2",
"date-fns": "^1.30.1",
"date-fns": "^2.0.1",
"lodash": "^4.17.15",

@@ -36,0 +36,0 @@ "read-pkg": "^4.0.1",

@@ -150,3 +150,3 @@ # Concurrently

-t, --timestamp-format Specify the timestamp in moment/date-fns format.
[string] [default: "YYYY-MM-DD HH:mm:ss.SSS"]
[string] [default: "yyyy-MM-dd HH:mm:ss.SSS"]

@@ -251,4 +251,4 @@ Input handling

- `restartDelay`: how many milliseconds to wait between process restarts. Default: `0`.
- `timestampFormat`: a [date-fns/moment format](https://date-fns.org/v1.29.0/docs/format)
to use when prefixing with `time`. Default: `YYYY-MM-DD HH:mm:ss.ZZZ`
- `timestampFormat`: a [date-fns format](https://date-fns.org/v2.0.1/docs/format)
to use when prefixing with `time`. Default: `yyyy-MM-dd HH:mm:ss.ZZZ`

@@ -255,0 +255,0 @@ > Returns: a `Promise` that resolves if the run was successful (according to `successCondition` option),

@@ -25,4 +25,4 @@ /**

success: 'all',
// Refer to https://date-fns.org/v1.29.0/docs/format
timestampFormat: 'YYYY-MM-DD HH:mm:ss.SSS'
// Refer to https://date-fns.org/v2.0.1/docs/format
timestampFormat: 'yyyy-MM-dd HH:mm:ss.SSS'
};

@@ -11,3 +11,3 @@ const { map } = require('rxjs/operators');

let caughtSignal;
['SIGINT', 'SIGTERM'].forEach(signal => {
['SIGINT', 'SIGTERM', 'SIGHUP'].forEach(signal => {
this.process.on(signal, () => {

@@ -14,0 +14,0 @@ caughtSignal = signal;

@@ -71,1 +71,10 @@ const EventEmitter = require('events');

});
it('kills all commands on SIGHUP', () => {
controller.handle(commands);
process.emit('SIGHUP');
expect(process.listenerCount('SIGHUP')).toBe(1);
expect(commands[0].kill).toHaveBeenCalledWith('SIGHUP');
expect(commands[1].kill).toHaveBeenCalledWith('SIGHUP');
});

@@ -114,3 +114,3 @@ const { Writable } = require('stream');

it('logs with prefixFormat set to time (with timestampFormat)', () => {
const logger = createLogger({ prefixFormat: 'time', timestampFormat: 'YYYY' });
const logger = createLogger({ prefixFormat: 'time', timestampFormat: 'yyyy' });
logger.logCommandText('foo', {});

@@ -117,0 +117,0 @@

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