Skip to content

Commit c0a3340

Browse files
committed
upgrade stream-connect
1 parent b707545 commit c0a3340

3 files changed

Lines changed: 3 additions & 5 deletions

File tree

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
language: node_js
22
node_js:
3-
- 'node'
3+
- '5'
44
- '4'
55
- '0.12'
66
- '0.10'

lib/jsdoc-parse.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,11 @@ function jsdocParse (options) {
5050
const explainStream = jsdoc
5151
.createExplainStream(jsdocOptions)
5252

53-
const transformedStream = transform()
54-
5553
const outputStream = collectJson(function (data) {
5654
return applyOptions(data, options)
5755
})
5856

59-
return connect(explainStream, connect(transformedStream, outputStream))
57+
return connect(explainStream, transform(), outputStream)
6058
}
6159

6260
/**

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"file-set": "~0.2.1",
3535
"jsdoc-api": "^1.0.0",
3636
"object-tools": "^2",
37-
"stream-connect": "^0.2.2",
37+
"stream-connect": "^1.0.1",
3838
"test-value": "^1.0.1"
3939
},
4040
"devDependencies": {

0 commit comments

Comments
 (0)