🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

bare-process

Package Overview
Dependencies
Maintainers
2
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bare-process - npm Package Compare versions

Comparing version
4.2.0
to
4.2.1
+12
-4
index.js

@@ -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 @@ }

{
"name": "bare-process",
"version": "4.2.0",
"version": "4.2.1",
"description": "Node.js-compatible process control for Bare",

@@ -5,0 +5,0 @@ "exports": {