File tree 2 files changed +3
-4
lines changed
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ const logSymbols = require('log-symbols');
7
7
const stripAnsi = require ( 'strip-ansi' ) ;
8
8
const wcwidth = require ( 'wcwidth' ) ;
9
9
const isInteractive = require ( 'is-interactive' ) ;
10
- const MuteStream = require ( 'mute-stream ' ) ;
10
+ const { BufferListStream } = require ( 'bl ' ) ;
11
11
12
12
const TEXT = Symbol ( 'text' ) ;
13
13
const PREFIX_TEXT = Symbol ( 'prefixText' ) ;
@@ -18,9 +18,8 @@ class StdinDiscarder {
18
18
constructor ( ) {
19
19
this . requests = 0 ;
20
20
21
- this . mutedStream = new MuteStream ( ) ;
21
+ this . mutedStream = new BufferListStream ( ) ;
22
22
this . mutedStream . pipe ( process . stdout ) ;
23
- this . mutedStream . mute ( ) ;
24
23
25
24
const self = this ;
26
25
this . ourEmit = function ( event , data , ...args ) {
Original file line number Diff line number Diff line change 37
37
" idle"
38
38
],
39
39
"dependencies" : {
40
+ "bl" : " ^4.0.3" ,
40
41
"chalk" : " ^4.1.0" ,
41
42
"cli-cursor" : " ^3.1.0" ,
42
43
"cli-spinners" : " ^2.4.0" ,
43
44
"is-interactive" : " ^1.0.0" ,
44
45
"log-symbols" : " ^4.0.0" ,
45
- "mute-stream" : " 0.0.8" ,
46
46
"strip-ansi" : " ^6.0.0" ,
47
47
"wcwidth" : " ^1.0.1"
48
48
},
You can’t perform that action at this time.
0 commit comments