File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -840,7 +840,7 @@ function setOptions(command, query) {
840
840
Object . keys ( options ) . some ( function someOptions ( key ) {
841
841
var valid = options [ key ] . valid ;
842
842
843
- if ( query . hasOwnProperty ( key ) ) {
843
+ if ( key in query ) {
844
844
if ( options [ key ] . bool ) {
845
845
opts [ options [ key ] . name ] = ! reBool . test ( query [ key ] ) ;
846
846
} else if ( ! valid || ( valid && valid . test ( query [ key ] ) ) ) {
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " webpagetest" ,
3
- "version" : " 0.3.4 " ,
3
+ "version" : " 0.3.5 " ,
4
4
"description" : " WebPageTest API wrapper for NodeJS" ,
5
5
"author" : " Marcel Duran <github@marcelduran.com> (http://github.com/marcelduran)" ,
6
6
"homepage" : " http://github.com/marcelduran/webpagetest-api" ,
28
28
"node" : " >=0.10.1"
29
29
},
30
30
"dependencies" : {
31
- "commander" : " ^2.7.1 " ,
32
- "csv" : " ^0.4 .1" ,
31
+ "commander" : " ^2.9.0 " ,
32
+ "csv" : " ^1.1 .1" ,
33
33
"entities" : " ^1.1.1" ,
34
- "mocha" : " ^2.2.4 " ,
35
- "xml2js" : " ^0.4.6 "
34
+ "mocha" : " ^3.4.1 " ,
35
+ "xml2js" : " ^0.4.17 "
36
36
},
37
37
"devDependencies" : {
38
- "nock" : " ~1.5.0 "
38
+ "nock" : " ~9.0.13 "
39
39
}
40
40
}
You can’t perform that action at this time.
0 commit comments