Skip to content

Commit

Permalink
Update to readable-stream ^4.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Micah Rairdon committed Aug 9, 2022
1 parent 084ba65 commit 23b5fde
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion index.js
@@ -1,5 +1,5 @@
var fs = require('fs');
var Writable = require('readable-stream/writable');
var { Writable } = require('readable-stream');

var exists = function(path) {
try {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -4,13 +4,13 @@
"version": "1.4.1",
"repository": "mafintosh/stdout-stream",
"devDependencies": {
"tape": "~2.12.3"
"tape": "~5.5.3"
},
"scripts": {
"test": "tape test/index.js"
},
"dependencies": {
"readable-stream": "^2.0.1"
"readable-stream": "^4.1.0"
},
"license": "MIT"
}
2 changes: 1 addition & 1 deletion test/index.js
Expand Up @@ -20,7 +20,7 @@ tape('end stdout', function(t) {
buf.push(data);
});
ch.stdout.on('end', function() {
t.same(Buffer.concat(buf).toString(), 'stdout');
t.same(buf.join(), 'stdout');
t.ok(!processOnExit);
stdoutOnEnd = true;
});
Expand Down

0 comments on commit 23b5fde

Please sign in to comment.