concurrently 9.0.0 → 9.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -78,7 +78,10 @@ class CompletionListener {
78
78
  // The abort signal must happen before commands are killed, otherwise new commands
79
79
  // might spawn. Because of this, it's not be possible to capture the close events
80
80
  // without an immediate delay
81
- (0, operators_1.delay)(0, this.scheduler), (0, operators_1.map)(() => undefined));
81
+ (0, operators_1.delay)(0, this.scheduler), (0, operators_1.map)(() => undefined),
82
+ // #502 - node might warn of too many active listeners on this object if it isn't shared,
83
+ // as each command subscribes to abort event over and over
84
+ (0, operators_1.share)());
82
85
  const closeStreams = commands.map((command) => abort
83
86
  ? // Commands that have been started must close.
84
87
  Rx.race(command.close, abort.pipe((0, operators_1.filter)(() => command.state === 'stopped')))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "concurrently",
3
- "version": "9.0.0",
3
+ "version": "9.0.1",
4
4
  "description": "Run commands concurrently",
5
5
  "packageManager": "pnpm@8.15.9+sha256.daa27a0b541bc635323ff96c2ded995467ff9fe6d69ff67021558aa9ad9dcc36",
6
6
  "main": "index.js",