Skip to content

Commit

Permalink
perf: remove readable-stream dependency (#18)
Browse files Browse the repository at this point in the history
All supported node versions now have a sufficinetly up to date stream lib anyway.

BREAKING CHANGE: versions of node that don't have stream.Transform are no longer supported
  • Loading branch information
ForbesLindesay authored Jan 23, 2019
1 parent 4fa9801 commit d954fa9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'

var Transform = require('stream').Transform || require('readable-stream').Transform
var Transform = require('stream').Transform
var crypto = require('crypto')
var fs = require('graceful-fs')

Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
},
"license": "(BSD-2-Clause OR MIT)",
"dependencies": {
"graceful-fs": "^4.1.2",
"readable-stream": "^2.0.2"
"graceful-fs": "^4.1.2"
},
"devDependencies": {
"mocha": "~1.9.0"
Expand Down

0 comments on commit d954fa9

Please sign in to comment.