bare-process
Advanced tools
+12
-4
@@ -1,2 +0,1 @@ | ||
| /* global Bare */ | ||
| const EventEmitter = require('bare-events') | ||
@@ -46,5 +45,8 @@ const Pipe = require('bare-pipe') | ||
| if (stdin === null) { | ||
| stdin = tty.isTTY(0) ? new tty.ReadStream(0) : new Pipe(0) | ||
| stdin = tty.isTTY(0) | ||
| ? new tty.ReadStream(0) | ||
| : new Pipe(0, { eagerOpen: false }) | ||
| stdin.fd = 0 | ||
| } | ||
| return stdin | ||
@@ -55,5 +57,8 @@ } | ||
| if (stdout === null) { | ||
| stdout = tty.isTTY(1) ? new tty.WriteStream(1) : new Pipe(1) | ||
| stdout = tty.isTTY(1) | ||
| ? new tty.WriteStream(1) | ||
| : new Pipe(1, { eagerOpen: false }) | ||
| stdout.fd = 1 | ||
| } | ||
| return stdout | ||
@@ -64,5 +69,8 @@ } | ||
| if (stderr === null) { | ||
| stderr = tty.isTTY(2) ? new tty.WriteStream(2) : new Pipe(2) | ||
| stderr = tty.isTTY(2) | ||
| ? new tty.WriteStream(2) | ||
| : new Pipe(2, { eagerOpen: false }) | ||
| stderr.fd = 2 | ||
| } | ||
| return stderr | ||
@@ -69,0 +77,0 @@ } |
+1
-1
| { | ||
| "name": "bare-process", | ||
| "version": "4.2.0", | ||
| "version": "4.2.1", | ||
| "description": "Node.js-compatible process control for Bare", | ||
@@ -5,0 +5,0 @@ "exports": { |
AI-detected possible typosquat
Supply chain riskAI has identified this package as a potential typosquat of a more popular package. This suggests that the package may be intentionally mimicking another package's name, description, or other metadata.
17704
0.56%225
2.27%1
Infinity%