Skip to content

Commit

Permalink
swap out stream core lib for readable-stream mirror for stable stream…
Browse files Browse the repository at this point in the history
…s api across node versions
  • Loading branch information
jaawerth committed Mar 16, 2018
1 parent bf8837a commit 5d08f4e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,8 @@
"transduce": "^0.8.0",
"transducers-js": "^0.4.158",
"transducers.js": "^0.3.1"
},
"dependencies": {
"readable-stream": "^2.3.5"
}
}
4 changes: 2 additions & 2 deletions test/test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use strict"
var stream = require('../'),
Readable = require('stream').Readable,
Writable = require('stream').Writable,
Readable = require('readable-stream').Readable,
Writable = require('readable-stream').Writable,
string = require('transduce/string'),
tap = require('transduce/transducers/tap'),
transduce = require('any-transduce'),
Expand Down
2 changes: 1 addition & 1 deletion transduce-stream.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use strict"
var util = require('util'),
Transform = require('stream').Transform
Transform = require('readable-stream').Transform

module.exports = TransduceStream

Expand Down

0 comments on commit 5d08f4e

Please sign in to comment.