Skip to content

Commit

Permalink
Breaking: Use is-stream to test for stream (closes #111)
Browse files Browse the repository at this point in the history
  • Loading branch information
phated committed Sep 27, 2016
1 parent 3411e59 commit b259612
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 46 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var cloneStats = require('clone-stats');
var cloneBuffer = require('./lib/cloneBuffer');
var removeTrailingSep = require('remove-trailing-separator');
var isBuffer = require('./lib/isBuffer');
var isStream = require('./lib/isStream');
var isStream = require('is-stream');
var isNull = require('./lib/isNull');
var inspectStream = require('./lib/inspectStream');
var normalize = require('./lib/normalize');
Expand Down
2 changes: 1 addition & 1 deletion lib/inspectStream.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var isStream = require('./isStream');
var isStream = require('is-stream');

module.exports = function(stream) {
if (!isStream(stream)) {
Expand Down
5 changes: 0 additions & 5 deletions lib/isStream.js

This file was deleted.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"clone": "^1.0.0",
"clone-stats": "^1.0.0",
"cloneable-readable": "^0.5.0",
"readable-stream": "^2.1.0",
"remove-trailing-separator": "^1.0.1",
"is-stream": "^1.1.0",
"replace-ext": "^1.0.0"
},
"devDependencies": {
Expand All @@ -28,7 +28,8 @@
"jscs": "^2.3.5",
"jscs-preset-gulp": "^1.0.0",
"mississippi": "^1.2.0",
"mocha": "^2.4.5"
"mocha": "^2.4.5",
"readable-stream": "^2.1.0"
},
"scripts": {
"lint": "eslint . && jscs index.js lib/ test/",
Expand Down
37 changes: 0 additions & 37 deletions test/is-stream.js

This file was deleted.

0 comments on commit b259612

Please sign in to comment.