File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 1
1
var Splicer = require ( 'stream-splicer' ) ;
2
2
var inherits = require ( 'inherits' ) ;
3
- var isarray = require ( 'isarray' ) ;
4
3
5
4
module . exports = Labeled ;
6
5
inherits ( Labeled , Splicer ) ;
@@ -19,7 +18,7 @@ function Labeled (streams, opts) {
19
18
for ( var i = 0 ; i < streams . length ; i ++ ) {
20
19
var s = streams [ i ] ;
21
20
if ( typeof s === 'string' ) continue ;
22
- if ( isarray ( s ) ) {
21
+ if ( Array . isArray ( s ) ) {
23
22
s = new Labeled ( s , opts ) ;
24
23
}
25
24
if ( i >= 0 && typeof streams [ i - 1 ] === 'string' ) {
Original file line number Diff line number Diff line change 5
5
"main" : " index.js" ,
6
6
"dependencies" : {
7
7
"inherits" : " ^2.0.1" ,
8
- "isarray" : " ^2.0.4" ,
9
8
"stream-splicer" : " ^2.0.0"
10
9
},
11
10
"devDependencies" : {
12
- "browser-pack" : " ^6.0.4 " ,
11
+ "browser-pack" : " ^6.1.0 " ,
13
12
"concat-stream" : " ^1.4.6" ,
14
- "module-deps" : " ^6.0 .0" ,
15
- "tape" : " ^2.12 .1" ,
13
+ "module-deps" : " ^6.2 .0" ,
14
+ "tape" : " ^4.10 .1" ,
16
15
"through2" : " ^1.0.0"
17
16
},
18
17
"scripts" : {
You can’t perform that action at this time.
0 commit comments