Skip to content

Commit

Permalink
update deps, swap concat-stream for terminus due to breaking changes
Browse files Browse the repository at this point in the history
  • Loading branch information
brycebaril committed Jan 31, 2014
1 parent 6f7d57e commit f1a824f
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 14 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,2 +1,3 @@
node_modules
.tern-port
.DS_Store
10 changes: 5 additions & 5 deletions package.json
Expand Up @@ -26,12 +26,12 @@
"url": "https://github.com/brycebaril/through2-spy/issues"
},
"devDependencies": {
"tape": "~1.0.4",
"tap": "~0.4.3",
"stream-spigot": "~2.0.0",
"concat-stream": "~1.0.0"
"tape": "~2.4.0",
"tap": "~0.4.8",
"stream-spigot": "~3.0.3",
"terminus": "~1.0.9"
},
"dependencies": {
"through2": "~0.2.2"
"through2": "~0.4.1"
}
}
18 changes: 9 additions & 9 deletions test/index.js
Expand Up @@ -2,7 +2,7 @@ var test = require("tape").test

var spy = require("../")
var spigot = require("stream-spigot")
var concat = require("concat-stream")
var concat = require("terminus").concat

test("ctor", function (t) {
t.plan(2)
Expand All @@ -28,9 +28,9 @@ test("ctor", function (t) {
t.deepEquals(copy, records, "Content unchanged")
}

spigot(input, {objectMode: true})
spigot({objectMode: true}, input)
.pipe(new Spy({objectMode: true}))
.pipe(concat(combine))
.pipe(concat({objectMode: true}, combine))
})

test("ctor options", function (t) {
Expand All @@ -57,9 +57,9 @@ test("ctor options", function (t) {
t.deepEquals(copy, records, "Content unchanged")
}

spigot(input, {objectMode: true})
spigot({objectMode: true}, input)
.pipe(new Spy())
.pipe(concat(combine))
.pipe(concat({objectMode: true}, combine))
})

test("ctor buffer wantStrings index", function (t) {
Expand Down Expand Up @@ -110,9 +110,9 @@ test("simple", function (t) {
t.deepEquals(copy, records, "Content unchanged")
}

spigot(input, {objectMode: true})
spigot({objectMode: true}, input)
.pipe(s)
.pipe(concat(combine))
.pipe(concat({objectMode: true}, combine))
})

test("return non-error", function (t) {
Expand Down Expand Up @@ -140,9 +140,9 @@ test("return non-error", function (t) {
t.deepEquals(copy, records, "Content unchanged")
}

spigot(input, {objectMode: true})
spigot({objectMode: true}, input)
.pipe(s)
.pipe(concat(combine))
.pipe(concat({objectMode: true}, combine))
})

test("abort", function (t) {
Expand Down

0 comments on commit f1a824f

Please sign in to comment.